diff --git a/Vagrantfile-Template b/Vagrantfile-Template index b4c6add..8139228 100644 --- a/Vagrantfile-Template +++ b/Vagrantfile-Template @@ -23,14 +23,14 @@ Vagrant.configure("2") do |config| master_config.vm.provider :libvirt do |libvirt| libvirt.memory = 768 end - if salt_bootstrap - master_config.vm.provision "shell", path: salt_bootstrap - end master_config.vm.provision "shell", env: {'SALT_FILE_ROOTS': salt_file_roots}, inline: <<-SHELL printf 'auto_accept: True\n' > /etc/salt/master.d/notsecure.conf printf "$SALT_FILE_ROOTS" > /etc/salt/master.d/roots.conf systemctl enable --now salt-master SHELL + if salt_bootstrap + master_config.vm.provision "shell", path: salt_bootstrap + end end end end