New answers tagged

0

FTR $names.each | String $key, Hash $value | { $merged_hash_val = $names_default + $value file { * => $merged_hash_val } } https://puppet.com/docs/puppet/7/lang_resources.html#lang_resource_syntax-setting-attributes-from-hash


1

The package resource, and in particular the gem provider, now supports the use of the command attribute. Your particular example is now supported like this: package {'example': ensure => '0.25', provider => 'gem', command => '/opt/rh/rh-ruby22/root/usr/bin/gem' }


Top 50 recent answers are included