Yuvipanda has uploaded a new change for review.

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

Change subject: tcpircbot: Use ensure_packages
......................................................................

tcpircbot: Use ensure_packages

Because it conflicts with ircecho otherwise on neon

Change-Id: Ia7619c29243b54b4b3adbe8b601ced7bfa659c06
---
M modules/ircecho/manifests/init.pp
M modules/tcpircbot/manifests/init.pp
2 files changed, 2 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/41/201841/1

diff --git a/modules/ircecho/manifests/init.pp 
b/modules/ircecho/manifests/init.pp
index 578ce65..be9e396 100644
--- a/modules/ircecho/manifests/init.pp
+++ b/modules/ircecho/manifests/init.pp
@@ -14,9 +14,7 @@
     $ircecho_server = 'chat.freenode.net',
 ) {
 
-    package { ['python-pyinotify', 'python-irclib']:
-        ensure => present,
-    }
+    ensure_packages(['python-pyinotify', 'python-irclib'])
 
     file { '/usr/local/bin/ircecho':
         ensure => present,
diff --git a/modules/tcpircbot/manifests/init.pp 
b/modules/tcpircbot/manifests/init.pp
index a99d530..c110bb7 100644
--- a/modules/tcpircbot/manifests/init.pp
+++ b/modules/tcpircbot/manifests/init.pp
@@ -29,9 +29,7 @@
     $dir         = '/srv/tcpircbot',
 ) {
 
-    package { [ 'python-irclib', 'python-netaddr' ]:
-        ensure => present,
-    }
+    ensure_packages(['python-irclib', 'python-netaddr'])
 
     group { 'tcpircbot':
         ensure  => present,

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia7619c29243b54b4b3adbe8b601ced7bfa659c06
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Yuvipanda <yuvipa...@gmail.com>

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

Reply via email to