Skip to content

Instantly share code, notes, and snippets.

@swalberg
Created July 28, 2015 02:51
Show Gist options
  • Save swalberg/de0d991b63045a4b805c to your computer and use it in GitHub Desktop.
Save swalberg/de0d991b63045a4b805c to your computer and use it in GitHub Desktop.
package 'Install Apache' do
package_name case node[:platform]
when 'redhat', 'centos'
'httpd'
when 'ubuntu', 'debian'
'apache2'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment