diff options
-rw-r--r-- | services/julien.cf | 9 |
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)"); |