aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/config/states/neutron_compute
diff options
context:
space:
mode:
Diffstat (limited to 'mcp/config/states/neutron_compute')
-rwxr-xr-xmcp/config/states/neutron_compute2
1 files changed, 2 insertions, 0 deletions
diff --git a/mcp/config/states/neutron_compute b/mcp/config/states/neutron_compute
index d58162100..6266b0f18 100755
--- a/mcp/config/states/neutron_compute
+++ b/mcp/config/states/neutron_compute
@@ -2,3 +2,5 @@
set -x
salt -I 'neutron:compute' state.sls neutron
+salt -I 'neutron:compute' file.append /etc/sudoers.d/neutron_sudoers \
+ args='neutron ALL = (root) NOPASSWD: /usr/bin/neutron-rootwrap-daemon /etc/neutron/rootwrap.conf'