hi all,
How are you? I have a question on the class dependencies.
This is my init.pp script looks like
class mapr {
Class['mapr::install'] -> Class["mapr::config"]
include mapr::install,
mapr::config
}
In my mapr::install class i have another few lines of inclu
How can I have a module/class that is dependent on another class?
Say, /etc/puppet/modules:
module1
module2
in module2/manifests/init.pp
class module2 {
file { # blah blah blah
require => Class["module1"],
}
package { }
}
Usually this gives me an error (can't remember what; I'm writ
Hi,
I have a best practices question.
I have 3 classes that have to be run in a certain order.
dhcp network must be run before nis which must be run before autofs.
Originally, I was calling these functions from my workstation class,
and assuming that the include statements would be run in orde