diff options
| author | Dominic Maraglia <dmaraglia@gmail.com> | 2011-05-03 17:59:26 -0700 |
|---|---|---|
| committer | Dominic Maraglia <dmaraglia@gmail.com> | 2011-05-03 17:59:26 -0700 |
| commit | e5b62d7424da24799c4d16f0e104fac3008e2b89 (patch) | |
| tree | 7d2d710fa43c39dd35d96cc2db371c548a85518f /lib/puppet/network/http/api | |
| parent | 94f0b0996ba628f4916bcf0978b29c584c15818b (diff) | |
| parent | d203853bc8b40732c2ba88a4e5396f00a1e3a4ec (diff) | |
Merge branch '2.7.x' of github.com:puppetlabs/puppet into 2.7.x
Diffstat (limited to 'lib/puppet/network/http/api')
| -rw-r--r-- | lib/puppet/network/http/api/v1.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/network/http/api/v1.rb b/lib/puppet/network/http/api/v1.rb index 61307f01e..388d54961 100644 --- a/lib/puppet/network/http/api/v1.rb +++ b/lib/puppet/network/http/api/v1.rb @@ -30,7 +30,7 @@ module Puppet::Network::HTTP::API::V1 method = indirection_method(http_method, indirection) - params[:environment] = environment + params[:environment] = Puppet::Node::Environment.new(environment) raise ArgumentError, "No request key specified in #{uri}" if key == "" or key.nil? |
