lib/vagrant-salt/provisioner.rb in vagrant-salt-0.1 vs lib/vagrant-salt/provisioner.rb in vagrant-salt-0.1.1
- old
+ new
@@ -67,9 +67,10 @@
return false
end
def add_salt_repo
env[:ui].info "Adding Salt PPA."
+ env[:vm].channel.sudo("apt-get update")
env[:vm].channel.sudo("apt-get -q -y install python-software-properties")
env[:vm].channel.sudo("add-apt-repository -y ppa:saltstack/salt")
env[:vm].channel.sudo("apt-get -q -y update")
end
\ No newline at end of file