From eeb9dc7b76e3aab4d1a49d87047cf70d90631770 Mon Sep 17 00:00:00 2001 From: Philipp Dallig Date: Mon, 20 Jun 2016 11:54:03 +0200 Subject: [PATCH] sirona - Add aem sudo rights --- customer/sirona-aem/common.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/customer/sirona-aem/common.yaml b/customer/sirona-aem/common.yaml index 582fb5ed..e16186ba 100644 --- a/customer/sirona-aem/common.yaml +++ b/customer/sirona-aem/common.yaml @@ -22,6 +22,18 @@ accounts::users: aem::maven::mirrors: - {id: pixelpark-nexus, url: 'https://nexus.pixelpark.com/content/groups/public/', mirrorof: '*'} + +sudo::configs: + aem: + priority: "05" + content: | + Cmnd_Alias START_PUBLISH = /bin/systemctl start publish + Cmnd_Alias START_AUTHOR = /bin/systemctl start author + Cmnd_Alias STOP_PUBLISH = /bin/systemctl stop publish + Cmnd_Alias STOP_AUTHOR = /bin/systemctl stop author + Cmnd_Alias BACKUP = /usr/local/sbin/zfs_rotation.sh* + aem ALL=(ALL) NOPASSWD:START_PUBLISH, START_AUTHOR, STOP_PUBLISH, STOP_AUTHOR, BACKUP + # # Author # -- 2.39.5