Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Commit

Permalink
Fix deprecated warning
Browse files Browse the repository at this point in the history
```
Warning: Variable access via 'env_variables' is deprecated. Use '@env_variables' instead. template[/etc/puppet/modules/apache/templates/virtualhost/vhost.conf.erb]:17
   (at /etc/puppet/modules/apache/templates/virtualhost/vhost.conf.erb:17:in `result')
```
  • Loading branch information
Marcos Passos committed Mar 31, 2014
1 parent 5dfe465 commit 7074a25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/virtualhost/vhost.conf.erb
Expand Up @@ -14,8 +14,8 @@
<% end -%>
<% end -%>
<% if @env_variables != "" -%>
<% if env_variables.is_a? Array -%>
<% env_variables.each do |envvars| -%>
<% if @env_variables.is_a? Array -%>
<% @env_variables.each do |envvars| -%>
SetEnv <%= envvars %>
<% end -%>
<% end -%>
Expand Down

0 comments on commit 7074a25

Please sign in to comment.