summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/master/dashboard/settings.yml.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/master/dashboard/settings.yml.erb b/templates/master/dashboard/settings.yml.erb
index 27d2bd5..95b79c9 100644
--- a/templates/master/dashboard/settings.yml.erb
+++ b/templates/master/dashboard/settings.yml.erb
@@ -51,7 +51,7 @@ file_bucket_server: 'puppet'
file_bucket_port: 8140
# Amount of time in seconds since last report before a node is considered no longer reporting
-no_longer_reporting_cutoff: <%= settings['no_longer_reporting_cutoff'] || 3600 %>
+no_longer_reporting_cutoff: <%= @settings['no_longer_reporting_cutoff'] || 3600 %>
# How many days of history to display on the "Daily Run Status" graph
daily_run_history_length: 30
@@ -78,7 +78,7 @@ custom_logo_alt_text: 'Puppet Dashboard'
disable_legacy_report_upload_url: false
# Disables the UI and controller actions for editing nodes, classes, groups and reports. Report submission is still allowed
-enable_read_only_mode: <%= settings['enable_read_only_mode'] || 'false' %>
+enable_read_only_mode: <%= @settings['enable_read_only_mode'] || 'false' %>
# Default number of items of each kind to display per page
nodes_per_page: 20