why don't you use puppet environments?

Ohad

On Tue, Jul 7, 2009 at 7:46 AM, Pete Emerson <[email protected]> wrote:

> In order to facilitate puppet manifest upgrades, I need to manage puppet
> recipes on a per-server basis.
>
> My puppet classifier spits out a variable called $puppet_iteration.
>
> I tried putting this variable in my site.pp:
>
> import
> "/var/lib/puppet/files/static/applications/puppet/$puppet_iteration/system"
>
> but it looks like the variable does not get interpreted in the import
> statement:
>
> err: Could not retrieve catalog: Could not parse for environment mgmt: No
> file(s) found for import of
> '/var/lib/puppet/files/static/applications/puppet/$puppet_iteration/system'
> at /etc/puppet/manifests/site.pp:33
>
> Can I get some suggestions for how to load specific manifests based on a
> path partially determined by my puppet classifier?
>
> Thanks in advance,
> Pete
>
> >
>

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