Skip to content

Commit

Permalink
Add scientific and amazon linux to every block already suppporting ce…
Browse files Browse the repository at this point in the history
…ntos/redhat/fedora
  • Loading branch information
tas50 committed Oct 1, 2012
1 parent 5c81dfb commit b37b0fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions recipes/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
)
Expand Down

0 comments on commit b37b0fb

Please sign in to comment.