Skip to content

Commit

Permalink
Merge pull request #47 from Phil-Friderici/deprecated_vars
Browse files Browse the repository at this point in the history
Fixed: deprecated variables access in templates
  • Loading branch information
ghoneycutt committed Jan 28, 2014
2 parents d224eb2 + 96ea12d commit 8708060
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion templates/common-account-pc.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file is being maintained by Puppet.
# DO NOT EDIT
<% my_pam_account_lines.each do |account_line| -%>
<% @my_pam_account_lines.each do |account_line| -%>
<%= account_line %>
<% end -%>
2 changes: 1 addition & 1 deletion templates/common-auth-pc.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file is being maintained by Puppet.
# DO NOT EDIT
<% my_pam_auth_lines.each do |auth_line| -%>
<% @my_pam_auth_lines.each do |auth_line| -%>
<%= auth_line %>
<% end -%>
2 changes: 1 addition & 1 deletion templates/common-password-pc.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file is being maintained by Puppet.
# DO NOT EDIT
<% my_pam_password_lines.each do |password_line| -%>
<% @my_pam_password_lines.each do |password_line| -%>
<%= password_line %>
<% end -%>
2 changes: 1 addition & 1 deletion templates/common-session-pc.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file is being maintained by Puppet.
# DO NOT EDIT
<% my_pam_session_lines.each do |session_line| -%>
<% @my_pam_session_lines.each do |session_line| -%>
<%= session_line %>
<% end -%>
8 changes: 4 additions & 4 deletions templates/pam.conf.erb
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# This file is being maintained by Puppet.
# DO NOT EDIT
# Auth
<% my_pam_auth_lines.each do |auth_line| -%>
<% @my_pam_auth_lines.each do |auth_line| -%>
<%= auth_line %>
<% end -%>

# Account
<% my_pam_account_lines.each do |account_line| -%>
<% @my_pam_account_lines.each do |account_line| -%>
<%= account_line %>
<% end -%>

# Password
<% my_pam_password_lines.each do |password_line| -%>
<% @my_pam_password_lines.each do |password_line| -%>
<%= password_line %>
<% end -%>

# Session
<% my_pam_session_lines.each do |session_line| -%>
<% @my_pam_session_lines.each do |session_line| -%>
<%= session_line %>
<% end -%>
8 changes: 4 additions & 4 deletions templates/system-auth-ac.erb
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# This file is being maintained by Puppet.
# DO NOT EDIT
# Auth
<% my_pam_auth_lines.each do |auth_line| -%>
<% @my_pam_auth_lines.each do |auth_line| -%>
<%= auth_line %>
<% end -%>

# Account
<% my_pam_account_lines.each do |account_line| -%>
<% @my_pam_account_lines.each do |account_line| -%>
<%= account_line %>
<% end -%>

# Password
<% my_pam_password_lines.each do |password_line| -%>
<% @my_pam_password_lines.each do |password_line| -%>
<%= password_line %>
<% end -%>

# Session
<% my_pam_session_lines.each do |session_line| -%>
<% @my_pam_session_lines.each do |session_line| -%>
<%= session_line %>
<% end -%>

0 comments on commit 8708060

Please sign in to comment.