From d2ce70a673b23e1d3d21992323abc0fca27621ba Mon Sep 17 00:00:00 2001 From: Jonathan Gold Date: Mon, 3 Dec 2018 07:54:41 -0500 Subject: [PATCH] puppet: Fix error message when puppet conf copy fails This commit adds the missing config file location to the error message. --- puppet/gapi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/puppet/gapi.go b/puppet/gapi.go index e6531764..6c6b781f 100644 --- a/puppet/gapi.go +++ b/puppet/gapi.go @@ -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) } }