Skip to content

Commit c3a4ec2

Browse files
committed
Lots of fixes for platform names now being lower case
1 parent 1b66472 commit c3a4ec2

9 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎git/recipes/default.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# limitations under the License.
1818

1919
case node[:platform]
20-
when "Debian", "Ubuntu"
20+
when "debian", "ubuntu"
2121
package "git-core"
2222
else
2323
package "git"

‎java/recipes/default.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
execute "update-java-alternatives" do
3131
command "update-java-alternatives -s java-6-sun"
32-
only_if do platform?("Ubuntu", "Debian") end
32+
only_if do platform?("ubuntu", "debian") end
3333
ignore_failure true
3434
returns 1
3535
action :nothing

‎jira/recipes/default.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
include_recipe "apache2"
3232
include_recipe "apache2::mod_proxy"
3333
include_recipe "apache2::mod_proxy_http"
34-
include_recipe "apacheA2::mod_ssl"
34+
include_recipe "apache2::mod_ssl"
3535

3636
unless FileTest.exists?(node[:jira_install_path])
3737
remote_file "jira" do

‎man/recipes/default.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
#
1919

2020
case node[:platform]
21-
when "Ubuntu","Debian"
21+
when "ubuntu","debian"
2222
package "man-db"
2323
end

‎nginx/attributes/nginx_locations.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
case platform
2-
when "Debian","Ubuntu"
2+
when "debian","ubuntu"
33
nginx_dir "/etc/nginx"
44
nginx_log_dir "/var/log/nginx"
55
nginx_user "www-data"

‎ruby/recipes/default.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
end
2323

2424
extra_packages = case node[:platform]
25-
when "Ubuntu","Debian"
25+
when "ubuntu","debian"
2626
%w{
2727
ruby1.8
2828
ruby1.8-dev

‎runit/attributes/sv_bin.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
runit_sv_bin `which sv`.chomp!
2222

2323
case platform
24-
when "Ubuntu","Debian"
24+
when "ubuntu","debian"
2525
runit_service_dir "/etc/service"
2626
runit_sv_dir "/etc/sv"
2727
end

‎runit/recipes/default.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#
1919

2020
case node[:platform]
21-
when "Debian","Ubuntu"
21+
when "debian","ubuntu"
2222
execute "start-runsvdir" do
2323
command "start runsvdir"
2424
action :nothing

‎zsh/recipes/default.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
end
2323

2424
case node[:platform]
25-
when "Ubuntu"
25+
when "ubuntu"
2626
package "zsh-doc" do
2727
action :install
2828
end

0 commit comments

Comments
 (0)