Displaying 1 result from an estimated 1 matches for "singlequote".
2012 Dec 04
14
custom define type for array with 'case' argument pass to it
I am trying to write a define type which will use an array but in the
meantime have an argument pass to it that sets a case. See for example :
define link_files ($linkcase) {
case $linkcase {
"var" : {
file { "${name}_exelink" :
path => "/var/log/puppet/${name}_log",
ensure => link,