Skip to content

Commit

Permalink
Made rhn check not silly.
Browse files Browse the repository at this point in the history
Fixed syntax and structure for check on RHN conf file.
  • Loading branch information
rapenchukd committed Jan 22, 2015
1 parent 9a50f76 commit 0b62cfb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion recipes/yum.rb
Expand Up @@ -34,7 +34,9 @@
end

rhn_conf = '/etc/yum/pluginconf.d/rhnplugin.conf'
GPGCheck.check(rhn_conf) if File.file?(rhn_conf)
File.file?(rhn_conf) do
GPGCheck.check(rhn_conf)
end
end
action :run
end
Expand Down

0 comments on commit 0b62cfb

Please sign in to comment.