Commit 72a7a5e6 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

provisioner/salt-masterless: don't delete states [GH-265]

parent 5220c1ff
......@@ -18,6 +18,11 @@ FEATURES:
* The `amazon` builders (all of them) can now have attributes of their
resulting AMIs modified, such as access permissions and product codes.
BUG FIXES:
* provisioner/salt-masterless: states aren't deleted after the run
anymore. [GH-265]
## 0.2.3 (August 7, 2013)
IMPROVEMENTS:
......
......@@ -120,12 +120,6 @@ func (p *Provisioner) Provision(ui packer.Ui, comm packer.Communicator) error {
return fmt.Errorf("Error executing highstate: %s", err)
}
ui.Message("Removing /srv/salt")
cmd = &packer.RemoteCmd{Command: "sudo rm -r /srv/salt"}
if err = cmd.StartWithUi(comm, ui); err != nil {
return fmt.Errorf("Unable to remove /srv/salt: %d", err)
}
return nil
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment