expose OS-specific ModulePathJoiner

This commit is contained in:
Matthew Patton 2018-05-08 12:21:04 -04:00
parent 399edbe5e7
commit 5c7d5fac75
1 changed files with 2 additions and 0 deletions

View File

@ -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,