mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-25 01:04:00 -04:00
expose OS-specific ModulePathJoiner
This commit is contained in:
@@ -127,6 +127,7 @@ type ExecuteTemplate struct {
|
||||
FacterVars string
|
||||
HieraConfigPath string
|
||||
ModulePath string
|
||||
ModulePathJoiner string
|
||||
ManifestFile string
|
||||
ManifestDir string
|
||||
PuppetBinDir string
|
||||
@@ -297,6 +298,7 @@ func (p *Provisioner) Provision(ui packer.Ui, comm packer.Communicator) error {
|
||||
ManifestDir: remoteManifestDir,
|
||||
ManifestFile: remoteManifestFile,
|
||||
ModulePath: strings.Join(modulePaths, p.guestOSTypeConfig.modulePathJoiner),
|
||||
ModulePathJoiner: p.guestOSTypeConfig.modulePathJoiner,
|
||||
PuppetBinDir: p.config.PuppetBinDir,
|
||||
Sudo: !p.config.PreventSudo,
|
||||
WorkingDir: p.config.WorkingDir,
|
||||
|
||||
Reference in New Issue
Block a user