Permalink
Browse files

Add scientific and amazon linux to every block already suppporting ce…

…ntos/redhat/fedora
  • Loading branch information...
1 parent 5c81dfb commit b37b0fb5e1a9b4b902157eefc364569a88bb53b0 @tas50 tas50 committed Oct 1, 2012
Showing with 4 additions and 4 deletions.
  1. +2 −2 attributes/default.rb
  2. +2 −2 recipes/server.rb
@@ -32,10 +32,10 @@
when "arch"
set["samba"]["config"] = "/etc/samba/smb.conf"
set["samba"]["log_dir"] = "/var/log/samba/log.%m"
-when "redhat","centos","fedora"
+when "redhat","centos","fedora","amazon","scientific"
set["samba"]["config"] = "/etc/samba/smb.conf"
set["samba"]["log_dir"] = "/var/log/samba/log.%m"
else
set["samba"]["config"] = "/etc/samba/smb.conf"
set["samba"]["log_dir"] = "/var/log/samba/%m.log"
-end
+end
View
@@ -34,13 +34,13 @@
package value_for_platform(
["ubuntu", "debian", "arch"] => { "default" => "samba" },
- ["redhat", "centos", "fedora"] => { "default" => "samba3x" },
+ ["redhat", "centos", "fedora", "scientific", "amazon"] => { "default" => "samba3x" },
"default" => "samba"
)
svcs = value_for_platform(
["ubuntu", "debian"] => { "default" => ["smbd", "nmbd"] },
- ["redhat", "centos", "fedora"] => { "default" => ["smb", "nmb"] },
+ ["redhat", "centos", "fedora", "scientific", "amazon"] => { "default" => ["smb", "nmb"] },
"arch" => { "default" => [ "samba" ] },
"default" => ["smbd", "nmbd"]
)

0 comments on commit b37b0fb

Please sign in to comment.