From ca7b73348a6a114591e8416e4cefee55ecd7d957 Mon Sep 17 00:00:00 2001 From: Matthew Scragg Date: Thu, 16 Jan 2014 16:10:54 -0600 Subject: [PATCH] salt changes --- srv/salt/realms/init.sls | 2 +- srv/salt/supervisor/init.sls | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/srv/salt/realms/init.sls b/srv/salt/realms/init.sls index a20be0c..f5f6e4e 100644 --- a/srv/salt/realms/init.sls +++ b/srv/salt/realms/init.sls @@ -31,5 +31,5 @@ realms-repo: virtualenv.managed: - requirements: /home/deploy/realms/requirements.txt - cwd: /home/deploy/realms - - runas: deploy + - user: deploy diff --git a/srv/salt/supervisor/init.sls b/srv/salt/supervisor/init.sls index 0b62147..dab0896 100644 --- a/srv/salt/supervisor/init.sls +++ b/srv/salt/supervisor/init.sls @@ -1,4 +1,4 @@ -/etc/supervisord.conf: +/etc/conf.d/realms.conf: file.managed: - source: salt://supervisor/supervisord.conf @@ -14,4 +14,4 @@ supervisor-run: - unless: test -e /tmp/supervisord.pid - name: /usr/local/bin/supervisord - require: - - file.managed: /etc/supervisord.conf \ No newline at end of file + - file.managed: /etc/conf.d/realms.conf \ No newline at end of file