Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
sevagh committed Aug 7, 2017
1 parent 0867076 commit 3477868
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions builtin/provisioners/salt-masterless/resource_provisioner.go
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 3477868

Please sign in to comment.