The Puppet file you pass to an apply is basically a full site.pp, so try adding a "node default {…}" around your resources.
See https://github.com/jhermann/devpi-puppet/blob/master/site.pp#L31 for an example.
It was a silly mistake that i was doing. I was creating the manifest in wrong dir path. My actual environment where puppet would look for manifest files is ------/etc/puppet/environment/production/manfiest.
puppet apply user-absent.pp
t would be of great help if someone could tell me how to push files on multiple clients from the puppet master server ( though i understand that puppet is a "pull" system and not a "push" ) using 'puppet apply file.pp' . I came accross an article saying that "puppet kick" does a push, but again read somewhere that it is depricated in newer versions of puppet.
--
You received this message because you are subscribed to a topic in the Google Groups "Puppet Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/puppet-users/g1sFQ9-HqzE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/541ED816.5050006%40Alumni.TU-Berlin.de.
For more options, visit https://groups.google.com/d/optout.
Felix
--
You received this message because you are subscribed to a topic in the Google Groups "Puppet Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/puppet-users/g1sFQ9-HqzE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/541EFDA5.4060909%40Alumni.TU-Berlin.de.
But the strange thing is that when i checked the Puppet webconsole, the path shown in the logs is that of the environment i.e /etc/puppet/environments/production/manifests/.
--
You received this message because you are subscribed to a topic in the Google Groups "Puppet Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/puppet-users/g1sFQ9-HqzE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/541F22BD.5000206%40Alumni.TU-Berlin.de.
Cheers,
Felix
--
You received this message because you are subscribed to a topic in the Google Groups "Puppet Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/puppet-users/g1sFQ9-HqzE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/542361B0.8020309%40Alumni.TU-Berlin.de.
Felix
--
You received this message because you are subscribed to a topic in the Google Groups "Puppet Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/puppet-users/g1sFQ9-HqzE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/54242ABB.3070809%40Alumni.TU-Berlin.de.