On 10/01/11 13:59, Felix Frank wrote:
node 'espresso.resnet.bris.ac.uk' {
include ntp
}
To get anything going, try to rename class ntp to ntp::ntp and include
it as that. You can strip down to more straight-forward naming once that
works.
Hmm, no luck using ntp::ntp instead of ntp. The problem seems to be in
importing rather than including. I tried using ntp, ntp::ntp, and the
full path /etc/puppet/modules/ntp/manifests/init.pp.
It always fails with:
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not parse for environment production: No file(s) found for import
of 'ntp' at /etc/puppet/manifests/site.pp:6
It's as if it can't figure out the module path, which I have specified
in the [main] section of my puppet.conf. I have triple-checked that
there is no typo, and that the permissions are OK.
BTW, I don't see how your 'import "nodes"' ever worked. But apparently
it does.
I don't know where I got that from - it was either in the default
configuration from the EPEL repository, or I saw it on a mailing list /
forum. It seems to work because nodes.pp is in the same dir as site.pp.
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.