misc: adapt to change in wcsctl path (#18011)

This commit is contained in:
Frédéric Péters 2017-08-15 10:44:56 +02:00
parent 0f15949772
commit 2ddd8631f4
4 changed files with 5 additions and 5 deletions

2
README
View File

@ -139,7 +139,7 @@ Agents
- w.c.s.
w.c.s. instances will be deployed using "/usr/sbin/wcsctl" by default, this
w.c.s. instances will be deployed using "/usr/bin/wcsctl" by default, this
command can be adapted in the WCS_MANAGE_COMMAND setting. It should be run
with the same rights as the wcs process (redefine the command to use sudo
if necessary).

View File

@ -17,7 +17,7 @@ BROKER_URL = 'amqp://'
# *.dev.example.net.
AGENT_HOST_PATTERNS = None
WCS_MANAGE_COMMAND = 'sudo -u wcs /usr/sbin/wcsctl -f /etc/wcs/wcs-au-quotidien.cfg'
WCS_MANAGE_COMMAND = 'sudo -u wcs /usr/bin/wcsctl -f /etc/wcs/wcs-au-quotidien.cfg'
AUTHENTIC_MANAGE_COMMAND = 'sudo -u authentic-multitenant /usr/bin/authentic2-multitenant-manage'
COMBO_MANAGE_COMMAND = 'sudo -u combo /usr/bin/combo-manage'
PASSERELLE_MANAGE_COMMAND = 'sudo -u passerelle /usr/bin/passerelle-manage'

View File

@ -1,4 +1,4 @@
hobo-agent ALL=(wcs)NOPASSWD:/usr/sbin/wcsctl -f /etc/wcs/wcs-au-quotidien.cfg hobo_deploy * -
hobo-agent ALL=(wcs)NOPASSWD:/usr/bin/wcsctl -f /etc/wcs/wcs-au-quotidien.cfg hobo_deploy * -
hobo-agent ALL=(authentic-multitenant)NOPASSWD:/usr/bin/authentic2-multitenant-manage hobo_deploy * -
hobo-agent ALL=(combo)NOPASSWD:/usr/bin/combo-manage hobo_deploy * -
hobo-agent ALL=(passerelle)NOPASSWD:/usr/bin/passerelle-manage hobo_deploy * -
@ -11,7 +11,7 @@ hobo-agent ALL=(hobo-piwik)NOPASSWD:/usr/bin/piwik-manage hobo_deploy * -
hobo-agent ALL=(bijoe)NOPASSWD:/usr/bin/bijoe-manage hobo_deploy * -
hobo-agent ALL=(hobo)NOPASSWD:/usr/bin/hobo-manage hobo_deploy * -
hobo-agent ALL=(wcs)NOPASSWD:/usr/sbin/wcsctl -f /etc/wcs/wcs-au-quotidien.cfg hobo_notify -
hobo-agent ALL=(wcs)NOPASSWD:/usr/bin/wcsctl -f /etc/wcs/wcs-au-quotidien.cfg hobo_notify -
hobo-agent ALL=(authentic-multitenant)NOPASSWD:/usr/bin/authentic2-multitenant-manage hobo_notify -
hobo-agent ALL=(combo)NOPASSWD:/usr/bin/combo-manage hobo_notify -
hobo-agent ALL=(passerelle)NOPASSWD:/usr/bin/passerelle-manage hobo_notify -

View File

@ -17,7 +17,7 @@ BROKER_URL = 'amqp://'
# *.dev.example.net.
AGENT_HOST_PATTERNS = None
WCS_MANAGE_COMMAND = '/usr/sbin/wcsctl'
WCS_MANAGE_COMMAND = '/usr/bin/wcsctl'
AUTHENTIC_MANAGE_COMMAND = '/usr/bin/authentic2-multitenant-manage'
COMBO_MANAGE_COMMAND = '/usr/lib/combo/manage.py'
PASSERELLE_MANAGE_COMMAND = '/usr/lib/passerelle/manage.py'