diff --git a/doc/_index.html b/doc/_index.html index f07dc52..ba65064 100644 --- a/doc/_index.html +++ b/doc/_index.html @@ -98,11 +98,6 @@ -
# File 'manifests/main/files.pp', line 6
@@ -146,6 +174,34 @@ class alloy_cd::main::files (
content => template('alloy_cd/config.alloy.erb'),
notify => Service[$ay_service],
}
+
+ # manage logrotate for rsyslog to allow adm group membership
+ file { '/etc/logrotate.d/rsyslog':
+ ensure => file,
+ owner => 'root',
+ group => 'root',
+ mode => '0644',
+ selrange => s0,
+ selrole => object_r,
+ seltype => etc_t,
+ seluser => system_u,
+ content => template('alloy_cd/logrotate.rsyslog.erb'),
+ }
+
+ # manage log file group permissions
+ file { '/var/log/messages':
+ ensure => file,
+ owner => 'root',
+ group => 'adm',
+ mode => '0640',
+ }
+
+ file { '/var/log/secure':
+ ensure => file,
+ owner => 'root',
+ group => 'adm',
+ mode => '0640',
+ }
}
# File 'manifests/main/service.pp', line 6 @@ -122,7 +121,6 @@ class alloy_cd::main::service ( ) inherits alloy_cd::params { require alloy_cd::main::files - require alloy_cd::main::user service { $ay_service: ensure => running, diff --git a/doc/puppet_classes/alloy_cd_3A_3Aparams.html b/doc/puppet_classes/alloy_cd_3A_3Aparams.html index 754d96e..4514fe9 100644 --- a/doc/puppet_classes/alloy_cd_3A_3Aparams.html +++ b/doc/puppet_classes/alloy_cd_3A_3Aparams.html @@ -69,8 +69,6 @@ alloy_cd::main::dirs
- alloy_cd::main::user
- alloy_cd::main::files
alloy_cd::main::config
@@ -316,7 +314,7 @@ (Array) - (defaults to: ['wheel','adm']) + (defaults to: ['systemd-journal','adm']) — @@ -413,7 +411,7 @@ class alloy_cd::params ( # user Boolean $ay_manage_user = true, String $ay_user = 'alloy', - Array $ay_groups = ['wheel','adm'], + Array $ay_groups = ['systemd-journal','adm'], String $ay_user_shell = '/sbin/nologin', ) {