## cd_alloy::main::files.pp # Module name: cd_alloy # Author: Arne Teuke (arne_teuke@confdroid.com) # @summary Class manages required config files for the cd_alloy module ############################################################################### class cd_alloy::main::files ( ) inherits cd_alloy::params { require cd_alloy::main::dirs # Ensure log_targets is always an array $log_targets_array = Array($cd_alloy::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('cd_alloy/config.alloy.erb'), notify => Service[$ay_service], } }