provisioner/salt-masterless: rename
This commit is contained in:
parent
880dd75675
commit
728f9ecdbd
|
@ -39,7 +39,7 @@ const defaultConfig = `
|
|||
"provisioners": {
|
||||
"file": "packer-provisioner-file",
|
||||
"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
|
||||
// saltstack highstate within the remote machine
|
||||
package salt
|
||||
package saltMasterless
|
||||
|
||||
import (
|
||||
"errors"
|
|
@ -1,4 +1,4 @@
|
|||
package salt
|
||||
package saltMasterless
|
||||
|
||||
import (
|
||||
"github.com/mitchellh/packer/packer"
|
|
@ -2,11 +2,11 @@
|
|||
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
|
||||
|
||||
|
@ -14,7 +14,7 @@ The example below is fully functional.
|
|||
|
||||
<pre class="prettyprint">
|
||||
{
|
||||
"type": "salt",
|
||||
"type": "salt-masterless",
|
||||
"bootstrap_args": "git v0.16.0"
|
||||
"local_state_tree": "/Users/me/salt"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue