Commit 29993b30 authored by Rafael Garcia's avatar Rafael Garcia

provisioner/salt-masterless: rename

parent 7019281a
...@@ -39,7 +39,7 @@ const defaultConfig = ` ...@@ -39,7 +39,7 @@ const defaultConfig = `
"provisioners": { "provisioners": {
"file": "packer-provisioner-file", "file": "packer-provisioner-file",
"shell": "packer-provisioner-shell", "shell": "packer-provisioner-shell",
"salt": "packer-provisioner-salt" "salt-masterless": "packer-provisioner-salt-masterless"
} }
} }
` `
......
...@@ -2,9 +2,9 @@ package main ...@@ -2,9 +2,9 @@ package main
import ( import (
"github.com/mitchellh/packer/packer/plugin" "github.com/mitchellh/packer/packer/plugin"
"github.com/mitchellh/packer/provisioner/salt" "github.com/mitchellh/packer/provisioner/salt-masterless"
) )
func main() { func main() {
plugin.ServeProvisioner(new(salt.Provisioner)) plugin.ServeProvisioner(new(saltMasterless.Provisioner))
} }
// This package implements a provisioner for Packer that executes a // This package implements a provisioner for Packer that executes a
// saltstack highstate within the remote machine // saltstack highstate within the remote machine
package salt package saltMasterless
import ( import (
"errors" "errors"
......
package salt package saltMasterless
import ( import (
"github.com/mitchellh/packer/packer" "github.com/mitchellh/packer/packer"
......
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
layout: "docs" layout: "docs"
--- ---
# Salt Provisioner # Salt Masterless Provisioner
Type: `salt` Type: `salt-masterless`
The salt provisioner provisions machines built by Packer using [Salt](http://saltstack.com/) states. The salt-masterless provisioner provisions machines built by Packer using [Salt](http://saltstack.com/) states.
## Basic Example ## Basic Example
...@@ -14,7 +14,7 @@ The example below is fully functional. ...@@ -14,7 +14,7 @@ The example below is fully functional.
<pre class="prettyprint"> <pre class="prettyprint">
{ {
"type": "salt", "type": "salt-masterless",
"bootstrap_args": "git v0.16.0" "bootstrap_args": "git v0.16.0"
"local_state_tree": "/Users/me/salt" "local_state_tree": "/Users/me/salt"
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment