Puppet Class: profile::puppetserver::wmcs

Defined in:
modules/profile/manifests/puppetserver/wmcs.pp

Overview

SPDX-License-Identifier: Apache-2.0

Parameters:

  • git_basedir (Stdlib::Unixpath) (defaults to: lookup('profile::puppetserver::git::basedir'))


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

class profile::puppetserver::wmcs (
    Stdlib::Unixpath $git_basedir = lookup('profile::puppetserver::git::basedir'),
){
    include profile::openstack::base::puppetmaster::enc_client
    class { 'profile::puppetserver':
        enc_path => $profile::openstack::base::puppetmaster::enc_client::enc_path,
    }
    class { 'puppetmaster::gitsync':
        base_dir => $git_basedir,
        # TODO: make git_user a param to puppetmaster::gitpuppet and use that here
        git_user => 'gitpuppet',
    }

    # validatelabsfqdn will look up an instance certname in nova
    #  and make sure it's for an actual instance before signing
    file { '/usr/local/sbin/validatelabsfqdn.py':
        ensure => 'present',
        owner  => 'root',
        group  => 'root',
        mode   => '0555',
        source => 'puppet:///modules/puppetmaster/validatelabsfqdn.py',
    }
}