Andrew Bogott has submitted this change and it was merged.
Change subject: Replace use of $::is_virtual with $::virtual == kvm
......................................................................
Replace use of $::is_virtual with $::virtual == kvm
Why doesn't the former work? It does on the commandline but not
for puppet.
Change-Id: Id6fa54b0337a95595cc6b2c8ef039c83082dbf1e
---
M modules/role/manifests/labs/instance.pp
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Andrew Bogott: Looks good to me, approved
jenkins-bot: Verified
diff --git a/modules/role/manifests/labs/instance.pp
b/modules/role/manifests/labs/instance.pp
index 0857531..760a07c 100644
--- a/modules/role/manifests/labs/instance.pp
+++ b/modules/role/manifests/labs/instance.pp
@@ -33,7 +33,7 @@
}
# No NFS on labs metal for now.
- if $::is_virtual {
+ if $::virtual == 'kvm' {
# This script will block until the NFS volume is available
file { '/usr/local/sbin/block-for-export':
ensure => present,
--
To view, visit https://gerrit.wikimedia.org/r/258193
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Id6fa54b0337a95595cc6b2c8ef039c83082dbf1e
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Andrew Bogott <[email protected]>
Gerrit-Reviewer: Andrew Bogott <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits