I'm guessing you can't use the content attribute when pushing out all
files in a directory...
file {
"/etc/nagios/conf.d":
content => template("nagios/etc/nagios/conf.d"),
#source => "puppet:///nagios/etc/nagios/conf.d",
recurse => true,
purge => true,
force => true,
ignore => ".svn";
}
This returns the error:
Could not retrieve catalog from remote server: Error 400 on SERVER: Is
a directory - /etc/puppet/modules/nagios/templates/etc/nagios/conf.d
at /etc/puppet/modules/nagios/manifests/server/config.pp:11 on node
rmon01.xxx.xxx.com.
That's really frustrating. I wanted to easily manage all the nagios
config files, and it looks like I can't now. If I uncomment the source
line, and push our files, it works.
Doug.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.