Project

General

Profile

Actions

Bug #330

closed

Import hosts_and_facts rakejob resets environments to "production"

Added by Josh Baird over 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Puppet integration
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When I run the following rakejob:

rake puppet:import:hosts_and_facts RAILS_ENV=production

It re-imports all of my hosts and resets their environments to "production," even though they have a custom environment defined in the fact file:

root@fc-pupm01:/var/lib/puppet/yaml/facts$ grep fcprod *
cobtest.corp.follett.com.yaml: environment: fcprod
fc-cobbler01.corp.follett.com.yaml: environment: fcprod
...

Example fact file is attached.


Files

cobtest.corp.follett.com.yaml cobtest.corp.follett.com.yaml 2.73 KB Josh Baird, 06/24/2010 04:56 PM
Actions

Also available in: Atom PDF