projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add release.d.o static component
[mirror/dsa-puppet.git]
/
modules
/
ganeti2
/
manifests
/
init.pp
diff --git
a/modules/ganeti2/manifests/init.pp
b/modules/ganeti2/manifests/init.pp
index
7a472e0
..
ca56ab0
100644
(file)
--- a/
modules/ganeti2/manifests/init.pp
+++ b/
modules/ganeti2/manifests/init.pp
@@
-1,16
+1,22
@@
+# = Class: ganeti2
+#
+# Standard ganeti2 config debian.org hosts
+#
+# == Sample Usage:
+#
+# include ganeti2
+#
class ganeti2 {
class ganeti2 {
- package { 'ganeti2':
- ensure => installed
- }
+ include ganeti2::params
+ include ganeti2::firewall
+
+ $drbd = $ganeti2::params::drbd
- package { '
drbd8-utils
':
+ package { '
ganeti
':
ensure => installed
}
ensure => installed
}
- @ferm::rule { 'dsa-ganeti-v4':
- description => 'Allow ganeti from ganeti master',
- rule => 'proto tcp mod state state (NEW) dport (1811) @subchain \'ganeti\' { saddr ($HOST_GANETI_V4) ACCEPT; }',
- notarule => true,
- }
+
+ site::linux_module { 'tun': }
}
}