provisioner/salt-masterless: rename
This commit is contained in:
parent
7019281ad6
commit
29993b30e4
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"github.com/mitchellh/packer/packer/plugin"
|
||||||
|
"github.com/mitchellh/packer/provisioner/salt-masterless"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
plugin.ServeProvisioner(new(saltMasterless.Provisioner))
|
||||||
|
}
|
|
@ -1,10 +0,0 @@
|
||||||
package main
|
|
||||||
|
|
||||||
import (
|
|
||||||
"github.com/mitchellh/packer/packer/plugin"
|
|
||||||
"github.com/mitchellh/packer/provisioner/salt"
|
|
||||||
)
|
|
||||||
|
|
||||||
func main() {
|
|
||||||
plugin.ServeProvisioner(new(salt.Provisioner))
|
|
||||||
}
|
|
|
@ -1,6 +1,6 @@
|
||||||
// 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"
|
|
@ -1,4 +1,4 @@
|
||||||
package salt
|
package saltMasterless
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/mitchellh/packer/packer"
|
"github.com/mitchellh/packer/packer"
|
|
@ -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.
|
||||||
|
|
||||||
<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"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue