Skip to content

Commit

Permalink
Merge pull request #111 from patcadelina/realm-template
Browse files Browse the repository at this point in the history
(#110) Add support for customizing realm.properties
  • Loading branch information
igalic committed Oct 20, 2015
2 parents 5918014 + 64df9db commit 3895f5a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
class rundeck::config(
$auth_types = $rundeck::auth_types,
$auth_template = $rundeck::auth_template,
$realm_template = $rundeck::realm_template,
$user = $rundeck::user,
$group = $rundeck::group,
$server_web_context = $rundeck::server_web_context,
Expand Down Expand Up @@ -65,7 +66,7 @@
owner => $user,
group => $group,
mode => '0640',
content => template('rundeck/realm.properties.erb'),
content => template($realm_template),
require => File[$properties_dir],
notify => Service[$service_name],
}
Expand Down
1 change: 1 addition & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@
$auth_types = $rundeck::params::auth_types,
$auth_template = $rundeck::params::auth_template,
$auth_config = $rundeck::params::auth_config,
$realm_template = $rundeck::params::realm_template,
$acl_policies = $rundeck::params::acl_policies,
$acl_template = $rundeck::params::acl_template,
$api_policies = $rundeck::params::api_policies,
Expand Down
1 change: 1 addition & 0 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@
},
}

$realm_template = 'rundeck/realm.properties.erb'

$mail_config = {}

Expand Down

0 comments on commit 3895f5a

Please sign in to comment.