External nodes always returns an environment value based on the system's status #560
Labels
Bug Report
Reporting a bug
documentation
Improvements or additions to documentation
Priority
Issues that will be worked on with higher priority.
I recently upgraded to 2.4.0 and ran into an issue with how cobbler is now passing down an environment value to puppet through /usr/bin/cobbler-ext-nodes
It looks like this was added with 925295f#L1R269
The problem is on the puppet side, I'm using environment=something in the [agent] section of the machine's /etc/puppet/puppet.conf file. However puppet is never reading this value because /usr/bin/cobbler-ext-nodes is always passing back the system's status as the environment.
It would be good if the status field had a 'None' option, and /usr/bin/cobbler-ext-nodes wouldn't include the environment in its output if the status was set to 'None'. This way puppet wouldn't get an environment value back from /usr/bin/cobbler-ext-nodes, and it fall back on getting the environment settings from puppet.conf.
It might also be useful to mention the new environment/system setting mapping on the http://www.cobblerd.org/manuals/2.4.0/1/2_-_Whats_New.html
Also the http://www.cobblerd.org/manuals/2.4.0/5/3_-_Configuration_Management.html section should also include the 'environment:' in the external node output example.
The text was updated successfully, but these errors were encountered: