Sha256: 3e14dab4a194a18dbe0e28842769bf8002faa0803788dedd2f3a2f54aee540b7
Contents?: true
Size: 767 Bytes
Versions: 34
Compression:
Stored size: 767 Bytes
Contents
require 'daddy/itamae' service 'god' do user 'root' action :stop end gem_package 'god' do user 'root' end case os_version when /rhel-6\.(.*?)/ template '/etc/init.d/god' do user 'root' owner 'root' group 'root' mode '755' end else #raise I18n.t('itamae.errors.unsupported_os_version', :os_version => os_version) raise "サポートしていないOSバージョンです。#{os_version}" end directory '/etc/god' do user 'root' owner 'root' group 'root' mode '755' end template '/etc/god/master.conf' do user 'root' owner 'root' group 'root' mode '644' end template '/etc/logrotate.d/god' do user 'root' owner 'root' group 'root' mode '644' end service 'god' do user 'root' action [:enable, :start] end
Version data entries
34 entries across 34 versions & 1 rubygems