Puppet Class: profile::wikistats

Defined in:
modules/profile/manifests/wikistats.pp

Overview

wikistats.wmcloud.org

This is a historic cloud-only project.

It is NOT stats.wikimedia.org or wikistats2 run by the WMF Analytics team.

These projects are unrelated despite the similar names.

maintainer: dzahn phabricator-tag: VPS-project-Wikistats

Parameters:

  • jobs_ensure (Wmflib::Ensure) (defaults to: lookup('profile::wikistats::jobs_ensure', {default_value => 'present'}))


13
14
15
16
17
18
19
20
21
22
23
24
25
26
# File 'modules/profile/manifests/wikistats.pp', line 13

class profile::wikistats (
    Wmflib::Ensure $jobs_ensure = lookup('profile::wikistats::jobs_ensure', {default_value => 'present'}),
){

    motd::script { 'deployment_info':
        ensure   => present,
        priority => 1,
        content  => template('wikistats/deployment_info.motd.erb'),
    }

    class { '::wikistats':
        jobs_ensure    => $jobs_ensure,
    }
}