search for: other_class

Displaying 2 results from an estimated 2 matches for "other_class".

Did you mean: motherclass
2007 Nov 23
1
what''s the best way to deal with class/inheritence
...s a "remote office" type of server, a "mail gateway", ... and then a list of classes is installed (from classes/ using include statements) in a convenient and easy way --> currently it''s defined as a ''class bundle-xxxx { $var1="value2"; include other_classes }'' site-global.pp only one pp containing values for a given site installation (multiple server, one customer, for example) --> currently it''s defined as a ''node site-globals { $var1="value3" }'' nodes/ "node xxx" statements, one by...
2007 Feb 09
12
Module Organization
...et the module name (similar to Ruby) or should that always be implied from the location in the filesystem (similar to Python), i.e. ''foo/manifests/bar.pp'' look something like module foo { class some_class { ... } } class foo::other_class { ... } or should it just say class bar { ... } I like having the namespace explicitly in the manifest (I am not too hung up whether there should be a separate ''module'' keyword or not), but I''d like to hear if there is a stron...