File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 11define opensm::fileconf (
2- $filename = $title,
2+ Stdlib::Absolutepath $filename = $title,
33 Hash $options = {},
44 Hash $override = {},
55) {
6- if has_key($options , $filename ) and is_hash( $options [ $filename ]) {
7- $_options = merge($options [$filename ], $override )
6+ if has_key($options , $filename ) {
7+ $_options = stdlib:: merge($options [$filename ], $override )
88 } else {
9- $_options = merge($options , $override )
9+ $_options = stdlib:: merge($options , $override )
1010 }
1111
1212 $_keys = keys($_options)
1313 $_vals = values($_options)
14- validate_array($_keys, $_vals)
15- validate_absolute_path($filename )
14+ # validate_array($_keys, $_vals)
1615
1716 exec { "opensm-create-${filename}" :
1817 command => " /usr/sbin/opensm -c ${filename} " ,
You can’t perform that action at this time.
0 commit comments