Issue #17692 has been reported by Kamil Swiatkowski. ---------------------------------------- Bug #17692: Puppet doesn't report environment as fact https://projects.puppetlabs.com/issues/17692
Author: Kamil Swiatkowski Status: Unreviewed Priority: Normal Assignee: Category: agent Target version: Affected Puppet version: 3.0.1 Keywords: Branch: Hi, Yesterday I updated puppet server to 3.0.1 and a few clients from 2.7 to 3.0.1. I use external node classifier. The script need to know what environment was set by the agent. For 2.7 agent I could find environment in yaml disk cache located in /var/lib/puppet/yaml/facts/nodename_fqdn.yaml. For 3.0.1 client it's impossible. There is no fact named environment. It's very annoing that I can't figure out what environment is requested by client (especially when invoking puppet agent by command line and passing --environment parameter for testing purposes). Passing requested environment to ENC as a second command line parameter is probably the best solution. I know that it was already discussed e.g. http://projects.puppetlabs.com/issues/3910 but maybe it should be reconsidered? -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" 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-bugs?hl=en.
