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

This commit is contained in:
Mitchell Hashimoto 2013-08-09 17:01:10 -07:00
parent 5220c1ff2a
commit 72a7a5e69c
2 changed files with 5 additions and 6 deletions

View File

@ -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:

View File

@ -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
}