provisioner/puppet-masterless: user variables in puppet vars [GH-448]

This commit is contained in:
Mitchell Hashimoto 2013-09-21 18:28:14 -07:00
parent 78133976eb
commit 3c301dc73a
2 changed files with 5 additions and 1 deletions

View File

@ -35,6 +35,8 @@ BUG FIXES:
* post-processor/vagrant: Override configurations properly work. [GH-426]
* provisioner/puppet-masterless: Fix failure case when both facter vars
are used and prevent_sudo. [GH-415]
* provisioner/puppet-masterless: User variables now work properly in
manifest file and hiera path. [GH-448]
## 0.3.7 (September 9, 2013)

View File

@ -82,7 +82,9 @@ func (p *Provisioner) Prepare(raws ...interface{}) error {
// Templates
templates := map[string]*string{
"staging_dir": &p.config.StagingDir,
"hiera_config_path": &p.config.HieraConfigPath,
"manifest_file": &p.config.ManifestFile,
"staging_dir": &p.config.StagingDir,
}
for n, ptr := range templates {