Created
October 6, 2015 18:40
-
-
Save raycrawford/1e1dbbe667b480aa02d0 to your computer and use it in GitHub Desktop.
code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
puts "###=>INFO: Installing Apache2 on #{node['platform']}" | |
package 'Install Apache' do | |
case node['platform'] | |
when 'redhat', 'centos' # ~FC024 | |
package_name 'httpd' | |
when 'ubuntu', 'debian' | |
package_name 'apache2' | |
else | |
fail "no #{node['platform']} Apache2 package_name defined." if (true) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment