Puppet Class: maestro::params

Overview

Parameters:

  • enabled (Any) (defaults to: true)
  • user (Any) (defaults to: 'maestro')
  • group (Any) (defaults to: 'maestro')
  • user_home (Any) (defaults to: '/var/local/maestro')
  • agent_user (Any) (defaults to: $::osfamily ? { 'Windows' => 'maestro', default => 'maestro_agent')
  • agent_group (Any) (defaults to: 'maestro_agent')
  • agent_user_home (Any) (defaults to: $::osfamily ? { 'Windows' => 'C:\maestro-agent', default => '/var/local/maestro-agent')
  • agent_user_password (Any) (defaults to: undef)
  • repo (Any) (defaults to: { 'url' => 'https://repo.maestrodev.com/archiva/repository/all' })
  • logging_level (Any) (defaults to: 'INFO')
  • admin_username (Any) (defaults to: 'admin')
  • admin_password (Any) (defaults to: $maestro_adminpassword ? {undef => "admin1", default => $maestro_adminpassword)
  • lucee_password (Any) (defaults to: 'maestro')
  • lucee_username (Any) (defaults to: 'maestro')
  • stomp_username (Any) (defaults to: 'maestro')
  • stomp_password (Any) (defaults to: 'maestro')
  • db_server_password (Any) (defaults to: $maestro_db_server_password ? {undef => "maestro", default => $maestro_db_server_password)
  • db_username (Any) (defaults to: 'maestro')
  • db_password (Any) (defaults to: $maestro_db_password ? {undef => "maestro", default => $maestro_db_password)
  • db_host (Any) (defaults to: 'localhost')
  • db_port (Any) (defaults to: 5432)
  • db_version (Any) (defaults to: undef)
  • db_allowed_rules (Any) (defaults to: [])


1
2
3
4
5
6
7
8
9
10
11
12
13
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
39
40
41
# File 'manifests/params.pp', line 1

class maestro::params(
  $enabled             = true,
  $user                = 'maestro',
  $group               = 'maestro',
  $user_home           = '/var/local/maestro',
  $agent_user          = $::osfamily ? { 'Windows' => 'maestro', default => 'maestro_agent' },
  $agent_group         = 'maestro_agent',
  $agent_user_home     = $::osfamily ? { 'Windows' => 'C:\maestro-agent', default => '/var/local/maestro-agent' },
  $agent_user_password = undef,
  $repo                = {
    'url' => 'https://repo.maestrodev.com/archiva/repository/all'
  },
  $logging_level       = 'INFO',
  $admin_username      = 'admin',
  $admin_password      = $maestro_adminpassword ? {undef => "admin1", default => $maestro_adminpassword},
  $lucee_password      = 'maestro',
  $lucee_username      = 'maestro',
  $stomp_username      = 'maestro',
  $stomp_password      = 'maestro',

  $db_server_password  = $maestro_db_server_password ? {undef => "maestro", default => $maestro_db_server_password},
  $db_username         = 'maestro',
  $db_password         = $maestro_db_password ? {undef => "maestro", default => $maestro_db_password},
  $db_host             = 'localhost',
  $db_port             = 5432,
  $db_version          = undef,
  $db_allowed_rules    = []) {

  $srcdir = '/usr/local/src'

  Exec {
    path => '/bin/:/usr/bin:/usr/sbin',
  }

  $package_type = $::osfamily ? {
    'RedHat'  => 'rpm',
    'Windows' => 'windows',
    default   => 'tarball',
  }

}