That did the trick perfectly. I thought you always had to specify the puppet
server in the puppet URL, I didn't realize you could leave that off and have
it autodetected.

Thank you!

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



On Tue, May 17, 2011 at 4:35 AM, Felix Frank <
felix.fr...@alumni.tu-berlin.de> wrote:

> On 05/17/2011 03:46 AM, Nathan Clemons wrote:
> > 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!
>
> Hmm, I don't think you're talking about the filebucket at all, but the
> fileserver instead.
>
> I believe you could just use puppet:///path/to/file URLs and have the
> puppet agent use whatever puppet master generated the catalog.
>
> But then, I didn't really understand your situation nor problem, sorry.
>
> Regards,
> Felix
>
> --
> 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.
>
>

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