[MediaWiki-commits] [Gerrit] mailman: class for helper scripts - change (operations/puppet)

2015-05-20 Thread Dzahn (Code Review)
Dzahn has submitted this change and it was merged.

Change subject: mailman: class for helper scripts
..


mailman: class for helper scripts

install the remove_from_private script added in Ia206c6a1282a41d8
but make a new class for helper scripts for this. other scripts might
follow as well.

Change-Id: I96a1735c1991d5ad29b419a8f483a7668678e377
---
M modules/mailman/manifests/init.pp
A modules/mailman/manifests/scripts.pp
2 files changed, 13 insertions(+), 0 deletions(-)

Approvals:
  John F. Lewis: Looks good to me, but someone else must approve
  jenkins-bot: Verified
  Dzahn: Looks good to me, approved



diff --git a/modules/mailman/manifests/init.pp 
b/modules/mailman/manifests/init.pp
index 7409b2a..4558163 100644
--- a/modules/mailman/manifests/init.pp
+++ b/modules/mailman/manifests/init.pp
@@ -1,4 +1,5 @@
 class mailman {
 include mailman::listserve
 include mailman::webui
+include mailman::scripts
 }
diff --git a/modules/mailman/manifests/scripts.pp 
b/modules/mailman/manifests/scripts.pp
new file mode 100644
index 000..9d0488f
--- /dev/null
+++ b/modules/mailman/manifests/scripts.pp
@@ -0,0 +1,12 @@
+# helper scripts for mailman admins
+class mailman::scripts {
+
+file { '/var/lib/mailman/bin/remove_from_private':
+ensure = 'present',
+owner  = 'root',
+group  = 'list',
+mode   = '0540',
+source = 'puppet:///modules/mailman/remove_from_private.sh'
+}
+
+}

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I96a1735c1991d5ad29b419a8f483a7668678e377
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn dz...@wikimedia.org
Gerrit-Reviewer: Dzahn dz...@wikimedia.org
Gerrit-Reviewer: John F. Lewis johnflewi...@gmail.com
Gerrit-Reviewer: jenkins-bot 

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


[MediaWiki-commits] [Gerrit] mailman: class for helper scripts - change (operations/puppet)

2015-05-20 Thread Dzahn (Code Review)
Dzahn has uploaded a new change for review.

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

Change subject: mailman: class for helper scripts
..

mailman: class for helper scripts

install the remove_from_private script added in Ia206c6a1282a41d8
but make a new class for helper scripts for this. other scripts might
follow as well.

Change-Id: I96a1735c1991d5ad29b419a8f483a7668678e377
---
M modules/mailman/manifests/init.pp
A modules/mailman/manifests/scripts.pp
2 files changed, 13 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/03/212303/1

diff --git a/modules/mailman/manifests/init.pp 
b/modules/mailman/manifests/init.pp
index 7409b2a..4558163 100644
--- a/modules/mailman/manifests/init.pp
+++ b/modules/mailman/manifests/init.pp
@@ -1,4 +1,5 @@
 class mailman {
 include mailman::listserve
 include mailman::webui
+include mailman::scripts
 }
diff --git a/modules/mailman/manifests/scripts.pp 
b/modules/mailman/manifests/scripts.pp
new file mode 100644
index 000..9d0488f
--- /dev/null
+++ b/modules/mailman/manifests/scripts.pp
@@ -0,0 +1,12 @@
+# helper scripts for mailman admins
+class mailman::scripts {
+
+file { '/var/lib/mailman/bin/remove_from_private':
+ensure = 'present',
+owner  = 'root',
+group  = 'list',
+mode   = '0540',
+source = 'puppet:///modules/mailman/remove_from_private.sh'
+}
+
+}

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I96a1735c1991d5ad29b419a8f483a7668678e377
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn dz...@wikimedia.org

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