Hi all,

I'm a puppet newbie, so please bear with me. I've installed puppetmaster on a CentOS box, and I have another CentOS box running as a test client while I get to grips.

I installed puppetmaster from the EPEL repository.

I've added some content to site.pp and nodes.pp (in /etc/puppet/manifests) and these show up on my test client and do uninteresting things like set permissions on /etc/passwd.

In my puppet.conf I added "modulepath = /etc/puppet/modules". This appears correctly when I run puppet --printconfig modulepath

I created the tree /etc/puppet/modules/ntp/manifests/ and created an init.pp with this content:

class ntp {
        package { "ntp": ensure => installed }
        service { "ntpd": ensure => stopped }
}

I "include"d my ntp class in the client's node declaration. When running puppet on the client, no errors are thrown but it is not able to import the ntp module.

Have I missed something? Can anyone point out an obvious mistake?

Many thanks,
Jonathan

----------------------------
Jonathan Gazeley
Systems Support Specialist
ResNet | Wireless & VPN Team
IT Services
University of Bristol
----------------------------

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To post to this group, send email to puppet-us...@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