From 10da26387f164a38c9ca915aa126f56feed9e4a0 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 21 Aug 2018 14:37:13 +0200 Subject: [PATCH] Adding /opt/puppetlabs/puppet/bin/puppet to sudo commands for apache on puppetmasters --- customer/pixelpark-puppet/puppetmaster01.pixelpark.com.yaml | 2 +- customer/pixelpark-puppet/puppetmaster02.pixelpark.com.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/customer/pixelpark-puppet/puppetmaster01.pixelpark.com.yaml b/customer/pixelpark-puppet/puppetmaster01.pixelpark.com.yaml index a5017543..c19dd971 100644 --- a/customer/pixelpark-puppet/puppetmaster01.pixelpark.com.yaml +++ b/customer/pixelpark-puppet/puppetmaster01.pixelpark.com.yaml @@ -12,7 +12,7 @@ sudo::configs: deploy: priority: "06" content: | - apache ALL=(ALL) NOPASSWD: /bin/git, /opt/puppetlabs/puppet/bin/r10k, /bin/touch, /usr/bin/curl, /opt/puppetlabs/puppet/bin/curl + apache ALL=(ALL) NOPASSWD: /bin/git, /opt/puppetlabs/puppet/bin/puppet, /opt/puppetlabs/puppet/bin/r10k, /bin/touch, /usr/bin/curl, /opt/puppetlabs/puppet/bin/curl infra::profile::apache::pp_vhosts: gitdeploy: diff --git a/customer/pixelpark-puppet/puppetmaster02.pixelpark.com.yaml b/customer/pixelpark-puppet/puppetmaster02.pixelpark.com.yaml index c4337e34..44daad76 100644 --- a/customer/pixelpark-puppet/puppetmaster02.pixelpark.com.yaml +++ b/customer/pixelpark-puppet/puppetmaster02.pixelpark.com.yaml @@ -8,7 +8,7 @@ sudo::configs: deploy: priority: "06" content: | - apache ALL=(ALL) NOPASSWD: /bin/git, /opt/puppetlabs/puppet/bin/r10k, /bin/touch, /usr/bin/curl, /opt/puppetlabs/puppet/bin/curl + apache ALL=(ALL) NOPASSWD: /bin/git, /opt/puppetlabs/puppet/bin/puppet, /opt/puppetlabs/puppet/bin/r10k, /bin/touch, /usr/bin/curl, /opt/puppetlabs/puppet/bin/curl infra::profile::apache::pp_vhosts: gitdeploy: -- 2.39.5