summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Cooper <josh@puppetlabs.com>2011-07-27 15:30:49 -0700
committerJacob Helwig <jacob@puppetlabs.com>2011-08-19 13:52:57 -0700
commit68bdc74e5cffa4cce44ccc60ea942484fe64fb62 (patch)
treeb8bcefebe9872dc5746ddf4ff5a271b6f2d7edb3
parent9fbb0be88daec8def1cca622cd4045d4eda7a3b5 (diff)
downloadpuppet-68bdc74e5cffa4cce44ccc60ea942484fe64fb62.tar.gz
puppet-68bdc74e5cffa4cce44ccc60ea942484fe64fb62.tar.xz
puppet-68bdc74e5cffa4cce44ccc60ea942484fe64fb62.zip
(#8663) The ssh_authorized_key type is not supported on Windows
We are not supporting the ssh_authorized_key type on Windows at this time, since Windows does not ship with an ssh server (though there are third-party versions available). As a result these spec tests have been disabled. Reviewed-by: Jacob Helwig <jacob@puppetlabs.com> (cherry picked from commit 6bd8aaa8a8307913eb20afc4e57551e2dfd4822e)
-rwxr-xr-xspec/unit/type/ssh_authorized_key_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/type/ssh_authorized_key_spec.rb b/spec/unit/type/ssh_authorized_key_spec.rb
index 9b3760b71..41413763c 100755
--- a/spec/unit/type/ssh_authorized_key_spec.rb
+++ b/spec/unit/type/ssh_authorized_key_spec.rb
@@ -228,7 +228,7 @@ describe ssh_authorized_key do
end
- describe "when user is specified", :fails_on_windows => true do
+ describe "when user is specified", :unless => Puppet.features.microsoft_windows? do
it "should determine target" do
resource = @class.create(