Hi Jakov, /etc/puppet/modules/users/run/manifests/init.pp is not going to get applied.
A couple things. * Somewhere in your manifests you need to have a 'node' definition. Compilation starts with your manifest, which is /etc/puppet/manifests/site.pp . You can either put node definitions in that file, or import other files. * All module manifest code should be in the module's manifests directory: '<modulepath>/<mymodule>/manifests'. The 'run' subdirectory you have in your users module cannot be reached unless you 'import' it manually, which is not a recommended best practice. Hope that helps, Chad On Sun, Dec 2, 2012 at 6:02 PM, Jakov Sosic <jso...@srce.hr> wrote: > On 12/01/2012 06:41 PM, Kazor wrote: > >> [root@master users]# puppet apply --noop run/init.pp >> /Stage[main]/Users/User[pam]/ensure: current_value absent, should be >> present (noop) >> Class[Users]: Would have triggered 'refresh' from 1 events >> Stage[main]: Would have triggered 'refresh' from 1 events >> Finished catalog run in 0.03 seconds >> _I check class from agent but is not created*_ >> _ >> >> _ >> [root@nodo1 ~]# puppet agent --server=master.example.com --no-daemonize >> --verbose --onetime >> Info: Retrieving plugin >> Info: Caching catalog for nodo1.example.com >> Info: Applying configuration version '1353235323' >> Finished catalog run in 0.02 seconds > > > It seems as if your class "users" is not included in your node definition, > or the resource is already applied. > > > > > -- > Jakov Sosic > www.srce.unizg.hr > > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > -- Chad M. Huneycutt -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.