Hello everybody
I have a set of nested classes and the deepest class looks after a
file resource. I want all my nodes to be of the parent class type
except one of them needs a special copy of the same file resource.
How do I override the file resource for that specific node without
copying the entire class hierarchy for just that one node? Example:
class { 'a':
include b
...
}
class { 'b':
include c
...
}
class { 'c':
file { 'foo':
ensure => file,
source => 'puppet:///modules/...',
}
}
node default {
include a
}
node 'specialnode' {
include a
# OVERRIDE FILE RESOURCE 'foo' HERE!!
}
I want 'specialnode' to have it's own file 'foo' resource which
differs from the one in class 'c'.
Thank you!
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.