Struggle setting up Tildes development environment

uselessabstraction
2018-12-02T23:45:48Z

I'm interested in possibly developing a tildes client. In order to experiment with the currently disabled API, as well as to become more familiar with how Tildes works internally, I've been trying to set up a Tildes development environment on my machine following the instructions on the docs site. I've run into a problem with the 'vagrant up' stage of the setup.

...
==> default: Running provisioner: salt...
Copying salt minion config to vm.
Checking if salt-minion is installed
salt-minion was not found.
Checking if salt-call is installed
salt-call was not found.
Using Bootstrap Options:  -F -c /tmp
Bootstrapping Salt... (this may take a while)
bash: /tmp/bootstrap_salt.sh: /usr/bin/sh: bad interpreter: No such file or directory
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

/tmp/bootstrap_salt.sh  -F -c /tmp

Stdout from the command:



Stderr from the command:

bash: /tmp/bootstrap_salt.sh: /usr/bin/sh: bad interpreter: No such file or directory

So the Salt provisioning is failing, and it seems like it just has the wrong path to the shell it needs, but while I could probably just tweak this script, it seems like that goes against the concept of using Vagrant in the first place. I was wondering if anyone else ran into this problem, or if the bug lies between the seat and the keyboard.

Comments URL: https://tildes.net/~tildes/8wn/struggle_setting_up_tildes_development_environment

Votes: 15

Comments: 6