Puppet Class: profile::mediawiki::maintenance::update_special_pages

Defined in:
modules/profile/manifests/mediawiki/maintenance/update_special_pages.pp

Overview



1
2
3
4
5
6
7
8
9
10
11
12
13
# File 'modules/profile/manifests/mediawiki/maintenance/update_special_pages.pp', line 1

class profile::mediawiki::maintenance::update_special_pages {
    profile::mediawiki::sharded_periodic_job { 'update_special_pages':
        script   => 'updateSpecialPages.php',
        interval => '*-1/3 05:00',
    }

    profile::mediawiki::periodic_job { 'update_special_pages':
        ensure   => absent,
        # TODO: Instead of flock, make this unit run every N time units after it's finished.
        command  => 'flock -n /var/lock/update-special-pages /usr/local/bin/foreachwiki updateSpecialPages.php',
        interval => '*-1/3 05:00'
    }
}