summaryrefslogtreecommitdiffstats
path: root/spec/unit/face/ca_spec.rb
diff options
context:
space:
mode:
authorJosh Cooper <josh@puppetlabs.com>2011-07-22 12:29:54 -0700
committerJacob Helwig <jacob@puppetlabs.com>2011-08-19 13:52:56 -0700
commit945bf74aad13de37d5ca46961db78a72b8c24029 (patch)
treefc711413b006d7a87e957f121d8fb298ed800690 /spec/unit/face/ca_spec.rb
parent3be4d79d288f43f0476f0fa8666936c184d2ca35 (diff)
downloadpuppet-945bf74aad13de37d5ca46961db78a72b8c24029.tar.gz
puppet-945bf74aad13de37d5ca46961db78a72b8c24029.tar.xz
puppet-945bf74aad13de37d5ca46961db78a72b8c24029.zip
Update certificate spec tests for Windows
Disable CA related spec tests on Windows, since that functionality is not supported. Some cert spec tests are still marked as fails_on_windows because settings attempts to create and apply a catalog corresponding to ssl/cert related directories. This fails because on Windows Puppet.features.root? always returns true (which is a separate bug), and as a result attempts to set the owner and group, which fails because the provider is not implemented yet on Windows. Also many of these tests were using Tempfile.new and trying to system("rm -rf ...") later. I changed these to use PuppetSpec::Files.tmpdir instead, which automatically cleans up temporary directories after the tests have run. Reviewed-by: Jacob Helwig <jacob@puppetlabs.com> (cherry picked from commit 95837e6d3e74648617c308aedc52192bb13fde5a)
Diffstat (limited to 'spec/unit/face/ca_spec.rb')
0 files changed, 0 insertions, 0 deletions