ArielGlenn has uploaded a new change for review. https://gerrit.wikimedia.org/r/118260
Change subject: remove snapshots.pp manifest, no longer used ...................................................................... remove snapshots.pp manifest, no longer used Change-Id: I89a27cf153969f9b12d499e14c946f94d509eb42 --- D manifests/snapshots.pp 1 file changed, 0 insertions(+), 77 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/60/118260/1 diff --git a/manifests/snapshots.pp b/manifests/snapshots.pp deleted file mode 100644 index 554a8ad..0000000 --- a/manifests/snapshots.pp +++ /dev/null @@ -1,77 +0,0 @@ -class snapshots::packages { - - # pick up various users, twemproxy - include mediawiki - - if ($::lsbdistcodename == 'precise') { - package { [ 'subversion', - 'php5', - 'php5-cli', - 'php5-mysql', - 'mysql-client-5.5', - 'p7zip-full', - 'libicu42', - 'utfnormal', - 'mwbzutils' - ]: - ensure => 'present', - } - } - else { - package { [ 'subversion', - 'php5', - 'php5-cli', - 'php5-mysql', - 'mysql-client-5.1', - 'p7zip-full', - 'libicu42', - 'wikimedia-php5-utfnormal' - ]: - ensure => 'present', - } - } -} - -class snapshots::files { - require snapshots::packages - - if ($::lsbdistcodename != 'precise') { - file { 'snapshot-php5-cli-ini': - ensure => 'present', - path => '/etc/php5/cli/php.ini', - mode => '0644', - owner => 'root', - group => 'root', - source => "puppet:///files/php/php.ini.cli.snaps.${::lsbdistcodename}", - } - - file { 'snapshot-fss-ini': - ensure => 'present', - path => '/etc/php5/conf.d/fss.ini', - mode => '0644', - owner => 'root', - group => 'root', - source => "puppet:///files/php/fss.ini.snaps.${::lsbdistcodename}", - } - } - -} - -class snapshots::sync { - require snapshots::packages - - exec { 'snapshot-trigger-mw-sync': - command => '/bin/true', - notify => Exec['mw-sync'], - unless => '/usr/bin/test -d /usr/local/apache/common-local', - } -} - -class snapshots::noapache { - service { 'noapache': - ensure => 'stopped', - name => 'apache2', - enable => false, - } -} - -- To view, visit https://gerrit.wikimedia.org/r/118260 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I89a27cf153969f9b12d499e14c946f94d509eb42 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: ArielGlenn <ar...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits