diff options
author | Luke Kanies <luke@madstop.com> | 2008-10-02 22:56:35 -0500 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2008-10-03 14:07:05 +1000 |
commit | 1a9b5677de01fc1ed5a9a6ebbea99a73def7f689 (patch) | |
tree | 4008bf1b6a4975dbf6526cb4181a90b1fc68619f /lib/puppet/defaults.rb | |
parent | 397c8416f78c7a1d081f673dcfe2d70e2d7cee16 (diff) | |
download | puppet-1a9b5677de01fc1ed5a9a6ebbea99a73def7f689.tar.gz puppet-1a9b5677de01fc1ed5a9a6ebbea99a73def7f689.tar.xz puppet-1a9b5677de01fc1ed5a9a6ebbea99a73def7f689.zip |
Fixing #1614 - Environments no longer have to be listed out.
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib/puppet/defaults.rb')
-rw-r--r-- | lib/puppet/defaults.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/puppet/defaults.rb b/lib/puppet/defaults.rb index a2900fd43..e1b6dc423 100644 --- a/lib/puppet/defaults.rb +++ b/lib/puppet/defaults.rb @@ -122,16 +122,11 @@ module Puppet namespaces and methods. This can be used as a coarse-grained authorization system for both ``puppetd`` and ``puppetmasterd``." ], - :environments => ["production,development", "The valid environments for Puppet clients. - This is more useful as a server-side setting than client, but any - environment chosen must be in this list. Values should be - separated by a comma."], :environment => {:default => "production", :desc => "The environment Puppet is running in. For clients (e.g., ``puppetd``) this determines the environment itself, which is used to find modules and much more. For servers (i.e., ``puppetmasterd``) this provides the default environment for nodes - we know nothing about.", - :hook => proc { |value| raise(ArgumentError, "Invalid environment %s" % value) unless Puppet::Node::Environment.valid?(value) } + we know nothing about." }, :diff_args => ["", "Which arguments to pass to the diff command when printing differences between files."], :diff => ["diff", "Which diff command to use when printing differences between files."], |