Project

General

Profile

« Previous | Next » 

Revision f1c0eff6

Added by Mathieu Parent over 9 years ago

Fixes puppet apply with strict_variables

On local, $::puppetmaster is not set, which errors out with strict variables.

View differences:

manifests/params.pp
$remove_lock = true
# Custom puppetmaster
$puppetmaster = $::puppetmaster
if defined('$trusted') and $::trusted['authenticated'] == 'local' {
$puppetmaster = undef
} else {
$puppetmaster = $::puppetmaster
}
# Hashes containing additional settings
$additional_settings = {}

Also available in: Unified diff