diff options
Diffstat (limited to 'lib/puppet')
| -rw-r--r-- | lib/puppet/config.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/puppet/config.rb b/lib/puppet/config.rb index ff1494ea8..4fb2840b7 100644 --- a/lib/puppet/config.rb +++ b/lib/puppet/config.rb @@ -222,6 +222,14 @@ class Config values[section] = {} end values[section][var.to_s] = value + + # Do some annoying skullduggery here. This is so that + # the group can be set in the config file. The problem + # is that we're using the word 'group' twice, which is + # confusing. + if var == :group and section == Puppet.name and @config.include?(:group) + @config[:group].value = value + end next end |
