summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
authorJulien Dessaux2017-09-19 11:12:24 +0200
committerJulien Dessaux2017-09-21 16:21:35 +0200
commitc1879fa62ea29fb1395baa70805cdda8777f4dc0 (patch)
treeeab4c33935c8948ec3310e23a27efcc611c77106 /services
parentAdded php56 management for nagios policies (diff)
downloadmasterfiles-c1879fa62ea29fb1395baa70805cdda8777f4dc0.tar.gz
masterfiles-c1879fa62ea29fb1395baa70805cdda8777f4dc0.tar.bz2
masterfiles-c1879fa62ea29fb1395baa70805cdda8777f4dc0.zip
Fixed docker permissions for user julien
Diffstat (limited to 'services')
-rw-r--r--services/julien.cf9
1 files changed, 9 insertions, 0 deletions
diff --git a/services/julien.cf b/services/julien.cf
index 06a361b..d174026 100644
--- a/services/julien.cf
+++ b/services/julien.cf
@@ -6,7 +6,14 @@ bundle agent julien
"group_command" string => "$(paths.groupadd)";
"packages" slist => {
};
+ console_julien.(debian|ubuntu).!(andromeda|hurricane|collab_jde)::
"secondary_groups" slist => { "sudo" };
+ collab_jde::
+ "secondary_groups" slist => { "docker", "sudo" };
+ andromeda::
+ "secondary_groups" slist => { "libvirt", "sudo", "wireshark" };
+ hurricane::
+ "secondary_groups" slist => { "docker", "libvirt", "sudo", "wireshark" };
console_julien.linux.awh::
"password" string => "$6$EkJ5N916$CVrBdCOstIrcN33TXSurTY4ot3RiTBJ5E8QQtHnOfOu1cGAjoIAd0Nl3OpR3hkp2jXYmwTJuHQaAuBU69BGNY1";
console_julien.linux.!awh::
@@ -32,6 +39,8 @@ bundle agent julien
console_julien::
"group_julien_absent"
not => groupexists("julien");
+ "group_docker_present"
+ not => groupexists("docker");
methods:
console_julien::
"console_julien" usebundle => install_package("$(this.bundle)", "$(julien.packages)");