PR feedback

This commit is contained in:
Sevag Hanssian 2017-08-07 12:21:27 -04:00
parent 08670763aa
commit 3477868804
1 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,8 @@
// This package implements a provisioner for Terraform that executes a
// saltstack state within the remote machine
//
// Adapted from gitub.com/hashicorp/packer/provisioner/salt-masterless
package saltmasterless
import (
@ -221,10 +224,6 @@ func applyFn(ctx context.Context) error {
return nil
}
func (p *provisioner) Cancel() {
os.Exit(0)
}
// Prepends sudo to supplied command if config says to
func (p *provisioner) sudo(cmd string) string {
if p.DisableSudo {