diff options
author | David Schmitt <david.schmitt@puppet.com> | 2016-12-09 14:55:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-09 14:55:59 +0000 |
commit | f63644a0385f5f27f4285b91ea6e367a515fdfc2 (patch) | |
tree | 6a50cd6fe21c0d14e315ae6b2c713327ccf60b17 /lib/puppet | |
parent | 7507af555361b2dcba8ed6189dc54c21e64ea031 (diff) | |
parent | 3312cc1f44d1acf25ce45701a74cecd647c50858 (diff) |
Merge pull request #697 from HAIL9000/issue/master/MODULES-3829_add_tests_for_ensure_resources
(MODULES-3829) Add tests for ensure_resources
Diffstat (limited to 'lib/puppet')
-rw-r--r-- | lib/puppet/parser/functions/ensure_packages.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/parser/functions/ensure_packages.rb b/lib/puppet/parser/functions/ensure_packages.rb index 532b702..439af1e 100644 --- a/lib/puppet/parser/functions/ensure_packages.rb +++ b/lib/puppet/parser/functions/ensure_packages.rb @@ -25,7 +25,7 @@ third argument to the ensure_resource() function. end Puppet::Parser::Functions.function(:ensure_resources) - function_ensure_resources(['package', Hash(arguments[0]), defaults ]) + function_ensure_resources(['package', arguments[0].dup, defaults ]) else packages = Array(arguments[0]) |