diff --git a/templates/rundeck-config.erb b/templates/rundeck-config.erb index a22b9aa25..e0add2847 100644 --- a/templates/rundeck-config.erb +++ b/templates/rundeck-config.erb @@ -92,13 +92,9 @@ rundeck.storage.converter."1".<%= k %> = "<%= v %>" <%- end -%> <%- end -%> -rundeck.security.authorization.preauthenticated.enabled = "<%= @preauthenticated_config['enabled']%>" -rundeck.security.authorization.preauthenticated.attributeName = "<%= @preauthenticated_config['attributeName']%>" -rundeck.security.authorization.preauthenticated.delimiter = "<%= @preauthenticated_config['delimiter']%>" -rundeck.security.authorization.preauthenticated.userNameHeader = "<%= @preauthenticated_config['userNameHeader']%>" -rundeck.security.authorization.preauthenticated.userRolesHeader = "<%= @preauthenticated_config['userRolesHeader']%>" -rundeck.security.authorization.preauthenticated.redirectLogout = "<%= @preauthenticated_config['redirectLogout']%>" -rundeck.security.authorization.preauthenticated.redirectUrl = "<%= @preauthenticated_config['redirectUrl']%>" +<%- @preauthenticated_config.each do |k,v| -%> +rundeck.security.authorization.preauthenticated.<%= k %> = "<%= v %>" +<%- end -%> <%- @gui_config.sort.each do |k,v| -%> <%= k %> = "<%= v %>"