Issue #14716 has been updated by Kelsey Hightower.

Status changed from Unreviewed to Accepted


----------------------------------------
Bug #14716: puppet agent not using specified environment 
https://projects.puppetlabs.com/issues/14716#change-64410

Author: Stefan Renema
Status: Accepted
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 
Keywords: puppet agent environment
Branch: 2.5


Hi,

using PE 2.5. I found that when I run puppetagent on commandline, life would be 
good, and would run succesfully. 
However, the automatic runs would fail. I checked the master accesslog, and it 
shows that it was using the default production environment, instead of the one 
I specified in the agent puppet.conf. That explains the errors.
As a test, I moved the environment setting in puppet.conf from [agent] to 
[main]. Now it doesn't fail anymore. Here 
(http://docs.puppetlabs.com/guides/environment.html#configuring-environments-for-agent-nodes)
 you say it wouldn't matter whether the environment is set in [agent] or 
[main]. Did I misunderstood? Do I have other options then setting environment 
in [main]?




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

Reply via email to