summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Carrez <thierry@openstack.org>2013-01-28 16:42:25 +0100
committerThierry Carrez <thierry@openstack.org>2013-01-28 16:48:15 +0100
commit86cc62b58b0704aad319961a1d0494e4f2660157 (patch)
treef54679bf275a00c6fc12012397e9722c9c781f00
parentb5288ab022d3733abae25971ca8afb56f1a7011b (diff)
downloadoslo-86cc62b58b0704aad319961a1d0494e4f2660157.tar.gz
oslo-86cc62b58b0704aad319961a1d0494e4f2660157.tar.xz
oslo-86cc62b58b0704aad319961a1d0494e4f2660157.zip
rootwrap: Avoid PEP8 errors on name replacement
Avoid triggering PEP8 errors when "oslo" is replaced by the project name in oslo-rootwrap. Made necessary by "cinder", but tested compatible with "ceilometer". Change-Id: I9a1e25ec58e8b1e833c00f6cbb2083f967cbef76
-rwxr-xr-xbin/oslo-rootwrap13
1 files changed, 8 insertions, 5 deletions
diff --git a/bin/oslo-rootwrap b/bin/oslo-rootwrap
index af504f7..12b2379 100755
--- a/bin/oslo-rootwrap
+++ b/bin/oslo-rootwrap
@@ -20,14 +20,17 @@
Filters which commands a service is allowed to run as another user.
- To use this with oslo, you should set the following in oslo.conf:
+ To use this with oslo, you should set the following in
+ oslo.conf:
rootwrap_config=/etc/oslo/rootwrap.conf
- You also need to let the oslo user run oslo-rootwrap as root in sudoers:
- oslo ALL = (root) NOPASSWD: /usr/bin/oslo-rootwrap /etc/oslo/rootwrap.conf *
+ You also need to let the oslo user run oslo-rootwrap
+ as root in sudoers:
+ oslo ALL = (root) NOPASSWD: /usr/bin/oslo-rootwrap
+ /etc/oslo/rootwrap.conf *
- Service packaging should deploy .filters files only on nodes where they are
- needed, to avoid allowing more than is necessary.
+ Service packaging should deploy .filters files only on nodes where
+ they are needed, to avoid allowing more than is necessary.
"""
import ConfigParser