mirror of
https://github.com/inspec/inspec
synced 2024-12-24 12:03:23 +00:00
15 lines
248 B
Ruby
15 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
|