mirror of
https://github.com/inspec/inspec
synced 2024-12-19 01:23:50 +00:00
14 lines
248 B
Ruby
14 lines
248 B
Ruby
# encoding: utf-8
|
|
# author: Christoph Hartmann
|
|
|
|
# install apache service
|
|
case node['platform']
|
|
when 'ubuntu', 'centos', 'amazon', 'fedora'
|
|
|
|
return if node['platform_version'] == "15.10"
|
|
|
|
httpd_service 'default' do
|
|
action :create
|
|
end
|
|
|
|
end
|