I'm having a case where, as with Puppet, multiple packages use the same 
file.  For example, puppet and puppetmaster both use /etc/puppet/puppet.conf

My first attempt was to have a class 'puppet::client' include a service 
'puppet' with a require => Class["puppet::config"], as well a class 
'puppet::client' include a service 'puppetmaster' with a require => 
Class["puppet::config"]

Problem:  Can't do that. Running across the same require for a class twice 
gets an error.

It's not particularly important that the server or client get executed 
first, as long as the config is executed first.  That's what the whole 
require thing is for, right?


-- 
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/-/6sb4p4AD0jIJ.
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