summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorChristian G. Warden <cwarden@xerus.org>2012-02-02 18:10:14 -0800
committerChristian G. Warden <cwarden@xerus.org>2012-02-02 18:10:14 -0800
commite2dfae5852ecdf3695a6af8ec48092ea24698390 (patch)
treed655e7fbf5a12b2a622c83411b40397e512d01e1 /templates
parentd8de9540534a3801c87278435934da3c88a69e4b (diff)
Fully qualify facter variables
Diffstat (limited to 'templates')
-rw-r--r--templates/client.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/client.erb b/templates/client.erb
index 3e8ab39..8c93cc5 100644
--- a/templates/client.erb
+++ b/templates/client.erb
@@ -1,7 +1,7 @@
<%
# Downcase all information
- dom = domain.downcase
- host = hostname.downcase
+ dom = scope.lookupvar('::domain').downcase
+ host = scope.lookupvar('::hostname').downcase
%>
### Munin client from Puppet template