Puppet Class: profile::community_civicrm

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

Overview

Parameters:

  • config_nonce (String) (defaults to: lookup('profile::community_civicrm::config_nonce'))
  • db_pass (String) (defaults to: lookup('profile::community_civicrm::dbpassword'))
  • git_branch (String) (defaults to: lookup('profile::community_civicrm::git_branch', {'default_value' => 'main'}))
  • hash_salt (String) (defaults to: lookup('profile::community_civicrm::hash_salt'))


14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# File 'modules/profile/manifests/community_civicrm.pp', line 14

class profile::community_civicrm (
    String $config_nonce = lookup('profile::community_civicrm::config_nonce'),
    String $db_pass = lookup('profile::community_civicrm::dbpassword'),
    String $git_branch = lookup('profile::community_civicrm::git_branch', {'default_value' => 'main'}),
    String $hash_salt = lookup('profile::community_civicrm::hash_salt'),
){

    motd::script { 'deployment_info':
        ensure   => present,
        priority => 99,
        content  => template('community_civicrm/deployment_info.motd.erb'),
    }

    include profile::community_civicrm::db
    include profile::community_civicrm::httpd

    class { 'community_civicrm':
        config_nonce => $config_nonce,
        db_pass      => $db_pass,
        hash_salt    => $hash_salt,
        git_branch   => $git_branch,
        site_name    => $profile::community_civicrm::httpd::site_name,
    }

}