Filippo Giunchedi has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/375346 )
Change subject: cassandra: fix jbod_device invocation
......................................................................
cassandra: fix jbod_device invocation
Change-Id: I5e9475d7136bb7e320d96dadae8a48950809b84f
---
M hieradata/hosts/restbase2001.yaml
M modules/cassandra/manifests/jbod_device.pp
2 files changed, 2 insertions(+), 2 deletions(-)
Approvals:
jenkins-bot: Verified
Filippo Giunchedi: Looks good to me, approved
diff --git a/hieradata/hosts/restbase2001.yaml
b/hieradata/hosts/restbase2001.yaml
index db38b13..f1860df 100644
--- a/hieradata/hosts/restbase2001.yaml
+++ b/hieradata/hosts/restbase2001.yaml
@@ -1,2 +1,2 @@
profile::cassandra::rack: 'b'
-cassandra::jbod_devices: ['sda', 'sdb', 'sdc', 'sdd', 'sde']
+cassandra::jbod_devices: ['sda4', 'sdb4', 'sdc4', 'sdd4', 'sde4']
diff --git a/modules/cassandra/manifests/jbod_device.pp
b/modules/cassandra/manifests/jbod_device.pp
index 4407e58..ce393a3 100644
--- a/modules/cassandra/manifests/jbod_device.pp
+++ b/modules/cassandra/manifests/jbod_device.pp
@@ -29,7 +29,7 @@
mount { $mount_point:
ensure => mounted,
- device => $device,
+ device => "/dev/${device}",
name => $mount_point,
fstype => 'ext4',
options => $mount_options,
--
To view, visit https://gerrit.wikimedia.org/r/375346
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I5e9475d7136bb7e320d96dadae8a48950809b84f
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Filippo Giunchedi <[email protected]>
Gerrit-Reviewer: Filippo Giunchedi <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits