Skip to content

Commit

Permalink
selinux_login: Use correct name now the title is just the login name
Browse files Browse the repository at this point in the history
Now the title is just the login name we should be using the login
name for comparisons.

See 340c17e
  • Loading branch information
danwain authored and Dan Wainwright committed Jan 18, 2024
1 parent 10f57fa commit 9b82efd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet/provider/selinux_login/semanage.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def self.parse_helper_lines(lines)
# local %cn_cegbu_aconex_fr-dev-platform-priv unconfined_u
source_str, selinux_login_name, selinux_user = split

key = "#{selinux_login_name}_#{selinux_user}"
key = selinux_login_name
source =
case source_str
when 'policy' then :policy
Expand Down

0 comments on commit 9b82efd

Please sign in to comment.