ianmiell / themortgagemeter

Code for themortgagemeter.com
GNU General Public License v2.0
5 stars 1 forks source link

Error caught: Exit value from command cd /usr/local/lib/python2.7/dist-packages was: None #1

Closed casertap closed 8 years ago

casertap commented 9 years ago

Hi, when I try to build the docker image I get

> END_UZHmNWqk
> END_AAbsYKBO
SHUTIT_default#OeP8QVn6>chmod +x /tmp/shutit_root/tmp_AAbsYKBO
SHUTIT_default#OeP8QVn6>/tmp/shutit_root/tmp_AAbsYKBO
SHUTIT_default#OeP8QVn6>rm -f /tmp/shutit_root/tmp_AAbsYKBO
SHUTIT_default#OeP8QVn6>bind '\C-i:complete' 
SHUTIT_default#OeP8QVn6>cd /usr/local/lib/python2.7/dist-packages
SHUTIT_default#OeP8QVn6> echo EXIT_CODE:$?
EXIT_CODE:0
SHUTIT_default#OeP8QVn6>cd /usr/local/lib/python2.7/dist-packages
SHUTIT_default#OeP8QVn6> echo EXIT_CODE:$?
EXIT_CODE:0
SHUTIT_default#OeP8QVn6>cd /usr/local/lib/python2.7/dist-packages
SHUTIT_default#OeP8QVn6>Error caught: Exit value from command
cd /usr/local/lib/python2.7/dist-packages
was:
None

Exit value from command
cd /usr/local/lib/python2.7/dist-packages
was:
None
Error seen, exiting with status 1
The command '/bin/sh -c shutit build --shutit_module_path /opt/shutit-library --delivery dockerfile' returned a non-zero code: 1

I am running docker in a linux ubuntu/trusty64 vm.

ianmiell commented 9 years ago

Hi, can you supply complete output? Thanks, Ian

On Wed, Sep 16, 2015 at 2:27 PM, casertap notifications@github.com wrote:

Hi, when I try to build the docker image I get

SHUTIT_default#OeP8QVn6>Error caught: Exit value from command cd /usr/local/lib/python2.7/dist-packages was: None

Exit value from command cd /usr/local/lib/python2.7/dist-packages was: None Error seen, exiting with status 1 The command '/bin/sh -c shutit build --shutit_module_path /opt/shutit-library --delivery dockerfile' returned a non-zero code: 1

— Reply to this email directly or view it on GitHub https://github.com/ianmiell/themortgagemeter/issues/1.

Currently co-authoring a book on Docker: Get 39% off with the code 39miell http://manning.com/miell/?a_aid=zwischenzugs&a_bid=e0d48f62

casertap commented 9 years ago

vagrant@lightweight-rails-app:~/themortgagemeter-master$ docker build -t themorgagemeter .

Sending build context to Docker daemon 557.1 kB
Sending build context to Docker daemon 1.114 MB
Sending build context to Docker daemon 1.671 MB
Sending build context to Docker daemon 2.228 MB
Sending build context to Docker daemon 2.785 MB
Sending build context to Docker daemon 3.342 MB
Sending build context to Docker daemon 3.899 MB
Sending build context to Docker daemon 4.456 MB
Sending build context to Docker daemon 5.014 MB
Sending build context to Docker daemon 5.402 MB

Sending build context to Docker daemon 
Step 0 : FROM ubuntu:14.04.2
 ---> 63e3c10217b8
Step 1 : MAINTAINER ian.miell@gmail.com
 ---> Using cache
 ---> 5254d815a739
Step 2 : RUN apt-get update && apt-get install -y -qq git python-pip
 ---> Using cache
 ---> c599cccb9805
Step 3 : RUN pip install shutit
 ---> Using cache
 ---> 59a0845053e9
Step 4 : WORKDIR /opt
 ---> Using cache
 ---> 08ea509438d8
Step 5 : RUN git clone https://github.com/ianmiell/shutit-library
 ---> Using cache
 ---> b12be0c5c593
Step 6 : ENV HOME /root
 ---> Using cache
 ---> 362a44693043
Step 7 : RUN mkdir /opt/themortgagemeter
 ---> Using cache
 ---> b0aa5ab1e841
Step 8 : ADD . /opt/themortgagemeter
 ---> 12971e8ec711
Removing intermediate container a381af0ae056
Step 9 : RUN mkdir ~/.shutit
 ---> Running in fae35807a757
 ---> 660c236af0ea
Removing intermediate container fae35807a757
Step 10 : RUN touch ~/.shutit/config
 ---> Running in d0fb43bcd4a6
 ---> decb0962a3a0
Removing intermediate container d0fb43bcd4a6
Step 11 : RUN chmod 600 ~/.shutit/config
 ---> Running in 37eae0b4d04a
 ---> f4c14f0e155f
Removing intermediate container 37eae0b4d04a
Step 12 : RUN echo "[com.themortgagemeter.setup]" > ~/.shutit/config
 ---> Running in e0ef1cfdba0e
 ---> 27edb2a6f253
Removing intermediate container e0ef1cfdba0e
Step 13 : RUN echo "gitrepo:https://github.com/ianmiell/themortgagemeter.git" >> ~/.shutit/config
 ---> Running in 8d944852235d
 ---> 54e73a64586f
Removing intermediate container 8d944852235d
Step 14 : RUN echo "senderemail:ian.miell@gmail.com" >> ~/.shutit/config
 ---> Running in b9b1bd631442
 ---> 8c1662f9fe59
Removing intermediate container b9b1bd631442
Step 15 : RUN echo "mailpass:mymailpass" >> ~/.shutit/config
 ---> Running in 1072d13590b1
 ---> cea671819a07
Removing intermediate container 1072d13590b1
Step 16 : RUN echo "adminemail:ian.miell@gmail.com" >> ~/.shutit/config
 ---> Running in 5b4d8edd579d
 ---> 03f026be551b
Removing intermediate container 5b4d8edd579d
Step 17 : RUN echo "sitename:The Mortgage Meter" >> ~/.shutit/config
 ---> Running in 1e695d6c8a76
 ---> 365b1cb460c2
Removing intermediate container 1e695d6c8a76
Step 18 : RUN echo "containerpass:rootpass" >> ~/.shutit/config
 ---> Running in 2c332184c7d7
 ---> 06c4d21ed554
Removing intermediate container 2c332184c7d7
Step 19 : WORKDIR /opt/themortgagemeter/docker/shutit/shutit_modules/com/themortgagemeter
 ---> Running in b61f83a20627
 ---> 47a4ca8c601e
Removing intermediate container b61f83a20627
Step 20 : RUN shutit build --shutit_module_path /opt/shutit-library --delivery dockerfile
 ---> Running in 5c44021d173e
LOG: 2015-09-16 13:32:49 Files are not secure, mode should be 0600. Running the following commands to correct:

chmod 0600 configs/build.cnf

LOG: 2015-09-16 13:32:49 

Do you want me to run this for you? (input y/n)

LOG: 2015-09-16 13:32:49 Correcting insecure file permissions on: configs/build.cnf
 export SHUTIT_BACKUP_PS1_origin_prompt=$PS1 && PS1='SHUTIT_ORIGIN_ENV#85YEsTqP>' && unset PROMPT_COMMAND && stty cols 320
<docker/shutit/shutit_modules/com/themortgagemeter#  export SHUTIT_BACKUP_PS1
<es/com/themortgagemeter#  export SHUTIT_BACKUP_PS1_                         origin_prompt=$PS1 && PS1
<export SHUTIT_BACKUP_PS1_origin_prompt=$PS1 && PS1=                         'SHUTIT_ORIGIN_ENV#85YEsT
<rigin_prompt=$PS1 && PS1='SHUTIT_ORIGIN_ENV#85YEsTq                         P>' && unset PROMPT_COMMA
<SHUTIT_ORIGIN_ENV#85YEsTqP>' && unset PROMPT_COMMAN                         D && stty cols 320
SHUTIT_ORIGIN_ENV#85YEsTqP> test -d /tmp/shutit_root/03f32a75121d_root_1442410369.36.362248/environment_id && echo FILEXIST-""FILFIN || echo FILNEXIST-""FILFIN
FILNEXIST-FILFIN
SHUTIT_ORIGIN_ENV#85YEsTqP>mkdir -p /tmp/shutit_root/03f32a75121d_root_1442410369.36.362248/environment_id
SHUTIT_ORIGIN_ENV#85YEsTqP> echo EXIT_CODE:$?
 echo EXIT_CODE:$?
EXIT_CODE:0
SHUTIT_ORIGIN_ENV#85YEsTqP>chmod -R 777 /tmp/shutit_root
SHUTIT_ORIGIN_ENV#85YEsTqP> echo EXIT_CODE:$?
 echo EXIT_CODE:$?
EXIT_CODE:0
SHUTIT_ORIGIN_ENV#85YEsTqP>touch /tmp/shutit_root/03f32a75121d_root_1442410369.36.362248/environment_id/ORIGIN_ENV
SHUTIT_ORIGIN_ENV#85YEsTqP> echo EXIT_CODE:$?
 echo EXIT_CODE:$?
EXIT_CODE:0
SHUTIT_ORIGIN_ENV#85YEsTqP> export SHUTIT_BACKUP_PS1
<es/com/themortgagemeter#  export SHUTIT_BACKUP_PS1_                         root=$PS1 && PS1='SHUTIT_
<export SHUTIT_BACKUP_PS1_root=$PS1 && PS1='SHUTIT_d                         efault#hVXlDMt8>' && unse
<oot=$PS1 && PS1='SHUTIT_default#hVXlDMt8>' && unset                          PROMPT_COMMAND && stty c
<fault#hVXlDMt8>' && unset PROMPT_COMMAND && stty co                         ls 320
SHUTIT_default#hVXlDMt8> test -d /tmp/shutit_root/03f32a75121d_root_1442410369.36.362248/environment_id && echo FILEXIST-""FILFIN || echo FILNEXIST-""FILFIN
FILEXIST-FILFIN
SHUTIT_default#hVXlDMt8> test -d /tmp/shutit_root/03f32a75121d_root_1442410369.36.362248/environment_id && echo FILEXIST-""FILFIN || echo FILNEXIST-""FILFIN
FILEXIST-FILFIN
SHUTIT_default#hVXlDMt8> ls /tmp/shutit_root/03f32a75121d_root_1442410369.36.362248/environment_id
ORIGIN_ENV
SHUTIT_default#hVXlDMt8> test -a /etc/issue && echo FILEXIST-""FILFIN || echo FILNEXIST-""FILFIN
FILEXIST-FILFIN
SHUTIT_default#hVXlDMt8> cat /etc/issue
Ubuntu 14.04.2 LTS \n \l

SHUTIT_default#hVXlDMt8>apt-get update

0% [Working]

Ign http://archive.ubuntu.com trusty InRelease

12% [Working]

Ign http://archive.ubuntu.com trusty-updates InRelease

20% [Working]

Ign http://archive.ubuntu.com trusty-security InRelease

25% [Working]

Hit http://archive.ubuntu.com trusty Release.gpg

50% [Working]

Get:1 http://archive.ubuntu.com trusty-updates Release.gpg [933 B]

100% [1 Release.gpg 933 B/933 B 100%]

100% [Working]

Hit http://archive.ubuntu.com trusty-security Release.gpg

100% [Working]

Hit http://archive.ubuntu.com trusty Release

100% [Working]

100% [Release gpgv 58.5 kB] [Waiting for headers]

99% [Waiting for headers]

Get:2 http://archive.ubuntu.com trusty-updates Release [63.5 kB]

100% [2 Release 63.5 kB/63.5 kB 100%]

100% [Working]

100% [2 Release gpgv 63.5 kB]

100% [Waiting for headers]

Hit http://archive.ubuntu.com trusty-security Release

100% [Waiting for headers]

100% [Release gpgv 63.5 kB] [Waiting for headers]

100% [Waiting for headers]

Hit http://archive.ubuntu.com trusty/main Sources

100% [Waiting for headers]

Hit http://archive.ubuntu.com trusty/restricted Sources

100% [Waiting for headers]

100% [Sources 0 B] [Waiting for headers]

Hit http://archive.ubuntu.com trusty/universe Sources

100% [Sources 1335 kB]

100% [Waiting for headers]

100% [Sources 0 B] [Waiting for headers]

100% [Waiting for headers]

100% [Sources 0 B] [Waiting for headers]

Hit http://archive.ubuntu.com trusty/main amd64 Packages

100% [Sources 7926 kB]

Hit http://archive.ubuntu.com trusty/restricted amd64 Packages

100% [Sources 7926 kB]

Hit http://archive.ubuntu.com trusty/universe amd64 Packages

100% [Sources 7926 kB]

100% [Waiting for headers]

100% [Packages 0 B] [Waiting for headers]

Get:3 http://archive.ubuntu.com trusty-updates/main Sources [294 kB]

98% [Packages 1743 kB] [3 Sources 62.2 kB/294 kB 21%]

100% [Packages 1743 kB]

100% [Waiting for headers]

100% [Packages 0 B] [Waiting for headers]

100% [Waiting for headers]

100% [Packages 0 B] [Waiting for headers]

Get:4 http://archive.ubuntu.com trusty-updates/restricted Sources [4521 B]

100% [Packages 7589 kB] [4 Sources 4521 B/4521 B 100%]

100% [Packages 7589 kB] [Waiting for headers]

Get:5 http://archive.ubuntu.com trusty-updates/universe Sources [170 kB]

99% [Packages 7589 kB] [5 Sources 102 kB/170 kB 60%]

100% [Packages 7589 kB]

100% [Waiting for headers]

100% [3 Sources 294 kB] [Waiting for headers]

100% [Waiting for headers]

100% [4 Sources 4521 B] [Waiting for headers]

100% [Waiting for headers]

100% [5 Sources 170 kB] [Waiting for headers]

100% [Waiting for headers]
100% [Waiting for headers]
100% [Waiting for headers]

Get:6 http://archive.ubuntu.com trusty-updates/main amd64 Packages [779 kB]

97% [6 Packages 143 kB/779 kB 18%]

100% [Working]

100% [6 Packages 779 kB]

100% [Waiting for headers]

Get:7 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [22.7 kB]

100% [7 Packages 2569 B/22.7 kB 11%]

100% [Working]

100% [7 Packages 22.7 kB] [Waiting for headers]

100% [Waiting for headers]
100% [Waiting for headers]

Get:8 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [407 kB]

98% [8 Packages 36.0 kB/407 kB 9%]

100% [Working]

100% [8 Packages 407 kB]

100% [Waiting for headers]

Hit http://archive.ubuntu.com trusty-security/main Sources

100% [Waiting for headers]

100% [Sources 0 B] [Waiting for headers]

100% [Waiting for headers]

Hit http://archive.ubuntu.com trusty-security/restricted Sources

100% [Working]

100% [Sources 0 B] [Waiting for headers]

100% [Waiting for headers]

Hit http://archive.ubuntu.com trusty-security/universe Sources

100% [Waiting for headers]

100% [Sources 0 B] [Waiting for headers]

100% [Waiting for headers]

Hit http://archive.ubuntu.com trusty-security/main amd64 Packages

100% [Working]

100% [Packages 0 B] [Waiting for headers]

100% [Waiting for headers]

Hit http://archive.ubuntu.com trusty-security/restricted amd64 Packages

100% [Waiting for headers]

100% [Packages 0 B] [Waiting for headers]

100% [Waiting for headers]

Hit http://archive.ubuntu.com trusty-security/universe amd64 Packages

100% [Working]

100% [Packages 0 B]

100% [Working]

Fetched 1741 kB in 5s (329 kB/s)

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 36%

Reading package lists... Done

SHUTIT_default#hVXlDMt8> echo EXIT_CODE:$?
 echo EXIT_CODE:$?
EXIT_CODE:0
SHUTIT_default#hVXlDMt8>command -v lsb_release
/usr/bin/lsb_release
SHUTIT_default#hVXlDMt8> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.2 LTS
Release:    14.04
Codename:   trusty
SHUTIT_default#hVXlDMt8>mkdir -p /tmp/shutit_root/03f32a75121d_root_1442410369.36.362248/environment_id
SHUTIT_default#hVXlDMt8> echo EXIT_CODE:$?
 echo EXIT_CODE:$?
EXIT_CODE:0
SHUTIT_default#hVXlDMt8>chmod -R 777 /tmp/shutit_root
SHUTIT_default#hVXlDMt8> echo EXIT_CODE:$?
 echo EXIT_CODE:$?
EXIT_CODE:0
SHUTIT_default#hVXlDMt8>touch /tmp/shutit_root/03f32a75121d_root_1442410369.36.362248/environment_id/YLrlw4tu
SHUTIT_default#hVXlDMt8> echo EXIT_CODE:$?
 echo EXIT_CODE:$?
EXIT_CODE:0
SHUTIT_default#hVXlDMt8>chmod -R 777 /tmp/shutit_root/03f32a75121d_root_1442410369.36.362248
SHUTIT_default#hVXlDMt8> echo EXIT_CODE:$?
 echo EXIT_CODE:$?
EXIT_CODE:0
SHUTIT_default#hVXlDMt8> mkdir -p /tmp/shutit_root/03f32a75121d_root_1442410369.36.362248/build_db/03f32a75121d_root_1442410369.36.362248
SHUTIT_default#hVXlDMt8> echo EXIT_CODE:$?
 echo EXIT_CODE:$?
EXIT_CODE:0
SHUTIT_default#hVXlDMt8> test -d /tmp/shutit_root/03f32a75121d_root_1442410369.36.362248/build_db/module_record && echo FILEXIST-""FILFIN || echo FILNEXIST-""FILFIN
FILNEXIST-FILFIN
SHUTIT_default#hVXlDMt8> test -a /root/start_ssh_server.sh && echo FILEXIST-""FILFIN || echo FILNEXIST-""FILFIN
FILNEXIST-FILFIN
SHUTIT_default#hVXlDMt8>{'shutit.tk.httpdiff.httpdiff': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:14.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.btsync.btsync': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.go.go': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:14.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'com.themortgagemeter.setup': {'shutit.core.module.remove': False, 'containerpass': 'rootpass', 'shutit.core.module.build_ifneeded': False, 'mailpass': 'mymailpass', 'sitename': 'The Mortgage Meter', 'shutit.core.module.allowed_images': ['.*'], 'gitpassword': 'defaultgitpassword', 'senderemail': 'ian.miell@gmail.com', 'gitrepo': 'https://github.com/ianmiell/themortgagemeter.git', 'shutit.core.module.tag': False, 'shutit.core.module.build': True, 'adminemail': 'ian.miell@gmail.com'}, 'shutit_home': '/root/.shutit', 'shutit.tk.mysql.mysql': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu.*', u'debian.*'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.vnc.vnc': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu.*', u'debian.*'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'environment': {'YLrlw4tu': {'modules_recorded_cache_valid': True, 'modules_ready': [], 'install_type': 'apt', 'modules_recorded': [], 'distro_version': '14.04', 'modules_installed': [], 'module_root_dir': '/', 'modules_not_installed': ['shutit.tk.supervisor.supervisor', 'shutit.tk.gmailer.gmailer', 'shutit.tk.aws.aws', 'shutit.tk.squid_deb_proxy.squid_deb_proxy', 'shutit.tk.chaos.chaos', 'shutit.tk.postgres_9_5.postgres_9_5', 'shutit.tk.buildroot.buildroot', 'shutit.tk.tclpy.tclpy', 'shutit.tk.chef.chef', 'shutit.tk.thrift.thrift', 'shutit.tk.osquery.osquery', 'shutit.tk.haproxy.haproxy', 'shutit.tk.ssh_server.ssh_server', 'shutit.tk.influxdb.influxdb', 'shutit.tk.nodejs.nodejs', 'shutit.tk.steam.steam', 'shutit.tk.ssh_key.ssh_key', 'shutit.tk.couchdb.couchdb', 'shutit.tk.headless.headless', 'shutit.tk.rethinkdb.rethinkdb', 'shutit.tk.linuxbrew.linuxbrew', 'shutit.tk.copy_ssh_key.copy_ssh_key', 'shutit.tk.pigshell.psty', 'shutit.tk.pigshell.pigshell', 'shutit.tk.redis.redis', 'shutit.tk.httpdiff.httpdiff', 'shutit.tk.rabbitmq.rabbitmq', 'shutit.tk.transmission.transmission', 'shutit.tk.plex.plex', 'shutit.tk.phpmyadmin.phpmyadmin', 'shutit.tk.minimal_linux.minimal_linux', 'shutit.tk.sickbeard.sickbeard', 'shutit.tk.btsync.btsync', 'shutit.tk.camlistore.camlistore', 'shutit.tk.fpm.fpm', 'shutit.tk.jira_client.jira_client.jira_client.jira_client', 'shutit.tk.apache_proxypass.apache_proxypass', 'shutit.tk.binspector.binspector', 'shutit.tk.composer.composer', 'shutit.tk.git_server.git_server', 'shutit.tk.memcache.memcache', 'shutit.tk.mysql.mysql', 'shutit.tk.django.django', 'shutit.tk.vnc.vnc', 'shutit.tk.wordpress.wordpress', 'shutit.tk.win2048.win2048', 'shutit.tk.hostx.hostx', 'shutit.tk.learnxthehardway.learnxthehardway', 'shutit.tk.puppet.puppet', 'shutit.tk.taigaio.taigaio', 'shutit.tk.jenkins.jenkins', 'shutit.tk.wine.wine', 'shutit.tk.ttygif.ttygif', 'shutit.tk.laravel.laravel', 'shutit.tk.docker.docker', 'shutit.tk.shutit.shutit', 'shutit.tk.weave.weave', 'shutit.tk.record_shutit_build.record_shutit_build', 'shutit.tk.spidermonkey.spidermonkey', 'shutit.tk.mesos.mesos', 'shutit.tk.pg_bulkload.pg_bulkload', 'shutit.tk.cloudera.cloudera', 'shutit.tk.skype_pulseaudio.skype_pulseaudio', 'shutit.tk.artifactory.artifactory', 'shutit.tk.apt_mirror.apt_mirror', 'shutit-library.virtualbox.virtualbox.virtualbox', 'tk.shutit.vagrant.vagrant.vagrant', 'shutit.tk.wildfly.wildfly', 'shutit.tk.alfs.alfs', 'shutit.tk.mitmproxy.mitmproxy', 'shutit.tk.go.go'], 'setup': True, 'distro': 'ubuntu'}, 'ORIGIN_ENV': {'modules_recorded_cache_valid': False, 'modules_ready': [], 'modules_recorded': [], 'modules_installed': [], 'module_root_dir': '/', 'modules_not_installed': [], 'setup': True}}, 'shutit.tk.sickbeard.sickbeard': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.osquery.osquery': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:14.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.git_server.git_server': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu.*', u'debian:.*'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'dockerfile': {}, 'build': {'distro_override': '', 'step_through': False, 'walkthrough': False, 'ctrlc_stop': False, 'install_type_map': {'red hat': 'yum', 'shutit': 'src', 'centos': 'yum', 'osx': 'brew', 'gentoo': 'emerge', 'coreos': 'docker', 'ubuntu': 'apt', 'debian': 'apt', 'alpine': 'apk', 'steamos': 'apt', 'fedora': 'yum', 'oracleserver': 'yum'}, 'check_exit': True, 'last_output': 'FILNEXIST-FILFIN\r\n', 'build_id': '03f32a75121d_root_1442410369.36.362248', 'build_log_file': <open file '/tmp/shutit_root/03f32a75121d_root_1442410369.36.362248/shutit_build.log', mode 'a' at 0x7f1b90f50390>, 'imageerrorok': False, 'extra_configs': [], 'build_log': True, 'report_final_messages': '', 'lxc_conf': '', 'source': {'/opt/themortgagemeter/docker/shutit/shutit_modules/com/themortgagemeter/themortgagemeter.py': 'from shutit_module import ShutItModule\n\nclass themortgagemeter(ShutItModule):\n\n\tdef is_installed(self,shutit):\n\t\tshutit.send(\'export LANG=en_US.UTF-8\')\n\t\tshutit.send(\'locale-gen en_US.UTF-8\')\n\t\tshutit.send(\'update-locale LANG=en_US.UTF-8\')\n\t\treturn False\n\n\tdef build(self,shutit):\n\t\tconfig_dict = shutit.cfg\n\t\tshutit.install(\'adduser\')\n\t\tshutit.install(\'cron\')\n\t\tshutit.install(\'sudo\')\n\t\tshutit.install(\'telnet\')\n\t\tshutit.install(\'openssh-server\')\n\t\tshutit.send(\'mkdir -p /var/run/ssh\')\n\t\tshutit.send(\'groupadd -g 1000 themortgagemeter\')\n\t\tshutit.send(\'useradd -g themortgagemeter -d /home/themortgagemeter -s /bin/bash -m themortgagemeter\')\n\t\tshutit.send(\'adduser themortgagemeter sudo\')\n\t\tshutit.send(\'echo "%sudo ALL=(ALL:ALL) ALL" > /etc/sudoers.d/sudo\')\n\t\tshutit.send(\'chmod 0440 /etc/sudoers.d/sudo\')\n\t\tshutit.send("""echo "\n# m h  dom mon dow   command\n00 16 * * * cd /opt/themortgagemeter/bin && ./get_mortgages.sh 2>&1 > /tmp/get_mortgages.out && cd /opt/themortgagemeter/retrieval/emailer && python emailer.py 2>&1 > /tmp/emailer.out\n00 16 * * * cd /opt/themortgagemeter/bin && ./get_savings.sh 2>&1 > /tmp/get_savings.out\n00 19 * * * (cd /opt/themortgagemeter/bin && ./backup_db.exp) > /tmp/backupout 2>&1" | crontab -u themortgagemeter -""")\n\t\tshutit.send(\'passwd\',\'new UNIX password:\')\n\t\tshutit.send(config_dict[self.module_id][\'containerpass\'],\'new UNIX password:\',check_exit=False)\n\t\tshutit.send(config_dict[self.module_id][\'containerpass\'],check_exit=False)\n\t\t# prevent grub from being installed\n\t\tshutit.send(\'echo "Package: grub-pc" >> /etc/apt/preferences\')\n\t\tshutit.send(\'echo "Pin: release *" >> /etc/apt/preferences\')\n\t\tshutit.send(\'echo "Pin-Priority: -1" >> /etc/apt/preferences\')\n\t\tshutit.install(\'linux-image-virtual\',timeout=1200)\n\t\tshutit.install(\'vim expect linux-tools-common linux-tools-virtual postgresql libpq-dev libpostgresql-jdbc-java python-psycopg2 xml-twig-tools html2text tidy git-core python-pip python-html5lib python-beautifulsoup python-pygresql python-bs4 python-html5lib npm apache2 libapache2-mod-wsgi python-django python-pexpect curl git busybox-syslogd cron\',timeout=2400)\n\t\tshutit.send(\'pip install beautifulsoup4\')\n\t\tshutit.send(\'pip install openpyxl\')\n\t\tshutit.send(\'chmod 777 /opt\')\n\t\tif shutit.file_exists(\'/opt/themortgagemeter\'):\n\t\t\tshutit.send(\'rm -rf /opt/themortgagemeter\')\n\t\tshutit.login(\'themortgagemeter\')\n\t\t# If we\'re delivering within a dockerfile this will already have been added\n\t\tif not shutit.file_exists(\'/opt/themortgagemeter\'):\n\t\t\tshutit.send(\'cd /opt\')\n\t\t\tif shutit.send(\'git clone \' + shutit.cfg[self.module_id][\'gitrepo\'] + \' themortgagemeter\',expect=[\'assword\',shutit.get_default_expect()],check_exit=False) == 0:\n\t\t\t\tshutit.send(config_dict[self.module_id][\'gitpassword\'])\n\t\tshutit.send(\'cd /opt/themortgagemeter\')\n\t\tshutit.send(\'git submodule init\')\n\t\tshutit.send(\'git submodule update\')\n\t\tshutit.send(\'cd /opt/themortgagemeter/simple_mailer\')\n\t\tshutit.send(\'git pull origin master\')\n\t\tshutit.send(\'chmod 600 /opt/themortgagemeter/conf/mailpass\')\n\t\tshutit.send(\'echo -n "\' + shutit.cfg[self.module_id][\'mailpass\'] + \'" > /opt/themortgagemeter/conf/mailpass\')\n\t\tshutit.logout()\n\t\tshutit.send("perl -p -i -e \'s/Require all denied/Require all granted/\' /etc/apache2/apache2.conf")\n\t\tshutit.send(\'cp /opt/themortgagemeter/website/apache2/sites-enabled/000-default /etc/apache2/sites-available/000-default.conf\')\n\t\tshutit.send(\'cp /opt/themortgagemeter/website/apache2/sites-enabled/000-default /etc/apache2/sites-available/000-default.conf\')\n\t\t#change the perms on the log folders to 777 (the umask is applied on creation)\n\t\tshutit.send(\'chmod 777 /opt/themortgagemeter/retrieval/mortgages/logs\')\n\t\tshutit.send(\'chmod 777 /opt/themortgagemeter/retrieval/data/logs\')\n\t\tshutit.send(\'mkdir -p /opt/themortgagemeter/website/django/themortgagemeter/logs\')\n\t\tshutit.send(\'touch /opt/themortgagemeter/website/django/themortgagemeter/logs/log.log\')\n\t\tshutit.send(\'chmod 777 /opt/themortgagemeter/website/django/themortgagemeter/logs\')\n\t\tshutit.send(\'chmod 777 /opt/themortgagemeter/website/django/themortgagemeter/logs/log.log\')\n\t\t##install the database\n\t\tshutit.login(\'postgres\')\n\t\tshutit.send(\'psql postgres < /opt/themortgagemeter/sql/CREATE_DATABASE.sql\')\n\t\t##set the postgres and themortgagemeter password (as postgres):\n\t\tshutit.send_and_expect(\'/opt/themortgagemeter/bin/create_user.sh\')\n\t\tshutit.send(\'psql themortgagemeter < /opt/themortgagemeter/sql/SCHEMA.sql\')\n\t\tshutit.send(\'psql themortgagemeter < /opt/themortgagemeter/sql/DATA.sql\')\n\t\tshutit.logout()\n\t\tshutit.add_line_to_file(\'#!/bin/bash\',\'/root/start_themortgagemeter.sh\')\n\t\tshutit.add_line_to_file(\'/root/start_postgres.sh\',\'/root/start_themortgagemeter.sh\')\n\t\tshutit.add_line_to_file(\'apache2ctl restart\',\'/root/start_themortgagemeter.sh\')\n\t\tshutit.add_line_to_file(\'service ssh start\',\'/root/start_themortgagemeter.sh\')\n\t\tshutit.add_line_to_file(\'service busybox-syslogd start\',\'/root/start_themortgagemeter.sh\')\n\t\tshutit.add_line_to_file(\'cron -f -L 8\',\'/root/start_themortgagemeter.sh\')\n\t\tshutit.send(\'chmod +x /root/start_themortgagemeter.sh\')\n\t\tshutit.send(\'cd /opt/themortgagemeter\')\n\t\t# The below strings are deliberately broken up to ensure we don\'t overwrite them ourselves :)\n\t\tshutit.send("find . -type f -print0 | xargs -0 sed -i \'s/THEMORTGAGEMETER" + "_ADMINEMAIL/" + shutit.cfg[self.module_id][\'adminemail\'] + "/g\'")\n\t\tshutit.send("find . -type f -print0 | xargs -0 sed -i \'s/THEMORTGAGEMETER" + "_SENDEREMAIL/" + shutit.cfg[self.module_id][\'senderemail\'] + "/g\'")\n\t\tshutit.send("find . -type f -print0 | xargs -0 sed -i \'s/THEMORTGAGEMETER" + "_SITENAME/" + shutit.cfg[self.module_id][\'sitename\'] + "/g\'")\n\t\tshutit.send("find . -type f -print0 | xargs -0 sed -i \'s/THEMORTGAGEMETER" + "_GITPASSWORD/" + shutit.cfg[self.module_id][\'gitpassword\'] + "/g\'")\n\t\treturn True\n\n\tdef start(self,shutit):\n\t\tshutit.send(\'apache2ctl restart\')\n\t\tshutit.send(\'service postgresql start\')\n\t\tshutit.send(\'service busybox-syslogd start\')\n\t\treturn True\n\n\tdef stop(self,shutit):\n\t\tshutit.send(\'apache2ctl stop\')\n\t\tshutit.send(\'service postgresql stop\')\n\t\tshutit.send(\'service busybox-syslogd stop\')\n\t\treturn True\n\n\tdef get_config(self, shutit):\n\t\tshutit.get_config(self.module_id, \'gitpassword\',\'defaultgitpassword\')\n\t\tshutit.get_config(self.module_id, \'gitrepo\')\n\t\tshutit.get_config(self.module_id, \'mailpass\')\n\t\tshutit.get_config(self.module_id, \'adminemail\')\n\t\tshutit.get_config(self.module_id, \'senderemail\')\n\t\tshutit.get_config(self.module_id, \'sitename\')\n\t\tshutit.get_config(self.module_id, \'containerpass\')\n\t\tprint shutit.cfg\n\t\treturn True\n\n\tdef test(self, shutit):\n\t\treturn True\n\ndef module():\n\treturn themortgagemeter(\n\t\t\'com.themortgagemeter.setup\', 1003189494.56,\n\t\tdescription=\'Builds the mortgage comparison site\',\n\t\tdepends=[\'shutit.tk.setup\',\'shutit.tk.postgres.postgres\',\'shutit.tk.phantomjs.phantomjs\',\'shutit.tk.casperjs.casperjs\']\n\t)\n\n\n'}, 'shutit_state_dir_base': '/tmp/shutit_root', 'shutit_state_dir': '/tmp/shutit_root/03f32a75121d_root_1442410369.36.362248', 'net': '', 'mount_docker': False, 'privileged': False, 'do_update': False, 'dotest': 'yes', 'trace': False, 'logins': {'root': {'whoami': ''}}, 'login_stack': ['root'], 'completed': False, 'conn_module': 'shutit.tk.conn_bash', 'delivery': 'dockerfile', 'debug': False, 'stty_cols': 320, 'ignorestop': False, 'ignoreimage': False, 'report': '', 'deps_only': False, 'shutit.core.module.allowed_images': set([]), 'base_image': 'ubuntu:14.04', 'command_pause': 0.05, 'tag_modules': False, 'accept_defaults': None, 'config_overrides': [('host', 'shutit_module_path', '/opt/shutit-library:.')], 'current_environment_id': 'YLrlw4tu', 'build_db_dir': '/tmp/shutit_root/03f32a75121d_root_1442410369.36.362248/build_db', 'interactive': 0}, 'shutit.tk.camlistore.camlistore': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'stackbrew/debian:jessie'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.phpmyadmin.phpmyadmin': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.wildfly.wildfly': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:14.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.memcache.memcache': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': ['.*'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.taigaio.taigaio': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:14.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'list_deps': {}, 'expect_prompts': {'origin_prompt': 'SHUTIT_ORIGIN_ENV#85YEsTqP>', 'root': 'SHUTIT_default#hVXlDMt8>', 'base_prompt': '\r\n.*[@#$] '}, 'shutit.tk.linuxbrew.linuxbrew': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:14.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.influxdb.influxdb': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.ssh_server.ssh_server': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': ['.*'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.shutit.shutit': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:14.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.rethinkdb.rethinkdb': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.postgres_9_5.postgres_9_5': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': ['.*'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.jenkins.jenkins': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:12.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.headless.headless': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:12.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.win2048.win2048': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu.*'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.couchdb.couchdb': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.squid_deb_proxy.squid_deb_proxy': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu.*'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.rabbitmq.rabbitmq': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'fedora'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'users': {}, 'shutit-library.virtualbox.virtualbox.virtualbox': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:14.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.chef.chef': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:14.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.thrift.thrift': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:14.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.gmailer.gmailer': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:12.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.wordpress.wordpress': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu.*'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.transmission.transmission': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'repository': {'password': '', 'name': 'themortgagemeter', 'suffix_format': '%m', 'suffix_date': False, 'server': '', 'tag_name': 'latest', 'tag': True, 'export': False, 'user': 'themortgagemeter', 'push': False, 'save': False, 'email': ''}, 'shutit.tk.copy_ssh_key.copy_ssh_key': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:12.04', u'ubuntu:14.04', u'imiell/sd_.*'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'host': {'username': 'root', 'docker_executable': 'docker', 'password': '', 'shutit_path': '/usr/local/bin', 'shutit_module_path': ['/opt/shutit-library', '.'], 'logfile': '/tmp/shutit_root/03f32a75121d_root_1442410369.36.362248/shutit_build.log', 'artifacts_dir': '/usr/local/lib/python2.7/dist-packages/artifacts', 'add_shutit_to_path': True, 'dns': '', 'real_user': 'root', 'real_user_id': '0'}, 'shutit.tk.record_shutit_build.record_shutit_build': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:14.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.apt_mirror.apt_mirror': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'.*'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'action': {'list_modules': False, 'skeleton': False, 'list_configs': False, 'list_deps': False, 'serve': False, 'build': True}, 'shutit.tk.tclpy.tclpy': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:12.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.postgres.postgres': {'shutit.core.module.build': True, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:14.04', u'ubuntu:14.04.2'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.fpm.fpm': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:12.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'config_parser': <shutit_util.LayerConfigParser instance at 0x7f1b90e9ca70>, 'shutit.tk.chaos.chaos': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:14.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.casperjs.casperjs': {'shutit.core.module.build': True, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': ['.*'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.plex.plex': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:trusty'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.phantomjs.phantomjs': {'shutit.core.module.build': True, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': ['.*'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.weave.weave': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:14.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.setup': {'do_update': True, 'shutit.core.module.remove': False, 'shutit.core.module.build_ifneeded': False, 'shutit.core.module.allowed_images': ['.*'], 'shutit.core.module.tag': False, 'shutit.core.module.build': True}, 'shutit.tk.alfs.alfs': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'debian:jessie'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'list_modules': {'sort': None, 'long': False}, 'shutit.tk.jira_client.jira_client.jira_client.jira_client': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:12.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'list_configs': {'cfghistory': False}, 'shutit.tk.minimal_linux.minimal_linux': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'debian:jessie'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.composer.composer': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:12.04', u'ubuntu:14.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.steam.steam': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'tianon/steamos'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.laravel.laravel': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:14.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.aws.aws': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': ['.*'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.puppet.puppet': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:14.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.mesos.mesos': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:12.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'target': {'name': '', 'locale': 'en_US.UTF-8', 'hostname': '', 'rm': False, 'ports': '', 'docker_image': 'ubuntu:14.04'}, 'shutit.tk.redis.redis': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'dockerfile/ubuntu'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.ttygif.ttygif': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:14.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.wine.wine': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:12.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.spidermonkey.spidermonkey': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'debian:jessie'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.binspector.binspector': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:14.04', u'imiell/llvm'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.pigshell.psty': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:14.10'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.apache_proxypass.apache_proxypass': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:14.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.hostx.hostx': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu.*'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.haproxy.haproxy': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:12.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.pigshell.pigshell': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:14.10'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.pg_bulkload.pg_bulkload': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:14.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.docker.docker': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:14.04', u'ubuntu:12.04', u'debian:jessie'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.mitmproxy.mitmproxy': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:14.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'tk.shutit.vagrant.vagrant.vagrant': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:14.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.ssh_key.ssh_key': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu.*', u'centos:centos7'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.buildroot.buildroot': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:14.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.skype_pulseaudio.skype_pulseaudio': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'debian:stable'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.django.django': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:14.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.cloudera.cloudera': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:12.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.artifactory.artifactory': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:12.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.learnxthehardway.learnxthehardway': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:14.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.supervisor.supervisor': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:14.04'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}, 'shutit.tk.nodejs.nodejs': {'shutit.core.module.build': False, 'shutit.core.module.remove': False, 'shutit.core.module.allowed_images': [u'ubuntu:14.04', u'ubuntu:trusty', u'imiell/llvm'], 'shutit.core.module.build_ifneeded': True, 'shutit.core.module.tag': False}}
bash
bash
root@03f32a75121d:/opt/themortgagemeter/docker/shutit/shutit_modules/com/themortgagemeter#  export SHUTIT_BACKUP_PS1_UY46uVio=$PS1 && PS1='SHUTIT_shutit.tk.setup#TAziRBV9>' && unset PROMPT_COMMAND && stty cols 320
SHUTIT_shutit.tk.setup#TAziRBV9> test -d /tmp/shutit_root/03f32a75121d_root_1442410369.36.362248/environment_id && echo FILEXIST-""FILFIN || echo FILNEXIST-""FILFIN
FILEXIST-FILFIN
SHUTIT_shutit.tk.setup#TAziRBV9> test -d /tmp/shutit_root/03f32a75121d_root_1442410369.36.362248/environment_id && echo FILEXIST-""FILFIN || echo FILNEXIST-""FILFIN
FILEXIST-FILFIN
SHUTIT_shutit.tk.setup#TAziRBV9> ls /tmp/shutit_root/03f32a75121d_root_1442410369.36.362248/environment_id
ORIGIN_ENV  YLrlw4tu
SHUTIT_shutit.tk.setup#TAziRBV9>cd
SHUTIT_shutit.tk.setup#TAziRBV9>cd /usr/local/lib/python2.7/dist-packages
SHUTIT_shutit.tk.setup#TAziRBV9> echo EXIT_CODE:$?
 echo EXIT_CODE:$?
EXIT_CODE:0
SHUTIT_shutit.tk.setup#TAziRBV9>exit
exit
SHUTIT_default#hVXlDMt8>cd /opt/themortgagemeter/docker/shutit/shutit_modules/com/themortgagemeter
SHUTIT_default#hVXlDMt8> echo EXIT_CODE:$?
 echo EXIT_CODE:$?
EXIT_CODE:0
SHUTIT_default#hVXlDMt8>bash
bash
root@03f32a75121d:/opt/themortgagemeter/docker/shutit/shutit_modules/com/themortgagemeter#  export SHUTIT_BACKUP_PS1_vYMoizDp=$PS1 && PS1='SHUTIT_shutit.tk.casperjs.casperjs#K0UMG683>' && unset PROMPT_COMMAND && stty cols 320
SHUTIT_shutit.tk.casperjs.casperjs#K0UMG683> test -d /tmp/shutit_root/03f32a75121d_root_1442410369.36.362248/environment_id && echo FILEXIST-""FILFIN || echo FILNEXIST-""FILFIN
FILEXIST-FILFIN
SHUTIT_shutit.tk.casperjs.casperjs#K0UMG683> test -d /tmp/shutit_root/03f32a75121d_root_1442410369.36.362248/environment_id && echo FILEXIST-""FILFIN || echo FILNEXIST-""FILFIN
FILEXIST-FILFIN
SHUTIT_shutit.tk.casperjs.casperjs#K0UMG683> ls /tmp/shutit_root/03f32a75121d_root_1442410369.36.362248/environment_id
ORIGIN_ENV  YLrlw4tu
SHUTIT_shutit.tk.casperjs.casperjs#K0UMG683>cd
SHUTIT_shutit.tk.casperjs.casperjs#K0UMG683>cd /opt/shutit-library/casperjs
SHUTIT_shutit.tk.casperjs.casperjs#K0UMG683> echo EXIT_CODE:$?
 echo EXIT_CODE:$?
EXIT_CODE:0
SHUTIT_shutit.tk.casperjs.casperjs#K0UMG683>exit
exit
SHUTIT_default#hVXlDMt8>cd /opt/themortgagemeter/docker/shutit/shutit_modules/com/themortgagemeter
SHUTIT_default#hVXlDMt8> echo EXIT_CODE:$?
 echo EXIT_CODE:$?
EXIT_CODE:0
SHUTIT_default#hVXlDMt8>bash
bash
root@03f32a75121d:/opt/themortgagemeter/docker/shutit/shutit_modules/com/themortgagemeter#  export SHUTIT_BACKUP_PS1_pEcsrtfK=$PS1 && PS1='SHUTIT_shutit.tk.phantomjs.phantomjs#I4bhT6zC>' && unset PROMPT_COMMAND && stty cols 320
SHUTIT_shutit.tk.phantomjs.phantomjs#I4bhT6zC> test -d /tmp/shutit_root/03f32a75121d_root_1442410369.36.362248/environment_id && echo FILEXIST-""FILFIN || echo FILNEXIST-""FILFIN
FILEXIST-FILFIN
SHUTIT_shutit.tk.phantomjs.phantomjs#I4bhT6zC> test -d /tmp/shutit_root/03f32a75121d_root_1442410369.36.362248/environment_id && echo FILEXIST-""FILFIN || echo FILNEXIST-""FILFIN
FILEXIST-FILFIN
SHUTIT_shutit.tk.phantomjs.phantomjs#I4bhT6zC> ls /tmp/shutit_root/03f32a75121d_root_1442410369.36.362248/environment_id
ORIGIN_ENV  YLrlw4tu
SHUTIT_shutit.tk.phantomjs.phantomjs#I4bhT6zC>cd
SHUTIT_shutit.tk.phantomjs.phantomjs#I4bhT6zC>cd /opt/shutit-library/phantomjs
SHUTIT_shutit.tk.phantomjs.phantomjs#I4bhT6zC> echo EXIT_CODE:$?
 echo EXIT_CODE:$?
EXIT_CODE:0
SHUTIT_shutit.tk.phantomjs.phantomjs#I4bhT6zC>exit
exit
SHUTIT_default#hVXlDMt8>cd /opt/themortgagemeter/docker/shutit/shutit_modules/com/themortgagemeter
SHUTIT_default#hVXlDMt8> echo EXIT_CODE:$?
 echo EXIT_CODE:$?
EXIT_CODE:0
SHUTIT_default#hVXlDMt8>bash
bash
root@03f32a75121d:/opt/themortgagemeter/docker/shutit/shutit_modules/com/themortgagemeter#  export SHUTIT_BACKUP_PS1_nxXXsMNz=$PS1 && PS1='SHUTIT_shutit.tk.postgres.postgres#mtRgOfwU>' && unset PROMPT_COMMAND && stty cols 320
SHUTIT_shutit.tk.postgres.postgres#mtRgOfwU> test -d /tmp/shutit_root/03f32a75121d_root_1442410369.36.362248/environment_id && echo FILEXIST-""FILFIN || echo FILNEXIST-""FILFIN
FILEXIST-FILFIN
SHUTIT_shutit.tk.postgres.postgres#mtRgOfwU> test -d /tmp/shutit_root/03f32a75121d_root_1442410369.36.362248/environment_id && echo FILEXIST-""FILFIN || echo FILNEXIST-""FILFIN
FILEXIST-FILFIN
SHUTIT_shutit.tk.postgres.postgres#mtRgOfwU> ls /tmp/shutit_root/03f32a75121d_root_1442410369.36.362248/environment_id
ORIGIN_ENV  YLrlw4tu
SHUTIT_shutit.tk.postgres.postgres#mtRgOfwU>cd
SHUTIT_shutit.tk.postgres.postgres#mtRgOfwU>cd /opt/shutit-library/postgres
SHUTIT_shutit.tk.postgres.postgres#mtRgOfwU> echo EXIT_CODE:$?
 echo EXIT_CODE:$?
EXIT_CODE:0
SHUTIT_shutit.tk.postgres.postgres#mtRgOfwU>exit
exit
SHUTIT_default#hVXlDMt8>cd /opt/themortgagemeter/docker/shutit/shutit_modules/com/themortgagemeter
SHUTIT_default#hVXlDMt8> echo EXIT_CODE:$?
 echo EXIT_CODE:$?
EXIT_CODE:0
SHUTIT_default#hVXlDMt8>export LANG=en_US.UTF-8
SHUTIT_default#hVXlDMt8> echo EXIT_CODE:$?
 echo EXIT_CODE:$?
EXIT_CODE:0
SHUTIT_default#hVXlDMt8>locale-gen en_US.UTF-8
Generating locales...
  en_US.UTF-8... done
Generation complete.
SHUTIT_default#hVXlDMt8> echo EXIT_CODE:$?
 echo EXIT_CODE:$?
EXIT_CODE:0
SHUTIT_default#hVXlDMt8>update-locale LANG=en_US.UTF-8
SHUTIT_default#hVXlDMt8> echo EXIT_CODE:$?
 echo EXIT_CODE:$?
EXIT_CODE:0
SHUTIT_default#hVXlDMt8>bash
bash
root@03f32a75121d:/opt/themortgagemeter/docker/shutit/shutit_modules/com/themortgagemeter#  export SHUTIT_BACKUP_PS1_9qKjmlS4=$PS1 && PS1='SHUTIT_com.themortgagemeter.setup#UubuaYyd>' && unset PROMPT_COMMAND && stty cols 320
SHUTIT_com.themortgagemeter.setup#UubuaYyd> test -d /tmp/shutit_root/03f32a75121d_root_1442410369.36.362248/environment_id && echo FILEXIST-""FILFIN || echo FILNEXIST-""FILFIN
FILEXIST-FILFIN
SHUTIT_com.themortgagemeter.setup#UubuaYyd> test -d /tmp/shutit_root/03f32a75121d_root_1442410369.36.362248/environment_id && echo FILEXIST-""FILFIN || echo FILNEXIST-""FILFIN
FILEXIST-FILFIN
SHUTIT_com.themortgagemeter.setup#UubuaYyd> ls /tmp/shutit_root/03f32a75121d_root_1442410369.36.362248/environment_id
ORIGIN_ENV  YLrlw4tu
SHUTIT_com.themortgagemeter.setup#UubuaYyd>cd
SHUTIT_com.themortgagemeter.setup#UubuaYyd>cd /opt/themortgagemeter/docker/shutit/shutit_modules/com/themortgagemeter
SHUTIT_com.themortgagemeter.setup#UubuaYyd> echo EXIT_CODE:$?
 echo EXIT_CODE:$?
EXIT_CODE:0
SHUTIT_com.themortgagemeter.setup#UubuaYyd>exit
exit
SHUTIT_default#hVXlDMt8>cd /opt/themortgagemeter/docker/shutit/shutit_modules/com/themortgagemeter
SHUTIT_default#hVXlDMt8> echo EXIT_CODE:$?
 echo EXIT_CODE:$?
EXIT_CODE:0
SHUTIT_default#hVXlDMt8>whoami
root
SHUTIT_default#hVXlDMt8>groups | cut -f 1 -d ' '
root
SHUTIT_default#hVXlDMt8>bind '\C-i:self-insert' 
SHUTIT_default#hVXlDMt8>truncate --size 0 /tmp/shutit_root/tmp_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> head   -c -1 > /tmp/shutit_root/03f32a75121d_root_1442410369.36.362248/build_db/03f32a75121d_root_1442410369.36.362248/03f32a75121d_root_1442410369.36.362248.cfg << 'END_rubj5J85'
> 
> [action]
> build:True
> list_configs:False
> list_deps:False
> list_modules:False
> serve:False
> skeleton:False
> 
> [build]
> acce
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> pt_defaults:None
> base_image:ubuntu:14.04
> build_db_dir:/tmp/shutit_root/03f32a75121d_root_1442410369.36.362248/build_db
> build_id:03f32a75121d_root_1442410369.36.362248
> build_log:True
> build_log_file:<open file '/tmp/shutit_root/03f32a75121d_root_1442410369.36.362248/shutit_build.log', mode 'a' at
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
>  0x7f1b90f50390>
> check_exit:True
> command_pause:0.05
> completed:False
> config_overrides:[('host', 'shutit_module_path', '/opt/shutit-library:.')]
> conn_module:shutit.tk.conn_bash
> ctrlc_stop:False
> current_environment_id:YLrlw4tu
> debug:False
> delivery:dockerfile
> deps_only:False
> distro_override:
> do_upd
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> ate:False
> dotest:yes
> extra_configs:[]
> ignoreimage:False
> ignorestop:False
> imageerrorok:False
> install_type_map:{'red hat': 'yum', 'shutit': 'src', 'centos': 'yum', 'osx': 'brew', 'gentoo': 'emerge', 'coreos': 'docker', 'ubuntu': 'apt', 'debian': 'apt', 'alpine': 'apk', 'steamos': 'apt', 'fedora':
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
>  'yum', 'oracleserver': 'yum'}
> interactive:0
> last_output:
> login_stack:['root']
> logins:{'nxXXsMNz': {'whoami': ''}, 'pEcsrtfK': {'whoami': ''}, 'vYMoizDp': {'whoami': ''}, '9qKjmlS4': {'whoami': ''}, 'root': {'whoami': ''}, 'UY46uVio': {'whoami': ''}}
> lxc_conf:
> mount_docker:False
> net:
> privileged
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> :False
> report:
> report_final_messages:
> shutit.core.module.allowed_images:set([])
> shutit_state_dir:/tmp/shutit_root/03f32a75121d_root_1442410369.36.362248
> shutit_state_dir_base:/tmp/shutit_root
> source:{'/opt/themortgagemeter/docker/shutit/shutit_modules/com/themortgagemeter/themortgagemeter.py': 
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> 'from shutit_module import ShutItModule\n\nclass themortgagemeter(ShutItModule):\n\n\tdef is_installed(self,shutit):\n\t\tshutit.send(\'export LANG=en_US.UTF-8\')\n\t\tshutit.send(\'locale-gen en_US.UTF-8\')\n\t\tshutit.send(\'update-locale LANG=en_US.UTF-8\')\n\t\treturn False\n\n\tdef build(s
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> elf,shutit):\n\t\tconfig_dict = shutit.cfg\n\t\tshutit.install(\'adduser\')\n\t\tshutit.install(\'cron\')\n\t\tshutit.install(\'sudo\')\n\t\tshutit.install(\'telnet\')\n\t\tshutit.install(\'openssh-server\')\n\t\tshutit.send(\'mkdir -p /var/run/ssh\')\n\t\tshutit.send(\'groupadd -g 1000 themort
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> gagemeter\')\n\t\tshutit.send(\'useradd -g themortgagemeter -d /home/themortgagemeter -s /bin/bash -m themortgagemeter\')\n\t\tshutit.send(\'adduser themortgagemeter sudo\')\n\t\tshutit.send(\'echo "%sudo ALL=(ALL:ALL) ALL" > /etc/sudoers.d/sudo\')\n\t\tshutit.send(\'chmod 0440 /etc/sudoers.d/s
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> udo\')\n\t\tshutit.send("""echo "\n# m h  dom mon dow   command\n00 16 * * * cd /opt/themortgagemeter/bin && ./get_mortgages.sh 2>&1 > /tmp/get_mortgages.out && cd /opt/themortgagemeter/retrieval/emailer && python emailer.py 2>&1 > /tmp/emailer.out\n00 16 * * * cd /opt/themortgagemeter/bin && .
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> /get_savings.sh 2>&1 > /tmp/get_savings.out\n00 19 * * * (cd /opt/themortgagemeter/bin && ./backup_db.exp) > /tmp/backupout 2>&1" | crontab -u themortgagemeter -""")\n\t\tshutit.send(\'passwd\',\'new UNIX password:\')\n\t\tshutit.send(config_dict[self.module_id][\'containerpass\'],\'new UNIX pa
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> ssword:\',check_exit=False)\n\t\tshutit.send(config_dict[self.module_id][\'containerpass\'],check_exit=False)\n\t\t# prevent grub from being installed\n\t\tshutit.send(\'echo "Package: grub-pc" >> /etc/apt/preferences\')\n\t\tshutit.send(\'echo "Pin: release *" >> /etc/apt/preferences\')\n\t\ts
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> hutit.send(\'echo "Pin-Priority: -1" >> /etc/apt/preferences\')\n\t\tshutit.install(\'linux-image-virtual\',timeout=1200)\n\t\tshutit.install(\'vim expect linux-tools-common linux-tools-virtual postgresql libpq-dev libpostgresql-jdbc-java python-psycopg2 xml-twig-tools html2text tidy git-core p
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> ython-pip python-html5lib python-beautifulsoup python-pygresql python-bs4 python-html5lib npm apache2 libapache2-mod-wsgi python-django python-pexpect curl git busybox-syslogd cron\',timeout=2400)\n\t\tshutit.send(\'pip install beautifulsoup4\')\n\t\tshutit.send(\'pip install openpyxl\')\n\t\ts
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> hutit.send(\'chmod 777 /opt\')\n\t\tif shutit.file_exists(\'/opt/themortgagemeter\'):\n\t\t\tshutit.send(\'rm -rf /opt/themortgagemeter\')\n\t\tshutit.login(\'themortgagemeter\')\n\t\t# If we\'re delivering within a dockerfile this will already have been added\n\t\tif not shutit.file_exists(\'/
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> opt/themortgagemeter\'):\n\t\t\tshutit.send(\'cd /opt\')\n\t\t\tif shutit.send(\'git clone \' + shutit.cfg[self.module_id][\'gitrepo\'] + \' themortgagemeter\',expect=[\'assword\',shutit.get_default_expect()],check_exit=False) == 0:\n\t\t\t\tshutit.send(config_dict[self.module_id][\'gitpassword
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> \'])\n\t\tshutit.send(\'cd /opt/themortgagemeter\')\n\t\tshutit.send(\'git submodule init\')\n\t\tshutit.send(\'git submodule update\')\n\t\tshutit.send(\'cd /opt/themortgagemeter/simple_mailer\')\n\t\tshutit.send(\'git pull origin master\')\n\t\tshutit.send(\'chmod 600 /opt/themortgagemeter/co
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> nf/mailpass\')\n\t\tshutit.send(\'echo -n "\' + shutit.cfg[self.module_id][\'mailpass\'] + \'" > /opt/themortgagemeter/conf/mailpass\')\n\t\tshutit.logout()\n\t\tshutit.send("perl -p -i -e \'s/Require all denied/Require all granted/\' /etc/apache2/apache2.conf")\n\t\tshutit.send(\'cp /opt/themo
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> rtgagemeter/website/apache2/sites-enabled/000-default /etc/apache2/sites-available/000-default.conf\')\n\t\tshutit.send(\'cp /opt/themortgagemeter/website/apache2/sites-enabled/000-default /etc/apache2/sites-available/000-default.conf\')\n\t\t#change the perms on the log folders to 777 (the uma
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> sk is applied on creation)\n\t\tshutit.send(\'chmod 777 /opt/themortgagemeter/retrieval/mortgages/logs\')\n\t\tshutit.send(\'chmod 777 /opt/themortgagemeter/retrieval/data/logs\')\n\t\tshutit.send(\'mkdir -p /opt/themortgagemeter/website/django/themortgagemeter/logs\')\n\t\tshutit.send(\'touch 
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> /opt/themortgagemeter/website/django/themortgagemeter/logs/log.log\')\n\t\tshutit.send(\'chmod 777 /opt/themortgagemeter/website/django/themortgagemeter/logs\')\n\t\tshutit.send(\'chmod 777 /opt/themortgagemeter/website/django/themortgagemeter/logs/log.log\')\n\t\t##install the database\n\t\tsh
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> utit.login(\'postgres\')\n\t\tshutit.send(\'psql postgres < /opt/themortgagemeter/sql/CREATE_DATABASE.sql\')\n\t\t##set the postgres and themortgagemeter password (as postgres):\n\t\tshutit.send_and_expect(\'/opt/themortgagemeter/bin/create_user.sh\')\n\t\tshutit.send(\'psql themortgagemeter < 
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> /opt/themortgagemeter/sql/SCHEMA.sql\')\n\t\tshutit.send(\'psql themortgagemeter < /opt/themortgagemeter/sql/DATA.sql\')\n\t\tshutit.logout()\n\t\tshutit.add_line_to_file(\'#!/bin/bash\',\'/root/start_themortgagemeter.sh\')\n\t\tshutit.add_line_to_file(\'/root/start_postgres.sh\',\'/root/start_
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> themortgagemeter.sh\')\n\t\tshutit.add_line_to_file(\'apache2ctl restart\',\'/root/start_themortgagemeter.sh\')\n\t\tshutit.add_line_to_file(\'service ssh start\',\'/root/start_themortgagemeter.sh\')\n\t\tshutit.add_line_to_file(\'service busybox-syslogd start\',\'/root/start_themortgagemeter.s
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> h\')\n\t\tshutit.add_line_to_file(\'cron -f -L 8\',\'/root/start_themortgagemeter.sh\')\n\t\tshutit.send(\'chmod +x /root/start_themortgagemeter.sh\')\n\t\tshutit.send(\'cd /opt/themortgagemeter\')\n\t\t# The below strings are deliberately broken up to ensure we don\'t overwrite them ourselves 
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> :)\n\t\tshutit.send("find . -type f -print0 | xargs -0 sed -i \'s/THEMORTGAGEMETER" + "_ADMINEMAIL/" + shutit.cfg[self.module_id][\'adminemail\'] + "/g\'")\n\t\tshutit.send("find . -type f -print0 | xargs -0 sed -i \'s/THEMORTGAGEMETER" + "_SENDEREMAIL/" + shutit.cfg[self.module_id][\'senderema
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> il\'] + "/g\'")\n\t\tshutit.send("find . -type f -print0 | xargs -0 sed -i \'s/THEMORTGAGEMETER" + "_SITENAME/" + shutit.cfg[self.module_id][\'sitename\'] + "/g\'")\n\t\tshutit.send("find . -type f -print0 | xargs -0 sed -i \'s/THEMORTGAGEMETER" + "_GITPASSWORD/" + shutit.cfg[self.module_id][\'
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> gitpassword\'] + "/g\'")\n\t\treturn True\n\n\tdef start(self,shutit):\n\t\tshutit.send(\'apache2ctl restart\')\n\t\tshutit.send(\'service postgresql start\')\n\t\tshutit.send(\'service busybox-syslogd start\')\n\t\treturn True\n\n\tdef stop(self,shutit):\n\t\tshutit.send(\'apache2ctl stop\')\n
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> \t\tshutit.send(\'service postgresql stop\')\n\t\tshutit.send(\'service busybox-syslogd stop\')\n\t\treturn True\n\n\tdef get_config(self, shutit):\n\t\tshutit.get_config(self.module_id, \'gitpassword\',\'defaultgitpassword\')\n\t\tshutit.get_config(self.module_id, \'gitrepo\')\n\t\tshutit.get_
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> config(self.module_id, \'mailpass\')\n\t\tshutit.get_config(self.module_id, \'adminemail\')\n\t\tshutit.get_config(self.module_id, \'senderemail\')\n\t\tshutit.get_config(self.module_id, \'sitename\')\n\t\tshutit.get_config(self.module_id, \'containerpass\')\n\t\tprint shutit.cfg\n\t\treturn Tr
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> ue\n\n\tdef test(self, shutit):\n\t\treturn True\n\ndef module():\n\treturn themortgagemeter(\n\t\t\'com.themortgagemeter.setup\', 1003189494.56,\n\t\tdescription=\'Builds the mortgage comparison site\',\n\t\tdepends=[\'shutit.tk.setup\',\'shutit.tk.postgres.postgres\',\'shutit.tk.phantomjs.pha
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> ntomjs\',\'shutit.tk.casperjs.casperjs\']\n\t)\n\n\n'}
> step_through:False
> stty_cols:320
> tag_modules:False
> trace:False
> walkthrough:False
> 
> [com.themortgagemeter.setup]
> adminemail:ian.miell@gmail.com
> containerpass:rootpass
> gitpassword:defaultgitpassword
> gitrepo:https://github.com/ianmiell/themortg
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> agemeter.git
> mailpass:mymailpass
> senderemail:ian.miell@gmail.com
> shutit.core.module.allowed_images:['.*']
> shutit.core.module.build:True
> shutit.core.module.build_ifneeded:False
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> sitename:The Mortgage Meter
> 
> [dockerfile]
> 
> [environment]
> O
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> RIGIN_ENV:{'modules_recorded_cache_valid': False, 'modules_ready': [], 'modules_recorded': [], 'modules_installed': [], 'module_root_dir': '/', 'modules_not_installed': [], 'setup': True}
> YLrlw4tu:{'modules_recorded_cache_valid': True, 'modules_ready': ['shutit.tk.setup', 'shutit.tk.casperjs.ca
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> sperjs', 'shutit.tk.phantomjs.phantomjs', 'shutit.tk.postgres.postgres', 'com.themortgagemeter.setup'], 'install_type': 'apt', 'modules_recorded': [], 'distro_version': '14.04', 'modules_installed': [], 'module_root_dir': '/opt/themortgagemeter/docker/shutit/shutit_modules/com/themortgagemeter'
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> , 'modules_not_installed': ['shutit.tk.supervisor.supervisor', 'shutit.tk.gmailer.gmailer', 'shutit.tk.aws.aws', 'shutit.tk.squid_deb_proxy.squid_deb_proxy', 'shutit.tk.chaos.chaos', 'shutit.tk.postgres_9_5.postgres_9_5', 'shutit.tk.buildroot.buildroot', 'shutit.tk.tclpy.tclpy', 'shutit.tk.chef
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> .chef', 'shutit.tk.thrift.thrift', 'shutit.tk.osquery.osquery', 'shutit.tk.haproxy.haproxy', 'shutit.tk.ssh_server.ssh_server', 'shutit.tk.influxdb.influxdb', 'shutit.tk.nodejs.nodejs', 'shutit.tk.steam.steam', 'shutit.tk.ssh_key.ssh_key', 'shutit.tk.couchdb.couchdb', 'shutit.tk.headless.headle
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> ss', 'shutit.tk.rethinkdb.rethinkdb', 'shutit.tk.linuxbrew.linuxbrew', 'shutit.tk.copy_ssh_key.copy_ssh_key', 'shutit.tk.pigshell.psty', 'shutit.tk.pigshell.pigshell', 'shutit.tk.redis.redis', 'shutit.tk.httpdiff.httpdiff', 'shutit.tk.rabbitmq.rabbitmq', 'shutit.tk.transmission.transmission', '
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> shutit.tk.plex.plex', 'shutit.tk.phpmyadmin.phpmyadmin', 'shutit.tk.minimal_linux.minimal_linux', 'shutit.tk.sickbeard.sickbeard', 'shutit.tk.btsync.btsync', 'shutit.tk.camlistore.camlistore', 'shutit.tk.fpm.fpm', 'shutit.tk.jira_client.jira_client.jira_client.jira_client', 'shutit.tk.apache_pr
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> oxypass.apache_proxypass', 'shutit.tk.binspector.binspector', 'shutit.tk.composer.composer', 'shutit.tk.git_server.git_server', 'shutit.tk.memcache.memcache', 'shutit.tk.mysql.mysql', 'shutit.tk.django.django', 'shutit.tk.vnc.vnc', 'shutit.tk.wordpress.wordpress', 'shutit.tk.win2048.win2048', '
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> shutit.tk.hostx.hostx', 'shutit.tk.learnxthehardway.learnxthehardway', 'shutit.tk.puppet.puppet', 'shutit.tk.taigaio.taigaio', 'shutit.tk.jenkins.jenkins', 'shutit.tk.wine.wine', 'shutit.tk.ttygif.ttygif', 'shutit.tk.laravel.laravel', 'shutit.tk.docker.docker', 'shutit.tk.shutit.shutit', 'shuti
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> t.tk.weave.weave', 'shutit.tk.record_shutit_build.record_shutit_build', 'shutit.tk.spidermonkey.spidermonkey', 'shutit.tk.mesos.mesos', 'shutit.tk.pg_bulkload.pg_bulkload', 'shutit.tk.cloudera.cloudera', 'shutit.tk.skype_pulseaudio.skype_pulseaudio', 'shutit.tk.artifactory.artifactory', 'shutit
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> .tk.apt_mirror.apt_mirror', 'shutit-library.virtualbox.virtualbox.virtualbox', 'tk.shutit.vagrant.vagrant.vagrant', 'shutit.tk.wildfly.wildfly', 'shutit.tk.alfs.alfs', 'shutit.tk.mitmproxy.mitmproxy', 'shutit.tk.go.go', 'shutit.tk.setup', 'shutit.tk.casperjs.casperjs', 'shutit.tk.phantomjs.phan
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> tomjs', 'shutit.tk.postgres.postgres', 'com.themortgagemeter.setup'], 'setup': True, 'distro': 'ubuntu'}
> 
> [expect_prompts]
> 9qKjmlS4:SHUTIT_com.themortgagemeter.setup#UubuaYyd>
> UY46uVio:SHUTIT_shutit.tk.setup#TAziRBV9>
> base_prompt:
> 
> .*[@#$] 
> nxXXsMNz:SHUTIT_shutit.tk.postgres.postgres#mtRgOfwU>
> 
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> origin_prompt:SHUTIT_ORIGIN_ENV#85YEsTqP>
> pEcsrtfK:SHUTIT_shutit.tk.phantomjs.phantomjs#I4bhT6zC>
> root:SHUTIT_default#hVXlDMt8>
> vYMoizDp:SHUTIT_shutit.tk.casperjs.casperjs#K0UMG683>
> 
> [host]
> add_shutit_to_path:True
> artifacts_dir:/usr/local/lib/python2.7/dist-packages/artifacts
> dns:
> docker_execut
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> able:docker
> logfile:/tmp/shutit_root/03f32a75121d_root_1442410369.36.362248/shutit_build.log
> password:1c96b566d729e0296ef53dc79c0786b195861872a3876d217e34043748e910e7c6dc475d5110971651e5aafc0229cb6aabdfb7e4b4e30eb005beb2c48745e044
> real_user:root
> real_user_id:0
> shutit_module_path:['/opt/shutit-l
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> ibrary', '.']
> shutit_path:/usr/local/bin
> username:root
> 
> [list_configs]
> cfghistory:False
> 
> [list_deps]
> 
> [list_modules]
> long:False
> sort:None
> 
> [repository]
> email:
> export:False
> name:themortgagemeter
> password:f1b1154909ffb60ce621cd6a44e3fc0c7ad3debeeffeff3164c1428ac21be16e3e4171ada984efb9f4053f99b340
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> 3727bb5bc20c66eecd33dfaa593702444c6b
> push:False
> save:False
> server:
> suffix_date:False
> suffix_format:%m
> tag:True
> tag_name:latest
> user:themortgagemeter
> 
> [shutit-library.virtualbox.virtualbox.virtualbox]
> shutit.core.module.allowed_images:[u'ubuntu:14.04']
> shutit.core.module.build:False
> shutit.core.
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.alfs.alfs]
> shutit.core.module.allowed_images:[u'debian:jessie']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> 
> [shutit.tk.apache_proxypass.apache_proxypass]
> shutit.core.module.allowed_images:[u'ubuntu:14.04']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.apt_mirror.apt_mirror]
> shutit.core.module.allowed_ima
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> ges:[u'.*']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.artifactory.artifactory]
> shutit.core.module.allowed_images:[u'ubuntu:12.04']
> shutit.core.module.build:False
> shutit.core.module.build_ifneede
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> d:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.aws.aws]
> shutit.core.module.allowed_images:['.*']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.binspector.binspector]
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> 
> shutit.core.module.allowed_images:[u'ubuntu:14.04', u'imiell/llvm']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.btsync.btsync]
> shutit.core.module.allowed_images:[u'ubuntu']
> shutit.core.module.bui
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> ld:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.buildroot.buildroot]
> shutit.core.module.allowed_images:[u'ubuntu:14.04']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> 
> shutit.core.module.tag:False
> 
> [shutit.tk.camlistore.camlistore]
> shutit.core.module.allowed_images:[u'stackbrew/debian:jessie']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.casperjs.casperjs]
> shuti
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> t.core.module.allowed_images:['.*']
> shutit.core.module.build:True
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.chaos.chaos]
> shutit.core.module.allowed_images:[u'ubuntu:14.04']
> shutit.core.module.build:False
> shutit.core.module.bu
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> ild_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.chef.chef]
> shutit.core.module.allowed_images:[u'ubuntu:14.04']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.t
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> k.cloudera.cloudera]
> shutit.core.module.allowed_images:[u'ubuntu:12.04']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.composer.composer]
> shutit.core.module.allowed_images:[u'ubuntu:12.04', u'ubuntu
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> :14.04']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.copy_ssh_key.copy_ssh_key]
> shutit.core.module.allowed_images:[u'ubuntu:12.04', u'ubuntu:14.04', u'imiell/sd_.*']
> shutit.core.module.build:False
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> 
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.couchdb.couchdb]
> shutit.core.module.allowed_images:[u'ubuntu']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.modul
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> e.tag:False
> 
> [shutit.tk.django.django]
> shutit.core.module.allowed_images:[u'ubuntu:14.04']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.docker.docker]
> shutit.core.module.allowed_images:[u'ubuntu:14
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> .04', u'ubuntu:12.04', u'debian:jessie']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.fpm.fpm]
> shutit.core.module.allowed_images:[u'ubuntu:12.04']
> shutit.core.module.build:False
> shutit.core.module.
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.git_server.git_server]
> shutit.core.module.allowed_images:[u'ubuntu.*', u'debian:.*']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.mod
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> ule.tag:False
> 
> [shutit.tk.gmailer.gmailer]
> shutit.core.module.allowed_images:[u'ubuntu:12.04']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.go.go]
> shutit.core.module.allowed_images:[u'ubuntu:14.04'
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> ]
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.haproxy.haproxy]
> shutit.core.module.allowed_images:[u'ubuntu:12.04']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> .module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.headless.headless]
> shutit.core.module.allowed_images:[u'ubuntu:12.04']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.hostx.hostx]
> shutit
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> .core.module.allowed_images:[u'ubuntu.*']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.httpdiff.httpdiff]
> shutit.core.module.allowed_images:[u'ubuntu:14.04']
> shutit.core.module.build:False
> shutit.c
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> ore.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.influxdb.influxdb]
> shutit.core.module.allowed_images:[u'ubuntu']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:F
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> alse
> 
> [shutit.tk.jenkins.jenkins]
> shutit.core.module.allowed_images:[u'ubuntu:12.04']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.jira_client.jira_client.jira_client.jira_client]
> shutit.core.modul
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> e.allowed_images:[u'ubuntu:12.04']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.laravel.laravel]
> shutit.core.module.allowed_images:[u'ubuntu:14.04']
> shutit.core.module.build:False
> shutit.core.modul
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> e.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.learnxthehardway.learnxthehardway]
> shutit.core.module.allowed_images:[u'ubuntu:14.04']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> .module.tag:False
> 
> [shutit.tk.linuxbrew.linuxbrew]
> shutit.core.module.allowed_images:[u'ubuntu:14.04']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.memcache.memcache]
> shutit.core.module.allowed_ima
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> ges:['.*']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.mesos.mesos]
> shutit.core.module.allowed_images:[u'ubuntu:12.04']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> .core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.minimal_linux.minimal_linux]
> shutit.core.module.allowed_images:[u'debian:jessie']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.mit
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> mproxy.mitmproxy]
> shutit.core.module.allowed_images:[u'ubuntu:14.04']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.mysql.mysql]
> shutit.core.module.allowed_images:[u'ubuntu.*', u'debian.*']
> shutit.c
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> ore.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.nodejs.nodejs]
> shutit.core.module.allowed_images:[u'ubuntu:14.04', u'ubuntu:trusty', u'imiell/llvm']
> shutit.core.module.build:False
> shutit.core.module.build_ifn
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> eeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.osquery.osquery]
> shutit.core.module.allowed_images:[u'ubuntu:14.04']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> .pg_bulkload.pg_bulkload]
> shutit.core.module.allowed_images:[u'ubuntu:14.04']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.phantomjs.phantomjs]
> shutit.core.module.allowed_images:['.*']
> shutit.core.
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> module.build:True
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.phpmyadmin.phpmyadmin]
> shutit.core.module.allowed_images:[u'ubuntu']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> False
> shutit.core.module.tag:False
> 
> [shutit.tk.pigshell.pigshell]
> shutit.core.module.allowed_images:[u'ubuntu:14.10']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.pigshell.psty]
> shutit.core.module.
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> allowed_images:[u'ubuntu:14.10']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.plex.plex]
> shutit.core.module.allowed_images:[u'ubuntu:trusty']
> shutit.core.module.build:False
> shutit.core.module.build
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> _ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.postgres.postgres]
> shutit.core.module.allowed_images:[u'ubuntu:14.04', u'ubuntu:14.04.2']
> shutit.core.module.build:True
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.modu
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> le.tag:False
> 
> [shutit.tk.postgres_9_5.postgres_9_5]
> shutit.core.module.allowed_images:['.*']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.puppet.puppet]
> shutit.core.module.allowed_images:[u'ubuntu:
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> 14.04']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.rabbitmq.rabbitmq]
> shutit.core.module.allowed_images:[u'fedora']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.co
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> re.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.record_shutit_build.record_shutit_build]
> shutit.core.module.allowed_images:[u'ubuntu:14.04']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shuti
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> t.tk.redis.redis]
> shutit.core.module.allowed_images:[u'dockerfile/ubuntu']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.rethinkdb.rethinkdb]
> shutit.core.module.allowed_images:[u'ubuntu']
> shutit.cor
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> e.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.setup]
> do_update:True
> shutit.core.module.allowed_images:['.*']
> shutit.core.module.build:True
> shutit.core.module.build_ifneeded:False
> shutit.core.module.remove:Fal
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> se
> shutit.core.module.tag:False
> 
> [shutit.tk.shutit.shutit]
> shutit.core.module.allowed_images:[u'ubuntu:14.04']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.sickbeard.sickbeard]
> shutit.core.module.a
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> llowed_images:[u'ubuntu']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.skype_pulseaudio.skype_pulseaudio]
> shutit.core.module.allowed_images:[u'debian:stable']
> shutit.core.module.build:False
> shutit.
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.spidermonkey.spidermonkey]
> shutit.core.module.allowed_images:[u'debian:jessie']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.c
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> ore.module.tag:False
> 
> [shutit.tk.squid_deb_proxy.squid_deb_proxy]
> shutit.core.module.allowed_images:[u'ubuntu.*']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.ssh_key.ssh_key]
> shutit.core.module.al
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> lowed_images:[u'ubuntu.*', u'centos:centos7']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.ssh_server.ssh_server]
> shutit.core.module.allowed_images:['.*']
> shutit.core.module.build:False
> shutit.core
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> .module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.steam.steam]
> shutit.core.module.allowed_images:[u'tianon/steamos']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:Fa
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> lse
> 
> [shutit.tk.supervisor.supervisor]
> shutit.core.module.allowed_images:[u'ubuntu:14.04']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.taigaio.taigaio]
> shutit.core.module.allowed_images:[u'ubuntu:
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> 14.04']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.tclpy.tclpy]
> shutit.core.module.allowed_images:[u'ubuntu:12.04']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.co
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> re.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.thrift.thrift]
> shutit.core.module.allowed_images:[u'ubuntu:14.04']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.transmission.transmis
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> sion]
> shutit.core.module.allowed_images:[u'ubuntu']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.ttygif.ttygif]
> shutit.core.module.allowed_images:[u'ubuntu:14.04']
> shutit.core.module.build:False
> sh
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> utit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.vnc.vnc]
> shutit.core.module.allowed_images:[u'ubuntu.*', u'debian.*']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.m
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> odule.tag:False
> 
> [shutit.tk.weave.weave]
> shutit.core.module.allowed_images:[u'ubuntu:14.04']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.wildfly.wildfly]
> shutit.core.module.allowed_images:[u'ubunt
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> u:14.04']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.win2048.win2048]
> shutit.core.module.allowed_images:[u'ubuntu.*']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.wine.wine]
> shutit.core.module.allowed_images:[u'ubuntu:12.04']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [shutit.tk.wordpress.wordpress]
> sh
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> utit.core.module.allowed_images:[u'ubuntu.*']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [target]
> docker_image:ubuntu:14.04
> hostname:
> locale:en_US.UTF-8
> name:
> ports:
> rm:False
> 
> [tk.shutit.vagrant.vagrant.vag
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>head  -c -1 >> /tmp/shutit_root/tmp_4ci6PK86 << 'END_4ci6PK86'
> rant]
> shutit.core.module.allowed_images:[u'ubuntu:14.04']
> shutit.core.module.build:False
> shutit.core.module.build_ifneeded:True
> shutit.core.module.remove:False
> shutit.core.module.tag:False
> 
> [users]
> 
> END_rubj5J85
> END_4ci6PK86
SHUTIT_default#hVXlDMt8>chmod +x /tmp/shutit_root/tmp_4ci6PK86
SHUTIT_default#hVXlDMt8>/tmp/shutit_root/tmp_4ci6PK86
SHUTIT_default#hVXlDMt8>rm -f /tmp/shutit_root/tmp_4ci6PK86
SHUTIT_default#hVXlDMt8>bind '\C-i:complete' 
SHUTIT_default#hVXlDMt8>cd /usr/local/lib/python2.7/dist-packages
SHUTIT_default#hVXlDMt8> echo EXIT_CODE:$?
EXIT_CODE:0
SHUTIT_default#hVXlDMt8>cd /usr/local/lib/python2.7/dist-packages
SHUTIT_default#hVXlDMt8> echo EXIT_CODE:$?
EXIT_CODE:0
SHUTIT_default#hVXlDMt8>cd /usr/local/lib/python2.7/dist-packages
SHUTIT_default#hVXlDMt8>Error caught: Exit value from command
cd /usr/local/lib/python2.7/dist-packages
was:
None

Exit value from command
cd /usr/local/lib/python2.7/dist-packages
was:
None
Error seen, exiting with status 1

Thanks

ianmiell commented 9 years ago

OK, have repro'd and pushed a fix. Let me know how you get on. Ian

casertap commented 9 years ago

hi @ianmiell I did

wget https://github.com/ianmiell/themortgagemeter/archive/master.zip
unzip master.zip
cd themortgagemeter-master/
docker build -t themortgagemeter .

same error

casertap commented 9 years ago

The last commit on this repo is from the 25 Jul. Are you sure you have pushed the fix?

ianmiell commented 9 years ago

Did you run docker build with --no-cache?

It may be that you are still using broken layers from previous builds.

The change was made to the shutit code and pushed to pip, so didn't affect the mm code :)

Ian

On Thu, Sep 17, 2015 at 10:11 AM, casertap notifications@github.com wrote:

hi @ianmiell https://github.com/ianmiell I did

wget https://github.com/ianmiell/themortgagemeter/archive/master.zip unzip master.zip cd themortgagemeter-master/ docker build -t themortgagemeter .

same error

— Reply to this email directly or view it on GitHub https://github.com/ianmiell/themortgagemeter/issues/1#issuecomment-141018732 .

Currently co-authoring a book on Docker: Get 39% off with the code 39miell http://manning.com/miell/?a_aid=zwischenzugs&a_bid=e0d48f62

casertap commented 9 years ago

I installed python2.7 manually

sudo apt-get install build-essential checkinstall
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
cd ~/Downloads/
wget http://python.org/ftp/python/2.7/Python-2.7.tgz
tar -xvf Python-2.7.tgz
cd Python-2.7
./configure
make

it still did not work so I tried with the --no-cache option

cd 3rdparty/harfbuzz-ng/ && ( test -e Makefile || /tmp/phantomjs/src/qt/qtbase/bin/qmake /tmp/phantomjs/src/qt/qtbase/src/3rdparty/harfbuzz-ng/harfbuzz-ng.pro -o Makefile ) && make -f Makefile 
make[2]: Entering directory `/tmp/phantomjs/src/qt/qtbase/src/3rdparty/harfbuzz-ng'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/tmp/phantomjs/src/qt/qtbase/src/3rdparty/harfbuzz-ng'
cd gui/ && ( test -e Makefile || /tmp/phantomjs/src/qt/qtbase/bin/qmake /tmp/phantomjs/src/qt/qtbase/src/gui/gui.pro -o Makefile ) && make -f Makefile 
make[2]: Entering directory `/tmp/phantomjs/src/qt/qtbase/src/gui'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/tmp/phantomjs/src/qt/qtbase/src/gui'
cd platformheaders/ && ( test -e Makefile || /tmp/phantomjs/src/qt/qtbase/bin/qmake /tmp/phantomjs/src/qt/qtbase/src/platformheaders/platformheaders.pro -o Makefile ) && make -f Makefile 
make[2]: Entering directory `/tmp/phantomjs/src/qt/qtbase/src/platformheaders'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/tmp/phantomjs/src/qt/qtbase/src/platformheaders'
cd platformsupport/ && ( test -e Makefile || /tmp/phantomjs/src/qt/qtbase/bin/qmake /tmp/phantomjs/src/qt/qtbase/src/platformsupport/platformsupport.pro -o Makefile ) && make -f Makefile 
make[2]: Entering directory `/tmp/phantomjs/src/qt/qtbase/src/platformsupport'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/tmp/phantomjs/src/qt/qtbase/src/platformsupport'
cd tools/uic/ && ( test -e Makefile || /tmp/phantomjs/src/qt/qtbase/bin/qmake /tmp/phantomjs/src/qt/qtbase/src/tools/uic/uic.pro -o Makefile ) && make -f Makefile 
make[2]: Entering directory `/tmp/phantomjs/src/qt/qtbase/src/tools/uic'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/tmp/phantomjs/src/qt/qtbase/src/tools/uic'
cd widgets/ && ( test -e Makefile || /tmp/phantomjs/src/qt/qtbase/bin/qmake /tmp/phantomjs/src/qt/qtbase/src/widgets/widgets.pro -o Makefile ) && make -f Makefile 
make[2]: Entering directory `/tmp/phantomjs/src/qt/qtbase/src/widgets'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/tmp/phantomjs/src/qt/qtbase/src/widgets'
cd printsupport/ && ( test -e Makefile || /tmp/phantomjs/src/qt/qtbase/bin/qmake /tmp/phantomjs/src/qt/qtbase/src/printsupport/printsupport.pro -o Makefile ) && make -f Makefile 
make[2]: Entering directory `/tmp/phantomjs/src/qt/qtbase/src/printsupport'
g++ -c -include .pch/Qt5PrintSupport -pipe -O2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -fno-exceptions -Wall -W -D_REENTRANT -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_C
DE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -DQT_NO_USING_NAMESPACE -DQT_BUILD_PRINTSUPPORT_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPREC
ATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../include -I../../include/QtPrintSupport -I../../include/QtPrintSupport/5.4.1 -I../../include/QtPrintSupport/5.4.1/QtPrint
Support -I../plugins/printsupport/cups -Idialogs -I../../include/QtCore/5.4.1 -I../../include/QtCore/5.4.1/QtCore -I../../include/QtGui/5.4.1 -I../../include/QtGui/5.4.1/QtGui -I../../include/QtWidgets/5.4.1 -I../../include/QtWidgets/5.4.1/QtWidgets -I../../include/QtWidg
ets -I../../include/QtGui -I../../include/QtCore -I.moc -I.uic -I../../mkspecs/linux-g++ -o .obj/qprintdevice.o kernel/qprintdevice.cpp

g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
make[2]: *** [.obj/qprintdevice.o] Error 4
make[2]: Leaving directory `/tmp/phantomjs/src/qt/qtbase/src/printsupport'
make[1]: *** [sub-printsupport-make_first] Error 2
make[1]: Leaving directory `/tmp/phantomjs/src/qt/qtbase/src'
make: *** [sub-src-make_first] Error 2
SHUTIT_shutit.tk.phantomjs.phantomjs#Gjj4AZd6> echo EXIT_CODE:$?
EXIT_CODE:1
SHUTIT_shutit.tk.phantomjs.phantomjs#Gjj4AZd6>Error caught: Exit value from command
./build.sh --confirm
was:
1

Exit value from command
./build.sh --confirm
was:
1
Error seen, exiting with status 1
The command '/bin/sh -c shutit build --shutit_module_path /opt/shutit-library --delivery dockerfile' returned a non-zero code: 1

I tried again without the --no-cache option and I still get the ./build.sh --confirm error.

I think I will give up on that example. From what I could see on the internet, Docker is more about building small containers that will communicate and share folders. For instance, having your database in one container, your python app in another, etc...

Thanks for the packtpub video course, you did a great job explaining how docker work. Cheers.

ianmiell commented 9 years ago

That's interesting:

g++: internal compiler error: Segmentation fault (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-4.8/README.Bugs for instructions. make[2]: *\ [.obj/qprintdevice.o] Error 4

That's interesting. This suggests there's a problem with compiling software there (which is outside my control and looks environment specific) - I wonder if it's pushing your CPU too hard (I run it on an 8-core machine, and it's very hungry). I guess Docker's abstraction has failed us!

Thanks for your comments - I learned a lot doing it!

Ian

On Thu, Sep 17, 2015 at 12:08 PM, casertap notifications@github.com wrote:

I installed python2.7 manually

sudo apt-get install build-essential checkinstall sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev cd ~/Downloads/ wget http://python.org/ftp/python/2.7/Python-2.7.tgz tar -xvf Python-2.7.tgz cd Python-2.7 ./configure make

it still did not work so I tried with the --no-cache option

cd 3rdparty/harfbuzz-ng/ && ( test -e Makefile || /tmp/phantomjs/src/qt/qtbase/bin/qmake /tmp/phantomjs/src/qt/qtbase/src/3rdparty/harfbuzz-ng/harfbuzz-ng.pro -o Makefile ) && make -f Makefile make[2]: Entering directory /tmp/phantomjs/src/qt/qtbase/src/3rdparty/harfbuzz-ng' make[2]: Nothing to be done forfirst'. make[2]: Leaving directory /tmp/phantomjs/src/qt/qtbase/src/3rdparty/harfbuzz-ng' cd gui/ && ( test -e Makefile || /tmp/phantomjs/src/qt/qtbase/bin/qmake /tmp/phantomjs/src/qt/qtbase/src/gui/gui.pro -o Makefile ) && make -f Makefile make[2]: Entering directory/tmp/phantomjs/src/qt/qtbase/src/gui' make[2]: Nothing to be done for first'. make[2]: Leaving directory/tmp/phantomjs/src/qt/qtbase/src/gui' cd platformheaders/ && ( test -e Makefile || /tmp/phantomjs/src/qt/qtbase/bin/qmake /tmp/phantomjs/src/qt/qtbase/src/platformheaders/platformheaders.pro -o Makefile ) && make -f Makefile make[2]: Entering directory /tmp/phantomjs/src/qt/qtbase/src/platformheaders' make[2]: Nothing to be done forfirst'. make[2]: Leaving directory /tmp/phantomjs/src/qt/qtbase/src/platformheaders' cd platformsupport/ && ( test -e Makefile || /tmp/phantomjs/src/qt/qtbase/bin/qmake /tmp/phantomjs/src/qt/qtbase/src/platformsupport/platformsupport.pro -o Makefile ) && make -f Makefile make[2]: Entering directory/tmp/phantomjs/src/qt/qtbase/src/platformsupport' make[2]: Nothing to be done for first'. make[2]: Leaving directory/tmp/phantomjs/src/qt/qtbase/src/platformsupport' cd tools/uic/ && ( test -e Makefile || /tmp/phantomjs/src/qt/qtbase/bin/qmake /tmp/phantomjs/src/qt/qtbase/src/tools/uic/uic.pro -o Makefile ) && make -f Makefile make[2]: Entering directory /tmp/phantomjs/src/qt/qtbase/src/tools/uic' make[2]: Nothing to be done forfirst'. make[2]: Leaving directory /tmp/phantomjs/src/qt/qtbase/src/tools/uic' cd widgets/ && ( test -e Makefile || /tmp/phantomjs/src/qt/qtbase/bin/qmake /tmp/phantomjs/src/qt/qtbase/src/widgets/widgets.pro -o Makefile ) && make -f Makefile make[2]: Entering directory/tmp/phantomjs/src/qt/qtbase/src/widgets' make[2]: Nothing to be done for first'. make[2]: Leaving directory/tmp/phantomjs/src/qt/qtbase/src/widgets' cd printsupport/ && ( test -e Makefile || /tmp/phantomjs/src/qt/qtbase/bin/qmake /tmp/phantomjs/src/qt/qtbase/src/printsupport/printsupport.pro -o Makefile ) && make -f Makefile make[2]: Entering directory `/tmp/phantomjs/src/qt/qtbase/src/printsupport' g++ -c -include .pch/Qt5PrintSupport -pipe -O2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -fno-exceptions -Wall -W -D_REENTRANT -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_C DE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -DQT_NO_USING_NAMESPACE -DQT_BUILD_PRINTSUPPORT_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPREC ATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../include -I../../include/QtPrintSupport -I../../include/QtPrintSupport/5.4.1 -I../../include/QtPrintSupport/5.4.1/QtPrint Support -I../plugins/printsupport/cups -Idialogs -I../../include/QtCore/5.4.1 -I../../include/QtCore/5.4.1/QtCore -I../../include/QtGui/5.4.1 -I../../include/QtGui/5.4.1/QtGui -I../../include/QtWidgets/5.4.1 -I../../include/QtWidgets/5.4.1/QtWidgets -I../../include/QtWidg ets -I../../include/QtGui -I../../include/QtCore -I.moc -I.uic -I../../mkspecs/linux-g++ -o .obj/qprintdevice.o kernel/qprintdevice.cpp

g++: internal compiler error: Segmentation fault (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See file:///usr/share/doc/gcc-4.8/README.Bugs for instructions. make[2]: * [.obj/qprintdevice.o] Error 4 make[2]: Leaving directory `/tmp/phantomjs/src/qt/qtbase/src/printsupport' make[1]: * [sub-printsupport-make_first] Error 2 make[1]: Leaving directory`/tmp/phantomjs/src/qt/qtbase/src' make: *\ [sub-src-make_first] Error 2 SHUTIT_shutit.tk.phantomjs.phantomjs#Gjj4AZd6> echo EXIT_CODE:$? EXIT_CODE:1 SHUTIT_shutit.tk.phantomjs.phantomjs#Gjj4AZd6>Error caught: Exit value from command ./build.sh --confirm was: 1

Exit value from command ./build.sh --confirm was: 1 Error seen, exiting with status 1 The command '/bin/sh -c shutit build --shutit_module_path /opt/shutit-library --delivery dockerfile' returned a non-zero code: 1

I tried again without the --no-cache option and I still get the ./build.sh --confirm error.

I think I will give up on that example. From what I could see on the internet, Docker is more about building small containers that will communicate and share folders. For instance, having your database in one container, your python app in another, etc...

Thanks for the packtpub video course, you did a great job explaining how docker work. Cheers.

— Reply to this email directly or view it on GitHub https://github.com/ianmiell/themortgagemeter/issues/1#issuecomment-141044755 .

Currently co-authoring a book on Docker: Get 39% off with the code 39miell http://manning.com/miell/?a_aid=zwischenzugs&a_bid=e0d48f62

ianmiell commented 8 years ago

If this is still an issue please let me know.