Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't manage installation of git #502

Merged
merged 1 commit into from
Oct 27, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion manifests/install/puppet_gem.pp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# This class links the r10k binary for Puppet FOSS 4.2 and up
class r10k::install::puppet_gem {
require git

if versioncmp("${::puppetversion}", '4.2.0') >= 0 { #lint:ignore:only_variable_string
file { '/usr/bin/r10k':
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/install_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
}
end

it { is_expected.to contain_class('git') }
it { is_expected.not_to contain_class('git') }
it { is_expected.to contain_class('r10k::install::puppet_gem') }
it do
is_expected.to contain_package('r10k').with(
Expand Down