OK, thanks. Based on the doc, it looks like if I have a host that acts as a master and agent and the [master] and [agent] sections contain different values for environment, then there is no way to get "puppet config print environment" to print the value from the [agent] section.
On Monday, September 23, 2013 4:47:45 AM UTC-5, Rahul Khengare wrote: > > Hi Brandon, > puppet config print option print the environment variable of [main] > section only it is not overridden by another config block. > Check the config block of environment variable present in puppet.conf file. > > Read following documentation of puppet on environment, > http://docs.puppetlabs.com/guides/environment.html > > Thanks and Regards, > Rahul Khengare, > NTT DATA OSS Center, Pune, India. > > > On Saturday, September 21, 2013 2:44:41 AM UTC+5:30, Brandon Metcalf wrote: >> >> Am I missing something or is this behavior broken: >> >> $ puppet -V >> 3.2.3 >> $ grep environment /etc/puppet/puppet.conf >> environment = bmetcalf >> $ puppet config print environment >> production >> >> Thanks. >> > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
