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