provisioner/puppet-masterless: better messaging
This commit is contained in:
parent
adbb490189
commit
c83fbc0b42
|
@ -185,6 +185,7 @@ func (p *Provisioner) Prepare(raws ...interface{}) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *Provisioner) Provision(ui packer.Ui, comm packer.Communicator) error {
|
func (p *Provisioner) Provision(ui packer.Ui, comm packer.Communicator) error {
|
||||||
|
ui.Say("Provisioning with Puppet...")
|
||||||
ui.Message("Creating Puppet staging directory...")
|
ui.Message("Creating Puppet staging directory...")
|
||||||
if err := p.createDir(ui, comm, p.config.StagingDir); err != nil {
|
if err := p.createDir(ui, comm, p.config.StagingDir); err != nil {
|
||||||
return fmt.Errorf("Error creating staging directory: %s", err)
|
return fmt.Errorf("Error creating staging directory: %s", err)
|
||||||
|
|
Loading…
Reference in New Issue