Puppet Class: profile::pwstore

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

Overview

SPDX-License-Identifier: Apache-2.0

Class profile::pwstore

Profile which designates that a pwstore repository is hosted.



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# File 'modules/profile/manifests/pwstore.pp', line 6

class profile::pwstore(
) {
    # Base directory for the pwstore repository
    file { '/srv/pwstore':
        ensure => directory,
        owner  => 'root',
        group  => 'ops',
        mode   => '0770',
    }

    if debian::codename::ge('bookworm'){
        git::systemconfig { 'mark-pwstore-repo-as-safe':
            settings => {
                'safe' => {
                    'directory' => '/srv/pwstore/pw.git',
                },
            },
        }
    }
}