I have two puppet configurations, one for the office and one for production.
We have some directories in common (both for files and for classes) using
SVN externals. So the format is like:

puppet-common
   * files
   * classes
puppet-prod
   * files
   * files/common -> puppet-common/files
   * manifests
   * manifests/classes
   * manifests/common -> puppet-common/classes
puppet-office
   * files
   * files/common -> puppet-common/files
   * manifests
   * manifests/classes
   * manifests/common -> puppet-common/classes

However, I'm now running into a situation where I want to have a file
installed in the home directory of a user created in one of the common
classes. I can define the source to match the puppet URL of one of the
servers, but I'd rather dynamically generate that so it works on both
environments. How can I reference the puppetmaster dynamically from inside
the manifests?

Thanks!

--
Nathan Clemons
http://www.livemocha.com
The worlds largest online language learning community

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

Reply via email to