- 13 Apr, 2017 1 commit
-
-
Heechul Kim committed
-
- 12 Apr, 2017 1 commit
-
-
Heechul Kim committed
-
- 11 Apr, 2017 1 commit
-
-
diff --git a/srv/fai/config/hooks/savelog.LAST.sh b/srv/fai/config/hooks/savelog.LAST.sh index c2c6153..5eb93f6 100755 --- a/srv/fai/config/hooks/savelog.LAST.sh +++ b/srv/fai/config/hooks/savelog.LAST.sh @@ -172,7 +172,7 @@ $myignorepatterns" if [ ! -n "$PORCH_URL" ] then echo "PORCH_URL is not set. Let's set it." - PORCH_URL=$(echo $FAI_CONFIG_SRC |cut -d'/' -f1,2,3)a + PORCH_URL=$(echo $FAI_CONFIG_SRC |cut -d'/' -f1,2,3) fi /usr/bin/curl -XPOST $PORCH_URL/api/machine/$HOSTNAME/installed
Heechul Kim committed
-
- 10 Apr, 2017 1 commit
-
-
Heechul Kim committed
-
- 03 Apr, 2017 2 commits
-
-
Heechul Kim committed
- 31 Mar, 2017 3 commits
-
-
Heechul Kim committed
-
index 4ee3026..400dcc4 100644 --- a/conf/uwsgi.ini +++ b/conf/uwsgi.ini @@ -5,6 +5,8 @@ master = true venv = /home/%(uid)/.envs/porch chdir = /home/%(uid)/porch manage-script-name = true +plugin = python3 +enable-threads = true mount = /=wsgi:app logto2 = /home/%(uid)/porch/porch.log @@ -12,3 +14,7 @@ log-maxsize = 10485760 log-backupname = /home/%(uid)/porch/porch.log.old vacuum = true + +# for forked long running process +close-on-exec = true +close-on-exec2 = true
Heechul Kim committed
- 30 Mar, 2017 4 commits
-
-
index 52b0b75..302b336 100644 --- a/porch/templates/bind_main.j2 +++ b/porch/templates/bind_main.j2 @@ -12,7 +12,7 @@ - name: Get bind source tarball from ftp://ftp.isc.org. get_url: - url: ftp://ftp.isc.org/isc/bind9/{{ d['tag'] }}/bind-{{ d['tag'] }}.tar.gz + url: http://ftp.isc.org/isc/bind9/{{ d['tag'] }}/bind-{{ d['tag'] }}.tar.gz dest: /tmp/bind-{{ d['tag'] }}.tar.gz - name: untar the source tarball to managed node's /tmp.
Heechul Kim committed -
index 1edf286..ff4c2cb 100644 --- a/porch/api/app/bizlogic.py +++ b/porch/api/app/bizlogic.py @@ -192,7 +192,8 @@ def play_app(name, data): # Let's play. s_prikey = PRIKEY_DIR + '/prikey' - s_ssh_options = "--ssh-common-args='-o UserKnownHostsFile=/dev/null'" + s_ssh_options = "--ssh-common-args='-o UserKnownHostsFile=/dev/null \ + -o StrictHostKeyChecking=no'" s_cmd= "ansible-playbook {0} -i {1}/hosts --private-key={2} {1}/site.yml"\ .format(s_ssh_options, s_play_dir, s_prikey) log.debug(s_cmd)
Heechul Kim committed -
Heechul Kim committed
-
Heechul Kim committed
-
- 29 Mar, 2017 1 commit
-
-
Heechul Kim committed
-
- 28 Mar, 2017 3 commits
-
-
Heechul Kim committed
-
Heechul Kim committed
-
Heechul Kim committed
-
- 27 Mar, 2017 1 commit
-
-
Heechul Kim committed
-
- 25 Mar, 2017 1 commit
-
-
Heechul Kim committed
-
- 24 Mar, 2017 5 commits
-
-
Heechul Kim committed
-
Heechul Kim committed
-
* Added PORCH_URL in setup.DEFAULT.sh * Added selinux disabled * Modified dynamically get PORCH_URL
Heechul Kim committed -
Heechul Kim committed
-
Heechul Kim committed
-
- 23 Mar, 2017 2 commits
-
-
Heechul Kim committed
-
Heechul Kim committed
-
- 22 Mar, 2017 9 commits
-
-
Heechul Kim committed
-
Heechul Kim committed
-
Heechul Kim committed
-
Heechul Kim committed
-
Heechul Kim committed
-
Heechul Kim committed
-
Heechul Kim committed
-
Heechul Kim committed
-
Heechul Kim committed
-
- 21 Mar, 2017 2 commits
-
-
Heechul Kim committed
-
Heechul Kim committed
-
- 27 Feb, 2017 3 commits
-
-
Heechul Kim committed
-
Heechul Kim committed
-
Heechul Kim committed
-