puppet: Fix error message when puppet conf copy fails
This commit adds the missing config file location to the error message.
This commit is contained in:
committed by
James Shubin
parent
9db0fc4ee4
commit
d2ce70a673
@@ -119,7 +119,7 @@ func (obj *GAPI) Cli(c *cli.Context, fs engine.Fs) (*gapi.Deploy, error) {
|
||||
// TODO: do we want to include this if we have mode == "dir" ?
|
||||
if pc := c.String("puppet-conf"); c.IsSet("puppet-conf") {
|
||||
if err := gapi.CopyFileToFs(fs, pc, PuppetConf); err != nil {
|
||||
return nil, errwrap.Wrapf(err, "can't copy puppet conf from `%s`")
|
||||
return nil, errwrap.Wrapf(err, "can't copy puppet conf from `%s` to '%s'", pc, PuppetConf)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user