projects
/
mirror
/
dsa-puppet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
prepare to add salieri to ganeti2
[mirror/dsa-puppet.git]
/
modules
/
lvm
/
manifests
/
init.pp
1
class lvm {
2
case $::hostname {
3
dijkstra,luchesi,rossini,salieri: {
4
$conffile = 'lvm-ubc-ganeti.conf'
5
}
6
default: {
7
$conffile = ''
8
}
9
}
10
11
if $conffile != '' {
12
package { 'lvm2':
13
ensure => installed,
14
}
15
16
file { '/etc/lvm/lvm.conf':
17
source => "puppet:///modules/lvm/$conffile",
18
}
19
}
20
}