Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • main
  • max
  • production
  • test
  • uat
5 results

Target

Select target project
  • geant-devops/fw_builder
1 result
Select Git revision
  • main
  • max
  • production
  • test
  • uat
5 results
Show changes
Commits on Source (3)
......@@ -60,9 +60,11 @@ function fw_builder::fw_builder() {
# querying 'puppetDB', if 'puppetdb' is defined
#
if ($fw_conf['custom_ipset'][$name]['puppetdb']) {
$pdb_hash = $fw_conf['custom_ipset'][$name]['puppetdb']
if $pdb_hash !~ Array[Hash] { fail("${pdb_hash} must be an Array of Hashes") }
# check if "env" was defined and it contains proper values
$pdb_filter = join(
$fw_conf['custom_ipset'][$name]['puppetdb'].map |$hash| {
$pdb_hash.map |$hash| {
if $hash['env'] {
# wrong setting for "env" creates an empty fact and breaks puppet on the host
if $hash['env'] !~ Fw_builder::Puppet_environment {
......