summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2014-04-18 11:08:48 +0200
committermh <mh@immerda.ch>2014-04-18 11:08:48 +0200
commit166efbbc871637517f4da6c3db4f2e38a15012d3 (patch)
tree402fbf85f33de6e018b6582c1e20f74da34433ad
parentcf73e775ea97cc53e2671efcc0ae03903a101bd3 (diff)
address puppet 3.x deprecation warnings
-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