PR feedback
This commit is contained in:
parent
08670763aa
commit
3477868804
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue