Puppet must hate me. I have been reading the doc for hours on end and still cannot manage to achieve the following:
- a class or module (or what is it called) with a variable in it (a parameterized class?);
- this class to be included multiple times in a single host.
In pseudo-code, that would be:
# The class
classorwhatever myclass ($value) {
notify { "$value world" }
}
# In the node definition
node whatever {
myclass("Hello")
myclass("Goodbye")
}
I feel so stupid it is not even funny. I know it must be doable. But how? :(