Project

General

Profile

Actions

Bug #7277

closed

Changing environment on UI does not change puppet.conf

Added by Neeraj Harikrishnan over 9 years ago. Updated almost 7 years ago.

Status:
Rejected
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Changing a node from Development env to Prod env on the Foreman UI does not change the puppet.conf on the node and puppet classes fail

Noticed on Foreman 1.5.2

Steps :
1. Build a node in Dev
2. Change the env of the node to Prod on Foreman UI and apply classes from Prod env
3. Trigger puppet run


Related issues 1 (1 open0 closed)

Related to Foreman - Feature #21391: Client's puppet.conf environment variable should be updated if the Web Interface changes the puppet environment for the Host GroupNew10/19/2017Actions
Actions #1

Updated by Dominic Cleal over 9 years ago

  • Status changed from New to Feedback

Fail, how? File retrieval?

Puppet 3 will follow the ENC's (Foreman's) view of the environment and should ignore whatever is in puppet.conf. Puppet 2 is buggy in this area and may follow a bit of both.

Actions #2

Updated by Neeraj Harikrishnan over 9 years ago

Yes on file retrival. I am running puppet 2.7. I will upgrade puppet and check.

err: /Stage[main]/Ulimits/File[/etc/security/limits.conf]: Could not evaluate: Could not retrieve information from environment development source(s) puppet:///modules/ulimits/limits.conf at /etc/puppet/environments/production/modules/ulimits/manifests/init.pp:6

Actions #3

Updated by Anonymous almost 7 years ago

  • Status changed from Feedback to Rejected

works as designed (by puppet).

Actions #4

Updated by Marek Hulán over 6 years ago

  • Related to Feature #21391: Client's puppet.conf environment variable should be updated if the Web Interface changes the puppet environment for the Host Group added
Actions

Also available in: Atom PDF