Puppet Class: unicorn_sysvinit::sysconfig

Defined in:
manifests/sysconfig.pp

Overview



1
2
3
4
5
6
7
8
9
10
11
12
# File 'manifests/sysconfig.pp', line 1

class unicorn_sysvinit::sysconfig {

  $config = $unicorn_sysvinit::config

  file { '/etc/sysconfig/unicorn':
    content => inline_template('<% @config.keys.sort.each do |k| %><%= "#{k.upcase}=#{@config[k]}\n" %><% end %>'),
    owner   => 'root',
    group   => 'root',
    mode    => '0755',
  }

}