HomeSoftware Heritage

Lookup is_pe fact with getvar
59d7a3a75c70Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

Lookup is_pe fact with getvar

If the system is not running PE, the $::is_pe fact will be undefined,
causing errors when run under strict variables mode. This patch uses
the getvar() function to look up the fact so that it won't fail if not
defined.

Alternative to https://github.com/puppetlabs/puppetlabs-concat/pull/270

This should fix the broken CI for the postgresql module.

Details

Provenance
Colleen Murphy <colleen@puppetlabs.com>Authored on
olasdPushed on Sep 10 2015, 1:22 PM
Parents
rSPCAT9b3f4b32d9da: Merge pull request #271 from nibalizer/master
Branches
Unknown
Tags
Unknown

Event Timeline

Colleen Murphy <colleen@puppetlabs.com> committed rSPCAT59d7a3a75c70: Lookup is_pe fact with getvar (authored by Colleen Murphy <colleen@puppetlabs.com>).Feb 23 2015, 6:51 PM