Puppet Class: profile::puppetserver::git::private

Defined in:
modules/profile/manifests/puppetserver/git/private.pp

Summary

class to set up addtional aspects of the git private repo

Overview

SPDX-License-Identifier: Apache-2.0



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'modules/profile/manifests/puppetserver/git/private.pp', line 3

class profile::puppetserver::git::private (
) {
    include profile::puppetserver::git
    $repo_url = "${profile::puppetserver::git::basedir}/private"
    ensure_packages(['yamllint'])
    file { '/etc/puppet/yamllint.yaml':
        ensure => file,
        source => 'puppet:///modules/puppetmaster/git/yamllint.yaml',
    }
    file { '/usr/local/bin/git_ssh_wrapper.sh':
        ensure => file,
        source => 'puppet:///modules/puppetmaster/git/private/ssh_wrapper.sh',
        owner  => 'root',
        group  => 'root',
        mode   => '0555',
    }
}