From: Philipp Dallig Date: Mon, 20 Jun 2016 09:54:03 +0000 (+0200) Subject: sirona - Add aem sudo rights X-Git-Tag: v0.1.0~4661 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=eeb9dc7b76e3aab4d1a49d87047cf70d90631770;p=pixelpark%2Fhiera.git sirona - Add aem sudo rights --- 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 #