diff options
| author | Luke Kanies <luke@madstop.com> | 2009-09-18 12:54:03 -0700 |
|---|---|---|
| committer | James Turnbull <james@lovedthanlost.net> | 2009-11-20 07:27:21 +1100 |
| commit | 2d137e2e1ce603ee2727d66b1aba57458bf4d1be (patch) | |
| tree | 44660e699774dd54a6c721cac514cf41a2a543c9 /spec/integration | |
| parent | 089ac3e37dd1418751bc4dfe152e09fbacbc5122 (diff) | |
Fixing #1507 - Adding a :ca_name setting
This allows one to specify the name to use in the
CA certificate. It defaults to the :certname,
but for those stuck using mod_ssl it can be changed.
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'spec/integration')
| -rwxr-xr-x | spec/integration/defaults.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/integration/defaults.rb b/spec/integration/defaults.rb index fb00f8646..0e9a03fcb 100755 --- a/spec/integration/defaults.rb +++ b/spec/integration/defaults.rb @@ -204,4 +204,9 @@ describe "Puppet defaults" do Puppet.settings[:report_server].should == "report_server" end end + + it "should have a :caname setting that defaults to the cert name" do + Puppet.settings[:certname] = "foo" + Puppet.settings[:ca_name].should == "foo" + end end |
