provisioner/salt-masterless: don't delete states [GH-265]
This commit is contained in:
parent
5220c1ff2a
commit
72a7a5e69c
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue