Hi Paul,
How does your config file look like in the main section?
There is a default one if no environment is defined, e.g.
environments = production,testing,development*
manifest = /opt/puppet/production/site.pp <-- These are the
modulepath = /opt/puppet/production/modules <-- default locations*
[production]
manifest = /opt/puppet/production/site.pp
modulepath = /opt/puppet/production/modules
[testing]
manifest = /opt/puppet/testing/site.pp
modulepath = /opt/puppet/testing/modules
[development]
manifest = /opt/puppet/development/site.pp
modulepath = /opt/puppet/development/modules
On Mon, Mar 22, 2010 at 10:27 AM, Paul Lathrop <[email protected]>wrote:
> Over the weekend we noticed an interesting and unexpected behavior
> with environments. I made a change to the way our puppet.conf file is
> generated and distributed, which led to an environment which had been
> defined on a puppetmaster being no longer defined in puppet.conf.
> We'll call this the "core" environement. When clients checked in and
> asked for the "core" environment, the puppetmaster didn't know about
> it. I would have expected an error at this point. However, what
> happened instead was the puppetmaster passed out the configs for the
> "production" environment without complaint.
>
> IMHO this is a bug, but I can see how it might be by design. Any
> comments? Should I file it?
>
> --Paul
>
> --
> 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]<puppet-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
>
--
Tony
--
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.