Puppet Class: alloy_cd::main::files
- Inherits:
- alloy_cd::params
- Defined in:
- manifests/main/files.pp
Summary
Class manages required config files for the alloy_cd moduleOverview
alloy_cd::main::files.pp Module name: alloy_cd Author: Arne Teuke (arne_teuke@confdroid.com)
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'manifests/main/files.pp', line 6
class alloy_cd::main::files (
) inherits alloy_cd::params {
require alloy_cd::main::dirs
# Ensure log_targets is always an array
$log_targets_array = Array($alloy_cd::params::ay_log_targets, true)
file { $ay_main_file:
ensure => file,
owner => 'root',
group => 'root',
mode => '0644',
selrange => s0,
selrole => object_r,
seltype => etc_t,
seluser => system_u,
content => template('alloy_cd/config.alloy.erb'),
notify => Service[$ay_service],
}
}
|