Puppet Class: profile::community_civicrm

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

Overview

SPDX-License-Identifier: Apache-2.0 community-crm.wikimedia.org

Community civicrm instance

maintainer: fr-tech phabricator-tag: Fundraising-Backlog

Parameters:

  • config_nonce (String) (defaults to: lookup('profile::community_civicrm::config_nonce'))
  • db_pass (String) (defaults to: lookup('profile::community_civicrm::dbpassword'))
  • hash_salt (String) (defaults to: lookup('profile::community_civicrm::hash_salt'))


8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# File 'modules/profile/manifests/community_civicrm.pp', line 8

class profile::community_civicrm (
    String $config_nonce = lookup('profile::community_civicrm::config_nonce'),
    String $db_pass = lookup('profile::community_civicrm::dbpassword'),
    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,
        site_name    => $profile::community_civicrm::httpd::site_name,
    }

}