$padded_prio = sprintf('%04d',$prio) # 4 -> 0004
# <%= __FILE__.gsub(/.*?modules\//,'puppet://modules/') %>
will result in "puppet-like" # puppet://modules/network/templates/ifcfg.erb
, while
# <%= __FILE__.gsub(/.*?modules\//,@fqdn + ':') %>
will result in # server.example.com:bird/templates/part.conf
package {"sth":
ensure => installed
install_options => ' -t testing'
}
https://docs.puppet.com/guides/custom_types.html
raise ArgumentError, "error breaking the run
raise Puppet::Error, "different error type"
scope.function_fail(["Rule #{@title}:#{i}: one of parameters resolves to empty list\n#{d}"])
$hash.filter |$key, $val| { $val =~ NotUndef }
$array.filter |$val| { $val =~ NotUndef }