[puppet] Make sure sudoers files is 0440
by Xavier Lamien
commit 85ef26a7b00c4d671c45c0adec88d080302efff5
Author: Xavier Lamien <laxathom(a)fedoraproject.org>
Date: Thu Aug 6 12:12:47 2015 +0200
Make sure sudoers files is 0440
manifests/services/fas-clients.pp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/manifests/services/fas-clients.pp b/manifests/services/fas-clients.pp
index 1515924..5d530e5 100644
--- a/manifests/services/fas-clients.pp
+++ b/manifests/services/fas-clients.pp
@@ -34,7 +34,8 @@ class fas-clients {
file { '/etc/sudoers.d/sysadmin-main':
source => 'puppet:///files/sudoers/sysadmin-main',
owner => 'root',
- group => 'root'
+ group => 'root',
+ mode => '0440'
}
# Add RPM Fusion CA to cert's bundle
9 years, 4 months
[puppet] Add fas-client configs to bugzilla instance
by Xavier Lamien
commit 96d2a6fdb56cbdca4614308c307c1e4617abfdce
Author: Xavier Lamien <laxathom(a)fedoraproject.org>
Date: Thu Aug 6 12:06:33 2015 +0200
Add fas-client configs to bugzilla instance
manifests/nodes/main.pp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/manifests/nodes/main.pp b/manifests/nodes/main.pp
index add5524..18ecf71 100644
--- a/manifests/nodes/main.pp
+++ b/manifests/nodes/main.pp
@@ -2,6 +2,10 @@
node 'bugzilla.ovh.rpmfusion.lan' {
class { 'default-setup': }
+
+ $fas_group = ['sysadmin-bugs']
+ include fas-clients
+
# Bugzilla
package { 'bugzilla': ensure => installed }
file { '/etc/bugzilla/localconfig':
9 years, 4 months