1

Invalid parameter for defined type

view story
linux-howto

http://serverfault.com – I have a defined type at modules/sysctl/manifests/init.pp that looks like: define sysctl ( $value = undef, $ensure = undef ) { # Parent purged directory include sysctl::base # The permanent change file { "/etc/sysctl.d/${title}.conf": owner => 'root', group => 'root', mode => '0644', content => "${title} = ${value}\n", ensure => $ensure, notify => Exec["sysctl-${title}"], } # The immediate change exec { "sysctl-${title}": command => "/sbin/sysctl -w ${title}=${value}", refreshonly => true, } } In a template module modules/templa (HowTos)