diff options
| author | Daniel Pittman <daniel@puppetlabs.com> | 2011-05-12 14:26:49 -0700 |
|---|---|---|
| committer | Daniel Pittman <daniel@puppetlabs.com> | 2011-05-12 14:26:49 -0700 |
| commit | 704623cb95aacb0544609620994dc36f61a4b463 (patch) | |
| tree | 6706dc7afa05bf4bbffb2ab7e616717fb6af0c86 /lib/puppet/network/http/api | |
| parent | 9d73b73594d4bf9fe4e8abb369ffc5887b15f4ec (diff) | |
| parent | c21539fe2205fc61ca9e0a49b3b2702e76931632 (diff) | |
Merge branch '2.7.next' into next
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? |
