Puppet Class: pontoon::enc

Defined in:
modules/pontoon/manifests/enc.pp

Overview

Parameters:



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'modules/pontoon/manifests/enc.pp', line 1

class pontoon::enc (
  String $stack,
) {
    require_package(['python3-yaml'])

    file { '/etc/pontoon-enc.yaml':
        ensure => 'link',
        owner  => 'root',
        group  => 'root',
        mode   => '0444',
        target => "/var/lib/git/operations/puppet/modules/pontoon/files/${stack}",
    }

    file { '/usr/local/bin/puppet-enc':
        owner  => 'root',
        group  => 'root',
        mode   => '0555',
        source => 'puppet:///modules/pontoon/enc.py',
    }
}