Sha256: 988caa49fa91620fa770d0b7e14cb2e5f087e49218127c4c3a911313fa8b7fdf
Contents?: true
Size: 553 Bytes
Versions: 2
Compression:
Stored size: 553 Bytes
Contents
class one_resource::another_resource( $var1 = 'value1', $var2 = 'value2', $file_name = '/tmp/test3', $config_base_path = '/etc/hammer' ){ $some_var = "oohhhh" $concat_var = "${file_name}/test3183/${some_var}" $cli_modules = "${config_base_path}/cli.modules.d" file{'/tmp/test2': ensure => present, } file{$file_name: ensure => present, content => $concat_var } if $file_name { $if_var1 = 'if_var1_value1' file{"$file_name/3": ensure => present, } } else { $if_var1 = 'if_var1_value2' } }
Version data entries
2 entries across 2 versions & 1 rubygems