Hashar has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/121677

Change subject: Puppet masters in labs needs puppet::self::geoip
......................................................................

Puppet masters in labs needs puppet::self::geoip

Puppet dies with:

err: /Stage[main]/Geoip::Data::Puppet/File[/usr/share/GeoIP]: Could not
evaluate: Could not retrieve information from environment production
source(s) puppet:///volatile/GeoIP at
/etc/puppet/modules/geoip/manifests/data/puppet.pp:22

Whenever role::puppetmaster::self is applied on a labs instance.
Supposedly applying puppet::self::geoip fix the problem.

Change-Id: I7561f649440871c06ac1c92144a3f1ba5c9557a1
---
M manifests/role/puppet.pp
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/77/121677/1

diff --git a/manifests/role/puppet.pp b/manifests/role/puppet.pp
index d5faf56..f610198 100644
--- a/manifests/role/puppet.pp
+++ b/manifests/role/puppet.pp
@@ -76,4 +76,8 @@
                        server => $server,
                }
        }
+
+    if $::realm == 'labs' {
+        include puppet::self::geoip
+    }
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/121677
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7561f649440871c06ac1c92144a3f1ba5c9557a1
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Hashar <has...@free.fr>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to