Puppet Class: taiga::back::config

Defined in:
manifests/back/config.pp

Summary

Configure Taiga back

Overview



4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'manifests/back/config.pp', line 4

class taiga::back::config {
  assert_private()

  concat { "${taiga::back::install_dir}/settings/local.py":
    ensure    => present,
    owner     => $taiga::back::user,
    group     => 'nogroup',
    show_diff => false,
  }

  concat::fragment { 'taiga-back-local.py-base':
    target  => "${taiga::back::install_dir}/settings/local.py",
    content => epp('taiga/back/local.py'),
    order   => '00',
  }

  if $taiga::back::ldap_enable {
    concat::fragment { 'taiga-back-local.py-ldap':
      target  => "${taiga::back::install_dir}/settings/local.py",
      content => epp('taiga/back/local.py-ldap'),
      order   => '10',
    }
  }
}