-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minitar 1.x is not backwards compatible with 0.9, so only make this change in agent-runtime-main for now. Projects that depend on minitar and puppet will need to be made compatible with minitar 1.x before bumping their puppet dependency in puppet-runtime. And when they do bump puppet, they should bump minitar too. I added a reminder for the latter part. This applies to: bolt-runtime pe-bolt-server-runtime-main pe-installer-runtime-main pdk-runtime depends on minitar, but not puppet. When a new version of puppet is released that depends on minitar 1.x, then modules created using an older version of the pdk, will pull in the latest puppet, but have an incompatible minitar version.
- Loading branch information
1 parent
515c138
commit 15a50e2
Showing
5 changed files
with
30 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,15 @@ | ||
component 'rubygem-minitar' do |pkg, settings, platform| | ||
pkg.version '0.9' | ||
pkg.md5sum '4ab2c278183c9a83f3ad97066c381d84' | ||
version = settings[:rubygem_minitar_version] || '0.9' | ||
pkg.version version | ||
|
||
case version | ||
when '1.0.1' | ||
pkg.sha256sum 'ba258663f25a3e89ca55bfa2680ce35866d5d2d2998c14d2d2342650f5499705' | ||
when '0.9' | ||
pkg.md5sum '4ab2c278183c9a83f3ad97066c381d84' | ||
else | ||
raise "rubygem-minitar version #{version} has not been configured; Cannot continue." | ||
end | ||
|
||
instance_eval File.read('configs/components/_base-rubygem.rb') | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters