Skip to content

Commit

Permalink
Removed Nginx stage ondemand title default value
Browse files Browse the repository at this point in the history
  • Loading branch information
abujeda committed Nov 22, 2023
1 parent a95f466 commit 1eaa401
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ Data type: `String`

nginx_stage.yml ondemand_title

Default value: `'Open OnDemand'`
Default value: `undef`

##### <a name="-openondemand--nginx_stage_pun_custom_env"></a>`nginx_stage_pun_custom_env`

Expand Down
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@
# nginx_stage configs
String $nginx_stage_clean_cron_schedule = '0 */2 * * *',
String $nginx_stage_ondemand_portal = 'ondemand',
String $nginx_stage_ondemand_title = 'Open OnDemand',
Optional[String] $nginx_stage_ondemand_title = undef,
Hash $nginx_stage_pun_custom_env = {},
Openondemand::Nginx_stage_namespace_config $nginx_stage_app_root = {},
String $nginx_stage_scl_env = 'ondemand',
Expand Down
2 changes: 2 additions & 0 deletions templates/nginx_stage.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ ondemand_portal: '<%= scope['openondemand::nginx_stage_ondemand_portal'] -%>'
# NB: If this is not set then most apps will use default title "Open OnDemand"
#
#ondemand_title: null
<% if scope['openondemand::nginx_stage_ondemand_title'] != nil -%>
ondemand_title: '<%= scope['openondemand::nginx_stage_ondemand_title'] -%>'
<% end -%>

# Custom environment variables to set for the PUN environment
# Below is an example of the use for setting env vars.
Expand Down

0 comments on commit 1eaa401

Please sign in to comment.