Actions
Bug #330
closedImport hosts_and_facts rakejob resets environments to "production"
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
Updated by Jakub Heichman about 14 years ago
I'm seeing the same thing - this prevents me from managing environments from foreman
Updated by Ohad Levy about 14 years ago
- Category set to Puppet integration
- Assignee set to Ohad Levy
- Target version set to 0.1-6
does this happens as well when using the push_facts script instead?
Updated by Ohad Levy about 14 years ago
- Status changed from New to Ready For Testing
- % Done changed from 0 to 100
Applied in changeset 4dd00cbc2ff9493af7b5290650e64f7c8258dff1.
Updated by Ohad Levy about 14 years ago
- Status changed from Ready For Testing to Closed
Actions