UtahDave / salt-vagrant-demo

Demo of Salt in Vagrant. 1 master and 2 minions
Apache License 2.0
247 stars 192 forks source link

Salt not installed #36

Closed jlamb85 closed 7 years ago

jlamb85 commented 7 years ago

localhost$ vagrant ssh master Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-116-generic x86_64)

0 packages can be updated. 0 updates are security updates.

New release '16.04.2 LTS' available. Run 'do-release-upgrade' to upgrade to it.

localhost$ salt The program 'salt' is currently not installed. To run 'salt' please ask your administrator to install the package 'salt-master'

after install salt-master and running : sudo salt '*' test.ping I get the following error: No minions matched the target. No command was sent, no jid was assigned.

DanielFallon commented 7 years ago

@jlamb85 I was able to fix this by running vagrant up a second time.

not ideal, but it seems like for me there is an issue with networking coming up fast enough

haseebeqx commented 7 years ago

change Vagrantfile according to the accepted answer in https://stackoverflow.com/questions/18457306/enable-internet-access-inside-vagrant and then do

vagrant destroy && vagrant up

WARNING: it will delete and re import vm

UtahDave commented 7 years ago

Hi @jlamb85 I haven't been able to reproduce this. Can you update your clone of the repo and try again?

UtahDave commented 7 years ago

We've had some updates since this issue was opened. I haven't been able to reproduce, nor have we heard back from the OP. So I'm going to close this issue. Please comment here and I'll reopen if new info is provided.

Thanks