File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717# limitations under the License.
1818
1919case node [ :platform ]
20- when "Debian " , "Ubuntu "
20+ when "debian " , "ubuntu "
2121 package "git-core"
2222else
2323 package "git"
Original file line number Diff line number Diff line change 2929
3030execute "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
Original file line number Diff line number Diff line change 3131include_recipe "apache2"
3232include_recipe "apache2::mod_proxy"
3333include_recipe "apache2::mod_proxy_http"
34- include_recipe "apacheA2 ::mod_ssl"
34+ include_recipe "apache2 ::mod_ssl"
3535
3636unless FileTest . exists? ( node [ :jira_install_path ] )
3737 remote_file "jira" do
Original file line number Diff line number Diff line change 1818#
1919
2020case node [ :platform ]
21- when "Ubuntu " , "Debian "
21+ when "ubuntu " , "debian "
2222 package "man-db"
2323end
Original file line number Diff line number Diff line change 11case 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"
Original file line number Diff line number Diff line change 2222end
2323
2424extra_packages = case node [ :platform ]
25- when "Ubuntu " , "Debian "
25+ when "ubuntu " , "debian "
2626 %w{
2727 ruby1.8
2828 ruby1.8-dev
Original file line number Diff line number Diff line change 2121runit_sv_bin `which sv` . chomp!
2222
2323case platform
24- when "Ubuntu " , "Debian "
24+ when "ubuntu " , "debian "
2525 runit_service_dir "/etc/service"
2626 runit_sv_dir "/etc/sv"
2727end
Original file line number Diff line number Diff line change 1818#
1919
2020case node [ :platform ]
21- when "Debian " , "Ubuntu "
21+ when "debian " , "ubuntu "
2222 execute "start-runsvdir" do
2323 command "start runsvdir"
2424 action :nothing
Original file line number Diff line number Diff line change 2222end
2323
2424case node [ :platform ]
25- when "Ubuntu "
25+ when "ubuntu "
2626 package "zsh-doc" do
2727 action :install
2828 end
You can’t perform that action at this time.
0 commit comments