Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
packer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
packer
Commits
29993b30
Commit
29993b30
authored
Jul 28, 2013
by
Rafael Garcia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
provisioner/salt-masterless: rename
parent
7019281a
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
7 deletions
+17
-7
config.go
config.go
+1
-1
plugin/provisioner-salt-masterless/main.go
plugin/provisioner-salt-masterless/main.go
+10
-0
provisioner/salt-masterless/provisioner.go
provisioner/salt-masterless/provisioner.go
+1
-1
provisioner/salt-masterless/provisioner_test.go
provisioner/salt-masterless/provisioner_test.go
+1
-1
website/source/docs/provisioners/salt.html.markdown
website/source/docs/provisioners/salt.html.markdown
+4
-4
No files found.
config.go
View file @
29993b30
...
@@ -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
"
}
}
}
}
`
`
...
...
plugin/provisioner-salt/main.go
→
plugin/provisioner-salt
-masterless
/main.go
View file @
29993b30
...
@@ -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
(
salt
Masterless
.
Provisioner
))
}
}
provisioner/salt/provisioner.go
→
provisioner/salt
-masterless
/provisioner.go
View file @
29993b30
// 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
salt
Masterless
import
(
import
(
"errors"
"errors"
...
...
provisioner/salt/provisioner_test.go
→
provisioner/salt
-masterless
/provisioner_test.go
View file @
29993b30
package
salt
package
salt
Masterless
import
(
import
(
"github.com/mitchellh/packer/packer"
"github.com/mitchellh/packer/packer"
...
...
website/source/docs/provisioners/salt.html.markdown
View file @
29993b30
...
@@ -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"
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment