Hi,
this type of question would be better suited for the puppet-users list.
The problem is that variable values *cannot* be overridden. You just
replace its value in the scope of the inheriting class. Only resources
can be overridden, so that is what you must do.
class generic {
$message = 'generic'
notify { 'test': message = $message }
}
class specific inherits generic {
$message = 'specific'
Notify['test'] { message => $message } # <- override
}
Replacing the variable locally is fairly pointless.
class specific inherits generic {
Notify['test'] { message => 'specific' } # <- exact same result
}
HTH,
Felix