Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added Scientific Linux support

  • Loading branch information...
commit 4833028767bcbb2f94495e92dbd8430522b05a8f 1 parent 99342ae
Matt Ray mattray authored
Showing with 5 additions and 4 deletions.
  1. +2 −2 openssh/metadata.rb
  2. +3 −2 openssh/recipes/default.rb
4 openssh/metadata.rb
View
@@ -2,10 +2,10 @@
maintainer_email "cookbooks@opscode.com"
license "Apache 2.0"
description "Installs openssh"
-version "0.8.0"
+version "0.8.1"
recipe "openssh", "Installs openssh"
-%w{ redhat centos fedora ubuntu debian arch}.each do |os|
+%w{ redhat centos fedora ubuntu debian arch scientific }.each do |os|
supports os
end
5 openssh/recipes/default.rb
View
@@ -18,7 +18,7 @@
#
packages = case node[:platform]
- when "centos","redhat","fedora"
+ when "centos","redhat","fedora","scientific"
%w{openssh-clients openssh}
when "arch"
%w{openssh}
@@ -32,7 +32,7 @@
service "ssh" do
case node[:platform]
- when "centos","redhat","fedora","arch"
+ when "centos","redhat","fedora","arch","scientific"
service_name "sshd"
else
service_name "ssh"
@@ -46,6 +46,7 @@
"centos" => { "default" => [ :restart, :reload, :status ] },
"redhat" => { "default" => [ :restart, :reload, :status ] },
"fedora" => { "default" => [ :restart, :reload, :status ] },
+ "scientific" => { "default" => [ :restart, :reload, :status ] },
"arch" => { "default" => [ :restart ] },
"default" => { "default" => [:restart, :reload ] }
)
Please sign in to comment.
Something went wrong with that request. Please try again.