How to override puppet class arguments in child node?
- by Jon Skarpeteig
I'm attempting to accomplish something like the below:
node 'basenode' {
class {
'puppet' :
disable => false,
}
}
node 'child' inherits 'basenode' {
class {
'puppet' :
disable => true,
}
}
This gives me:
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Duplicate definition: Class[Puppet] is already defined
How can I override this setting for this single node, and still have a parameterised class?