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
f90f2f68
Commit
f90f2f68
authored
Jul 27, 2015
by
AmirAli Moinfar
Committed by
Mehran Kholdi
Jul 28, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix semantic errors in messages
parent
c73314cd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
provisioner/salt-masterless/provisioner.go
provisioner/salt-masterless/provisioner.go
+3
-3
No files found.
provisioner/salt-masterless/provisioner.go
View file @
f90f2f68
...
...
@@ -116,9 +116,9 @@ func (p *Provisioner) Provision(ui packer.Ui, comm packer.Communicator) error {
}
}
ui
.
Message
(
fmt
.
Sprintf
(
"Creating remote directory: %s"
,
p
.
config
.
TempConfigDir
))
ui
.
Message
(
fmt
.
Sprintf
(
"Creating remote
temporary
directory: %s"
,
p
.
config
.
TempConfigDir
))
if
err
:=
p
.
createDir
(
ui
,
comm
,
p
.
config
.
TempConfigDir
);
err
!=
nil
{
return
fmt
.
Errorf
(
"Error creating remote
salt state
directory: %s"
,
err
)
return
fmt
.
Errorf
(
"Error creating remote
temporary
directory: %s"
,
err
)
}
if
p
.
config
.
MinionConfig
!=
""
{
...
...
@@ -216,7 +216,7 @@ func (p *Provisioner) moveFile(ui packer.Ui, comm packer.Communicator, dst, src
err
=
fmt
.
Errorf
(
"Bad exit status: %d"
,
cmd
.
ExitStatus
)
}
return
fmt
.
Errorf
(
"Unable to move %s
/minion to /etc/salt/minion: %s"
,
p
.
config
.
TempConfigDir
,
err
)
return
fmt
.
Errorf
(
"Unable to move %s
to %s: %s"
,
src
,
dst
,
err
)
}
return
nil
}
...
...
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