vagrant provision fails
I get the following error message on running vagrant up:
==> node1: Running provisioner: shell... node1: Running: /var/folders/vy/vjwlx9b55njdj_494ynsmx_00000gp/T/vagrant-shell20150712-13748-1gvptb.sh ==> node1: stdin: is not a tty ==> node1: =============================================== ==> node1: configuring leap ==> node1: =============================================== ==> node1: = created .gitignore ==> node1: = created provider.json ==> node1: = created common.json ==> node1: = created Leapfile ==> node1: = created nodes/ ==> node1: = created services/ ==> node1: = created tags/ ==> node1: = completed initialization ==> node1: Generating public/private rsa key pair. ==> node1: Your identification has been saved in /root/.ssh/id_rsa. ==> node1: Your public key has been saved in /root/.ssh/id_rsa.pub. ==> node1: The key fingerprint is: ==> node1: 16:6a:61:2e:87:b9:7f:24:49:ad:32:5d:10:46:1c:84 root@leap-wheezy ==> node1: The key's randomart image is: ==> node1: +--[ RSA 2048]----+ ==> node1: | =*o | ==> node1: | E.o | ==> node1: | oo. | ==> node1: | =.oo. | ==> node1: | +o=+S | ==> node1: | o==.. | ==> node1: | .o o | ==> node1: | . . | ==> node1: | .. | ==> node1: +-----------------+ ==> node1: = `leap` should not be run as root. ==> node1: = bailing out ==> node1: = `leap` should not be run as root. ==> node1: = bailing out ==> node1: = `leap` should not be run as root. ==> node1: = bailing out ==> node1: = `leap` should not be run as root. ==> node1: = bailing out ==> node1: = `leap` should not be run as root. ==> node1: = bailing out ==> node1: Initialized empty Git repository in /srv/leap/configuration/.git/ ==> node1: [master (root-commit) 485cce6] configured provider ==> node1: Committer: root ==> node1: Your name and email address were configured automatically based ==> node1: on your username and hostname. Please check that they are accurate. ==> node1: You can suppress this message by setting them explicitly: ==> node1: ==> node1: git config --global user.name "Your Name" ==> node1: git config --global user.email you@example.com ==> node1: ==> node1: After doing this, you may fix the identity used for this commit with: ==> node1: ==> node1: git commit --amend --reset-author ==> node1: ==> node1: 6 files changed, 32 insertions(+) ==> node1: create mode 100644 .gitignore ==> node1: create mode 100644 Leapfile ==> node1: create mode 100644 common.json ==> node1: create mode 100644 files/nodes/node1/node1_ssh.pub ==> node1: create mode 100644 provider.json ==> node1: create mode 100644 services/webapp.json ==> node1: = `leap` should not be run as root. ==> node1: = bailing out ==> node1: node init failed The following SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed! chmod +x /tmp/vagrant-shell && /tmp/vagrant-shell Stdout from the command: =============================================== configuring leap =============================================== = created .gitignore = created provider.json = created common.json = created Leapfile = created nodes/ = created services/ = created tags/ = completed initialization Generating public/private rsa key pair. Your identification has been saved in /root/.ssh/id_rsa. Your public key has been saved in /root/.ssh/id_rsa.pub. The key fingerprint is: 16:6a:61:2e:87:b9:7f:24:49:ad:32:5d:10:46:1c:84 root@leap-wheezy The key's randomart image is: +--[ RSA 2048]----+ | =*o | | E.o | | oo. | | =.oo. | | +o=+S | | o==.. | | .o o | | . . | | .. | +-----------------+ = `leap` should not be run as root. = bailing out = `leap` should not be run as root. = bailing out = `leap` should not be run as root. = bailing out = `leap` should not be run as root. = bailing out = `leap` should not be run as root. = bailing out Initialized empty Git repository in /srv/leap/configuration/.git/ [master (root-commit) 485cce6] configured provider Committer: root Your name and email address were configured automatically based on your username and hostname. Please check that they are accurate. You can suppress this message by setting them explicitly: git config --global user.name "Your Name" git config --global user.email you@example.com After doing this, you may fix the identity used for this commit with: git commit --amend --reset-author 6 files changed, 32 insertions(+) create mode 100644 .gitignore create mode 100644 Leapfile create mode 100644 common.json create mode 100644 files/nodes/node1/node1_ssh.pub create mode 100644 provider.json create mode 100644 services/webapp.json = `leap` should not be run as root. = bailing out node init failed Stderr from the command: stdin: is not a tty
The puppet provisioner succeeds but the shell one fails.
(from redmine: created on 2015-07-12)