Template was comparing to :undefined

Change-Id: Id6f502dcaa09e7be86863fcbe007f20d644280b4
This commit is contained in:
Spencer Krum 2014-09-11 17:07:26 -07:00
parent cd3f27298d
commit bca18fff5b
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<VirtualHost <%= scope.lookupvar("storyboard::application::hostname") %>:80> <VirtualHost <%= scope.lookupvar("storyboard::application::hostname") %>:80>
<% if (scope.lookupvar("storyboard::application::serveradmin") != :undefined) %> <% if scope.lookupvar("storyboard::application::serveradmin") %>
ServerAdmin <%= scope.lookupvar("storyboard::application::serveradmin") %> ServerAdmin <%= scope.lookupvar("storyboard::application::serveradmin") %>
<% end %> <% end %>
ServerName <%= scope.lookupvar("storyboard::application::hostname") %> ServerName <%= scope.lookupvar("storyboard::application::hostname") %>
@ -15,7 +15,7 @@
</VirtualHost> </VirtualHost>
<IfModule mod_ssl.c> <IfModule mod_ssl.c>
<VirtualHost <%= scope.lookupvar("storyboard::application::hostname") %>:443> <VirtualHost <%= scope.lookupvar("storyboard::application::hostname") %>:443>
<% if (scope.lookupvar("storyboard::application::serveradmin") != :undefined) %> <% if scope.lookupvar("storyboard::application::serveradmin") %>
ServerAdmin <%= scope.lookupvar("storyboard::application::serveradmin") %> ServerAdmin <%= scope.lookupvar("storyboard::application::serveradmin") %>
<% end %> <% end %>
ServerName <%= scope.lookupvar("storyboard::application::hostname") %> ServerName <%= scope.lookupvar("storyboard::application::hostname") %>