From bca18fff5b8cf345e1d1df0c92b55ca6ef4ca62f Mon Sep 17 00:00:00 2001 From: Spencer Krum Date: Thu, 11 Sep 2014 17:07:26 -0700 Subject: [PATCH] Template was comparing to :undefined Change-Id: Id6f502dcaa09e7be86863fcbe007f20d644280b4 --- templates/storyboard_http.vhost.erb | 2 +- templates/storyboard_https.vhost.erb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/storyboard_http.vhost.erb b/templates/storyboard_http.vhost.erb index 9f9f638..2963639 100644 --- a/templates/storyboard_http.vhost.erb +++ b/templates/storyboard_http.vhost.erb @@ -22,4 +22,4 @@ Allow from all <% end %> - \ No newline at end of file + diff --git a/templates/storyboard_https.vhost.erb b/templates/storyboard_https.vhost.erb index 4e3918d..dab7983 100644 --- a/templates/storyboard_https.vhost.erb +++ b/templates/storyboard_https.vhost.erb @@ -1,5 +1,5 @@ :80> -<% if (scope.lookupvar("storyboard::application::serveradmin") != :undefined) %> +<% if scope.lookupvar("storyboard::application::serveradmin") %> ServerAdmin <%= scope.lookupvar("storyboard::application::serveradmin") %> <% end %> ServerName <%= scope.lookupvar("storyboard::application::hostname") %> @@ -15,7 +15,7 @@ :443> - <% if (scope.lookupvar("storyboard::application::serveradmin") != :undefined) %> + <% if scope.lookupvar("storyboard::application::serveradmin") %> ServerAdmin <%= scope.lookupvar("storyboard::application::serveradmin") %> <% end %> ServerName <%= scope.lookupvar("storyboard::application::hostname") %>