diff options
| author | Luke Kanies <luke@madstop.com> | 2009-05-27 10:55:28 -0500 |
|---|---|---|
| committer | James Turnbull <james@lovedthanlost.net> | 2009-05-28 07:01:43 +1000 |
| commit | bc1445b5cefb5742ca906632cc99a82a769ead97 (patch) | |
| tree | b72d8687cc0573d054a7deaedaef3be2f3c70b7d /spec | |
| parent | e0c19f99f44d94715984d5533daed25e35ac6f3b (diff) | |
| download | puppet-bc1445b5cefb5742ca906632cc99a82a769ead97.tar.gz puppet-bc1445b5cefb5742ca906632cc99a82a769ead97.tar.xz puppet-bc1445b5cefb5742ca906632cc99a82a769ead97.zip | |
Fixing #2237 - client_yaml dir is always created by puppetd
This is just a simple call to Puppet.use in the puppetd
setup method.
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'spec')
| -rwxr-xr-x | spec/unit/application/puppetd.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/unit/application/puppetd.rb b/spec/unit/application/puppetd.rb index 18caa9e86..d34ec9f2f 100755 --- a/spec/unit/application/puppetd.rb +++ b/spec/unit/application/puppetd.rb @@ -282,6 +282,12 @@ describe "puppetd" do @puppetd.run_setup end + it "should use :main, :puppetd, and :ssl" do + Puppet.settings.expects(:use).with(:main, :puppetd, :ssl) + + @puppetd.run_setup + end + it "should install a remote ca location" do Puppet::SSL::Host.expects(:ca_location=).with(:remote) |
