projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correct variable name in systemd unit
[mirror/dsa-puppet.git]
/
modules
/
multipath
/
manifests
/
init.pp
diff --git
a/modules/multipath/manifests/init.pp
b/modules/multipath/manifests/init.pp
index
b9b9ffe
..
ee6f8c4
100644
(file)
--- a/
modules/multipath/manifests/init.pp
+++ b/
modules/multipath/manifests/init.pp
@@
-8,15
+8,15
@@
#
class multipath {
case $::hostname {
#
class multipath {
case $::hostname {
- bm-bl9: {
- $conffile = 'multipath-bm-os.conf'
- }
- bm-bl1,bm-bl2,bm-bl3,bm-bl4,bm-bl5,bm-bl6,bm-bl7,bm-bl8,bm-bl13,bm-bl14: {
+ bm-bl1,bm-bl2,bm-bl3,bm-bl4,bm-bl5,bm-bl6,bm-bl7,bm-bl8,bm-bl9,bm-bl10,bm-bl11,bm-bl12,bm-bl13,bm-bl14: {
$conffile = 'multipath-bm.conf'
}
$conffile = 'multipath-bm.conf'
}
-
dijkstra,luchesi,rossini,salieri,pasquini
: {
+
ubc-bl8,ubc-bl4,ubc-bl7,ubc-bl3,ubc-bl2,ubc-bl6
: {
$conffile = 'multipath-ubc-ganeti.conf'
}
$conffile = 'multipath-ubc-ganeti.conf'
}
+ ubc-enc2bl01,ubc-enc2bl02,ubc-enc2bl09,ubc-enc2bl10: {
+ $conffile = 'multipath-ubc-ganeti2.conf'
+ }
default: {
$conffile = ''
}
default: {
$conffile = ''
}
@@
-34,7
+34,7
@@
class multipath {
}
file { '/etc/multipath.conf':
}
file { '/etc/multipath.conf':
-
source => "puppet:///modules/multipath/${conffile}"
,
+
content => template("multipath/${conffile}.erb")
,
notify => Exec['multipath reload']
}
}
notify => Exec['multipath reload']
}
}