Skip to content
This repository has been archived by the owner on May 14, 2021. It is now read-only.

Commit

Permalink
Fix the RHEL SCL enable command.
Browse files Browse the repository at this point in the history
Fixes #8.
  • Loading branch information
coderanger committed Apr 30, 2017
1 parent 1322c82 commit d686da5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/poise_languages/scl/resource.rb
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def install_scl_repo
# KNOW BY FILING A GITHUB ISSUE AT http://github.com/poise/poise-languages/issues/new.
repo_name = "rhel-server-rhscl-#{node['platform_version'][0]}-rpms"
execute "subscription-manager repos --enable #{repo_name}" do
not_if { shell_out!('subscription-manager repos --list').stdout.include?(repo_name) }
not_if { shell_out!('subscription-manager repos --list-enabled').stdout.include?(repo_name) }
end
else
package 'centos-release-scl-rh' do
Expand Down

0 comments on commit d686da5

Please sign in to comment.