mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-23 00:11:41 -04:00
provisioner/puppet-masterless: detailed exit codes
This commit is contained in:
@@ -72,6 +72,7 @@ func (p *Provisioner) Prepare(raws ...interface{}) error {
|
||||
p.config.ExecuteCommand = "{{.FacterVars}}{{if .Sudo}} sudo -E {{end}}" +
|
||||
"puppet apply --verbose --modulepath='{{.ModulePath}}' " +
|
||||
"{{if .HasHieraConfigPath}}--hiera_config='{{.HieraConfigPath}}' {{end}}" +
|
||||
"--detailed-exitcodes " +
|
||||
"{{.ManifestFile}}"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user