Hashar has uploaded a new change for review. https://gerrit.wikimedia.org/r/310615
Change subject: utils: fix rubocop issue in hiera_lookup ...................................................................... utils: fix rubocop issue in hiera_lookup Change-Id: I7f043f302b8562309ba46bb9f35d3f21bdb018cc --- M utils/hiera_lookup 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/15/310615/1 diff --git a/utils/hiera_lookup b/utils/hiera_lookup index aa20f25..04b5bfc 100755 --- a/utils/hiera_lookup +++ b/utils/hiera_lookup @@ -52,7 +52,7 @@ scope = Hash[ARGV.map { |kv| "::#{kv.sub('--', '')}".split('=') }] abort(usage "Error: --fqdn=FQDN is required.") unless scope['::fqdn'] scope['::hostname'] = scope['::fqdn'][/^[^.]+/] - if scope['::fqdn'].end_with?('.wmflabs') or scope['::fqdn'].end_with?('.labtest') + if scope['::fqdn'].end_with?('.wmflabs') || scope['::fqdn'].end_with?('.labtest') scope['::realm'] = 'labs' else scope['::realm'] = 'production' -- To view, visit https://gerrit.wikimedia.org/r/310615 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7f043f302b8562309ba46bb9f35d3f21bdb018cc 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