diff --git a/manifests/init.pp b/manifests/init.pp index b6c346e..10f8441 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -32,6 +32,8 @@ class zanata( $zanata_default_from_address = '', $zanata_storage_dir = '/home/wildfly/zanata', + $zanata_openid_provider_url = '', + $zanata_admin_users = '', ) { diff --git a/templates/standalone.xml.erb b/templates/standalone.xml.erb index a4726e8..8a39cb3 100644 --- a/templates/standalone.xml.erb +++ b/templates/standalone.xml.erb @@ -163,9 +163,9 @@ <%= @zanata_db_username %> - <% if @zanata_db_password != '' -%> +<% if @zanata_db_password != '' -%> <%= @zanata_db_password %> - <% end -%> +<% end -%> NOWARN @@ -413,14 +413,19 @@ +<% if @zanata_openid_provider_url == '' -%> +<% end -%> - +<% if @zanata_admin_users != '' -%> + +<% else -%> +<% end -%> - <% if @zanata_default_from_address != '' -%> +<% if @zanata_default_from_address != '' -%> - <% end -%> +<% end -%> @@ -445,7 +450,12 @@ - + + +<% if @zanata_openid_provider_url != '' -%> + +<% end -%> +