projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rsync-ssh-wrap: also allow uploads to SecurityUploadQueue
[mirror/dsa-puppet.git]
/
modules
/
ganeti2
/
manifests
/
init.pp
diff --git
a/modules/ganeti2/manifests/init.pp
b/modules/ganeti2/manifests/init.pp
index
b7b1b59
..
2d80c9d
100644
(file)
--- a/
modules/ganeti2/manifests/init.pp
+++ b/
modules/ganeti2/manifests/init.pp
@@
-1,11
+1,33
@@
+# = Class: ganeti2
+#
+# Standard ganeti2 config debian.org hosts
+#
+# == Sample Usage:
+#
+# include ganeti2
+#
class ganeti2 {
class ganeti2 {
- package { 'ganeti2':
+ include ganeti2::params
+ include ganeti2::firewall
+
+ $drbd = $ganeti2::params::drbd
+
+ package { 'ganeti':
ensure => installed
}
ensure => installed
}
- package { 'drbd8-utils':
- ensure => installed
+ site::linux_module { 'tun': }
+
+ file { '/etc/cron.hourly/puppet-cleanup-watcher-pause-file':
+ source => 'puppet:///modules/ganeti2/cleanup-watcher-pause-file',
+ mode => '0555',
}
}
+ if $::debarchitecture == 'arm64' {
+ file { '/usr/local/bin/qemu-system-aarch64-wrapper':
+ source => 'puppet:///modules/ganeti2/qemu-system-aarch64-wrapper',
+ mode => '0755',
+ }
+ }
}
}