Skip to content

Commit

Permalink
configurable log_path mode
Browse files Browse the repository at this point in the history
  • Loading branch information
h0tw1r3 committed Jan 8, 2020
1 parent 4a3e080 commit f876d22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
$scl_script = $supervisord::params::scl_script,

$log_path = $supervisord::params::log_path,
$log_path_mode = $supervisord::params::log_path_mode,
$log_file = $supervisord::params::log_file,
$log_level = $supervisord::params::log_level,
$logfile_maxbytes = $supervisord::params::logfile_maxbytes,
Expand Down
3 changes: 3 additions & 0 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
'RedHat': {
$unix_socket_group = 'nobody'
$install_init = true
$log_path_mode = '0770'
case $::operatingsystem {
'Amazon': {
$init_type = 'init'
Expand Down Expand Up @@ -71,12 +72,14 @@
$unix_socket_group = 'nogroup'
$install_init = true
$executable_path = '/usr/local/bin'
$log_path_mode = '0755'
}
default: {
$init_defaults = false
$unix_socket_group = 'nogroup'
$install_init = false
$executable_path = '/usr/local/bin'
$log_path_mode = '0755'
}
}

Expand Down

0 comments on commit f876d22

Please sign in to comment.