summaryrefslogtreecommitdiffstats
path: root/spec/unit/network
diff options
context:
space:
mode:
authorJesse Wolfe <jes5199@gmail.com>2010-03-17 12:46:42 -0700
committertest branch <puppet-dev@googlegroups.com>2010-02-17 06:50:53 -0800
commiteda649b6395b38dcb1a5719483222bfbfa60302c (patch)
treeb248bde2ee92194a6cebe917967aedbc399fbcbe /spec/unit/network
parent09b14120fe81a2955a1e4572ec0b8040ef540ade (diff)
downloadpuppet-eda649b6395b38dcb1a5719483222bfbfa60302c.tar.gz
puppet-eda649b6395b38dcb1a5719483222bfbfa60302c.tar.xz
puppet-eda649b6395b38dcb1a5719483222bfbfa60302c.zip
Feature #3383 RAL over REST
ralsh --host works now, and is using REST. A node running puppetd --listen will allow ralsh to find, search, and modify live resources, via REST. Signed-off-by: Jesse Wolfe <jes5199@gmail.com>
Diffstat (limited to 'spec/unit/network')
-rwxr-xr-xspec/unit/network/rest_authconfig.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/unit/network/rest_authconfig.rb b/spec/unit/network/rest_authconfig.rb
index 407fc43f4..fe17d5626 100755
--- a/spec/unit/network/rest_authconfig.rb
+++ b/spec/unit/network/rest_authconfig.rb
@@ -17,6 +17,7 @@ describe Puppet::Network::RestAuthConfig do
{ :acl => "/certificate/", :method => :find, :authenticated => false },
{ :acl => "/certificate_request", :method => [:find, :save], :authenticated => false },
{ :acl => "/status", :method => [:find], :authenticated => true },
+ { :acl => "/resource", :method => [:find, :save, :search], :authenticated => true },
]
before :each do