Puppet Class: profile::releases::parsoid

Defined in:
modules/profile/manifests/releases/parsoid.pp

Overview

server hosting (an archive of) Parsoid releases releases.wikimedia.org/parsoid/

Parameters:

  • active_server (Stdlib::Fqdn) (defaults to: lookup('releases_server'))
  • passive_server (Stdlib::Fqdn) (defaults to: lookup('releases_server_failover'))


3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'modules/profile/manifests/releases/parsoid.pp', line 3

class profile::releases::parsoid (
    Stdlib::Fqdn $active_server = lookup('releases_server'),
    Stdlib::Fqdn $passive_server = lookup('releases_server_failover'),
){
    file { '/srv/org/wikimedia/releases/parsoid':
        ensure => 'directory',
        owner  => 'root',
        group  => 'releasers-parsoid',
        mode   => '2775',
    }

    rsync::quickdatacopy { 'srv-org-wikimedia-releases-parsoid':
      ensure      => present,
      auto_sync   => true,
      source_host => $active_server,
      dest_host   => $passive_server,
      module_path => '/srv/org/wikimedia/releases/parsoid',
    }

}