[Mageia-sysadm] [356] add base class
root at mageia.org
root at mageia.org
Sun Nov 21 20:32:53 CET 2010
Revision: 356
Author: boklm
Date: 2010-11-21 20:32:53 +0100 (Sun, 21 Nov 2010)
Log Message:
-----------
add base class
Modified Paths:
--------------
puppet/modules/buildsystem/manifests/init.pp
Modified: puppet/modules/buildsystem/manifests/init.pp
===================================================================
--- puppet/modules/buildsystem/manifests/init.pp 2010-11-21 19:23:39 UTC (rev 355)
+++ puppet/modules/buildsystem/manifests/init.pp 2010-11-21 19:32:53 UTC (rev 356)
@@ -1,9 +1,11 @@
class buildsystem {
- $build_login = "iurt"
- $build_home_dir = "/home/iurt/"
+ class base {
+ $build_login = "iurt"
+ $build_home_dir = "/home/iurt/"
+ }
- class mainnode {
+ class mainnode inherits base {
include iurtuser
package { "task-bs-cluster-main":
@@ -11,7 +13,7 @@
}
}
- class buildnode {
+ class buildnode inherits base {
include iurt
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101121/d9ce4a35/attachment.html>
More information about the Mageia-sysadm
mailing list