Skip to content

Commit

Permalink
Updated varnames in templates
Browse files Browse the repository at this point in the history
  • Loading branch information
alvagante committed Sep 24, 2013
1 parent de235fa commit 08ffc8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/rc.local.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ for command in $(ls -v1 <%= scope.lookupvar('rclocal::params::configdir') %> ) ;
<%= scope.lookupvar('rclocal::params::configdir') %>/$command
done

<% if operatingsystem == 'RedHat' or operatingsystem == 'Scientific' or operatingsystem == 'CentOS' or operatingsystem == 'Linux' %>
<% if @operatingsystem == 'RedHat' or @operatingsystem == 'Scientific' or @operatingsystem == 'CentOS' or @operatingsystem == 'Linux' %>
touch /var/lock/subsys/local
<% else %>
exit 0
Expand Down

0 comments on commit 08ffc8d

Please sign in to comment.