Skip to content

Conversation

benjamink
Copy link

Added some logic to optionally remove the environment setting from the puppet.conf by setting environment => undef.

@benjamink benjamink force-pushed the allow-unset-environment branch from 034473c to 9218b8f Compare October 30, 2014 20:48

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for clarity, it would be nice to use if $environment == undef instead of if $environment != undef.
the != syntax is like a double-negative.

wrt undef semantics, @stephenrjohnson should clarify in README what undef should mean within context of configs. see thread at #63

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree. I was just following conventions used elsewhere in the manifest.

@stephenrjohnson
Copy link
Owner

Per #63 I'm going to hold off on this till we sort out if my new way of setting config items will fly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants