mirror of
https://github.com/inspec/inspec
synced 2024-12-18 17:14:33 +00:00
eecb295377
...which are failing
17 lines
383 B
Ruby
17 lines
383 B
Ruby
# encoding: utf-8
|
|
# author: Christoph Hartmann
|
|
# author: Dominik Richter
|
|
#
|
|
# prepares services
|
|
|
|
case node['platform']
|
|
when 'ubuntu'
|
|
# install ntp as a service
|
|
include_recipe 'apt::default'
|
|
package 'ntp'
|
|
|
|
when 'centos'
|
|
# install runit for alternative service mgmt
|
|
include_recipe 'os_prepare::_runit_service_centos'
|
|
include_recipe 'os_prepare::_upstart_service_centos'
|
|
end
|