From c1879fa62ea29fb1395baa70805cdda8777f4dc0 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Tue, 19 Sep 2017 11:12:24 +0200 Subject: Fixed docker permissions for user julien --- services/julien.cf | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'services') 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)"); -- cgit v1.2.3