On Sun, Jan 09, 2011 at 09:58:01AM +1000, Adam Nielsen wrote:
> >> Both these classes need to copy configuration files into the same 
> >> directory,
> >> but I can only get lighttpd's files copied in, Mailman's seem to be 
> >> ignored.
> >>
> >> What am I doing wrong?
> >
> > It looks to me that you're going to end up with:
> >
> > source  =>  ["puppet:///files/lighttpd/$hostname/",
> >                    "puppet:///files/mailman/lighttpd/",]
> >
> > and the first one that exists will be used. I'm not sure you want to
> > use plusignment in this case, don't you want to replace the original
> > source with the new one?
> 
> No, I want the 'source' line to be as you suggest - the contents of *both* 
> paths should be copied into the same folder, as it's a "conf.d" style 
> directory.  For example, the first path contains 10-main.conf and the second 
> path contains 20-mailman.conf.  Both these should be copied into the 
> destination path so that when lighttpd runs, it sees all these files in the 
> same folder and uses them all to read its configuration.
> 
Then I guess sourceselect => all [1] is what you want

[1] http://docs.puppetlabs.com/references/stable/type.html#sourceselect

-Stefan

-- 
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