2a2a2ef7888ee15c639e026e1237c99016ac3b21
[fuel.git] / mcp / config / states / neutron_compute
1 #!/bin/bash -x
2 ##############################################################################
3 # Copyright (c) 2017 Mirantis Inc., Enea AB and others.
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9
10 salt -I 'neutron:compute' state.sls neutron
11 salt -I 'neutron:compute' file.append /etc/sudoers.d/neutron_sudoers \
12   args='neutron ALL = (root) NOPASSWD: /usr/bin/neutron-rootwrap-daemon /etc/neutron/rootwrap.conf'