Puppet Class: maestro::maestro::securityconfig

Inherits:
maestro::params
Defined in:
manifests/maestro/securityconfig.pp

Overview

Parameters:

  • ldap (Any) (defaults to: $maestro::maestro::ldap)
  • master_password (Any) (defaults to: $maestro::maestro::master_password)
  • mail_from (Any) (defaults to: $maestro::maestro::mail_from)
  • basedir (Any) (defaults to: $maestro::maestro::basedir)


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# File 'manifests/maestro/securityconfig.pp', line 1

class maestro::maestro::securityconfig(
  $ldap            = $maestro::maestro::ldap,
  $master_password = $maestro::maestro::master_password,
  $mail_from       = $maestro::maestro::mail_from,
  $basedir         = $maestro::maestro::basedir) inherits maestro::params {

  File {
    owner => $maestro::params::user,
    group => $maestro::params::group,
  }
  # Configure Maestro
  file { "${basedir}/conf/security.properties":
    mode    => '0644',
    content => template('maestro/security.properties.erb'),
  }
}