Can I override files specified in a module on a per-client basis?

Suppose I have a module that is to be installed on a large number of
clients, and one of the files it provides is /x/y/z. One a very small
number of clients, that file needs to be slightly modified. What I want to
do in the module, ideally, is something like:

        file { "/x/y/z":
                if (file puppet:///mymodule/$fqdn/z exists:
                        source => puppet:///mymodule/$fqdn/z
                else:
                        source => puppet:///mymodule/z

Is there a way to achieve that?

Thanks,
Keith

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
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