summaryrefslogtreecommitdiff
path: root/templates/client.erb
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2012-04-10 14:57:32 +0200
committermh <mh@immerda.ch>2012-04-10 14:57:32 +0200
commitf06092dda9280b373f7a55dd11b650c729059151 (patch)
tree44de4b06a7c695249a647cc71d515031568cf627 /templates/client.erb
parentf2a0d2623b36e6105f31e51d99cbd349adaa30d7 (diff)
parentc49190c6c6cae7c7f854920667717dad2e3adb27 (diff)
merge from github
Diffstat (limited to 'templates/client.erb')
-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