Puppet Class: rundeck::config::framework

Defined in:
manifests/config/framework.pp

Summary

This private class is called from rundeck::config used to manage the framework properties of rundeck.

Overview



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

class rundeck::config::framework {
  assert_private()

  if $rundeck::ssl_enabled {
    $_framework_ssl_config = {
      'framework.server.port' => $rundeck::ssl_port,
      'framework.server.url'  => "https://${rundeck::config::framework_config['framework.server.name']}:${rundeck::ssl_port}",
    }
  } else {
    $_framework_ssl_config = {}
  }

  $_framework_config = $rundeck::config::framework_config + $_framework_ssl_config

  file { "${rundeck::config::properties_dir}/framework.properties":
    ensure  => file,
    content => epp('rundeck/framework.properties.epp', { _framework_config => $_framework_config }),
  }
}