Hello Guys,
I'm beginning use puppet (v.3.0.1) in OS Linux (Centos) , I have simple 
question with my configuration . I actually i have puppet-master and 
puppet-node in the master have declared the class but these no are applied 
in my node (I'm not sure for this point is the correct form for do this)

For example:

*Folder in Master server*

[root@master users]# ls /etc/puppet/modules/users/
manifests/init.pp     run/init.pp

*Content master init.pp*

[root@master manifests]# cat init.pp 

class users {
 user { 'pam':
ensure => present,
}

}

*Content run init.pp*
*
*
[root@master users]# cat run/init.pp 

include users


*Check class from master is ok*

[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


*Really i'm not sure that this is a correct command for this action.

Best regards.



-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/dK1o00GKG3sJ.
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.

Reply via email to