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 @@ -
  • - alloy_cd::main::user - -
  • -
  • alloy_cd::main::yumrepo diff --git a/doc/puppet_class_list.html b/doc/puppet_class_list.html index a463ad4..0a74441 100644 --- a/doc/puppet_class_list.html +++ b/doc/puppet_class_list.html @@ -78,21 +78,14 @@
  • -
  • -
    - alloy_cd::main::user -
    -
  • - - -
  • +
  • alloy_cd::main::yumrepo
  • -
  • +
  • alloy_cd::params
    diff --git a/doc/puppet_classes/alloy_cd_3A_3Amain_3A_3Afiles.html b/doc/puppet_classes/alloy_cd_3A_3Amain_3A_3Afiles.html index e4cdfc6..d82cf53 100644 --- a/doc/puppet_classes/alloy_cd_3A_3Amain_3A_3Afiles.html +++ b/doc/puppet_classes/alloy_cd_3A_3Amain_3A_3Afiles.html @@ -121,7 +121,35 @@ 23 24 25 -26 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54
    # 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',
    +  }
     }
    diff --git a/doc/puppet_classes/alloy_cd_3A_3Amain_3A_3Aservice.html b/doc/puppet_classes/alloy_cd_3A_3Amain_3A_3Aservice.html index 1cdb44d..7888ddc 100644 --- a/doc/puppet_classes/alloy_cd_3A_3Amain_3A_3Aservice.html +++ b/doc/puppet_classes/alloy_cd_3A_3Amain_3A_3Aservice.html @@ -112,8 +112,7 @@ 14 15 16 -17 -18 +17
    # 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', ) {