mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +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
|