simp-rake-helpers 5.0.2 → 5.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/simp/rake/build/deps.rb +8 -5
- data/lib/simp/rake/helpers/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0672537bd3cf9652b8b506338ef8396e4306be52
|
4
|
+
data.tar.gz: 185c5f2c1215a53829d1cafaefe9d19803490b26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67a5b4a6c3d4d84855584640f29830914728734d9e8a317289515c2ec53d869cdd6138e632f85bf52723bffb504f63b07d678bba0b819eeb76fa4a9fb2dd0582
|
7
|
+
data.tar.gz: 0935c76a23af8dc066c2c54465f1cb1a451f0ea899d866e1e7028863b43b7b8eab812729d2dbcbbfb5938b0591f18e03d16a632a22543de34c971867e505dafa
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
### 5.1.0 / 2017-10-03
|
2
|
+
* Fixed bug in `deps:record` that prevented recording to Puppetfile.[:method]
|
3
|
+
* Added new `:reference` parameter to `deps:record` for identifying repos to
|
4
|
+
record
|
5
|
+
|
1
6
|
### 5.0.2 / 2017-10-03
|
2
7
|
* Determine the build/rpm_metadata/* files when the pkg:rpm
|
3
8
|
rake task is called, not when the rake object is constructed.
|
data/lib/simp/rake/build/deps.rb
CHANGED
@@ -319,13 +319,16 @@ module Simp::Rake::Build
|
|
319
319
|
Records the current dependencies into Puppetfile.stable.
|
320
320
|
|
321
321
|
Arguments:
|
322
|
-
* :
|
322
|
+
* :method => Save to Puppetfile.[method] (Default => 'stable')
|
323
|
+
* :reference => Use Puppetfile.[reference] to reference which repos
|
324
|
+
should be recorded (Default => 'tracking')
|
323
325
|
EOM
|
324
|
-
task :record, [:method] do |t,args|
|
325
|
-
args.with_defaults(:
|
326
|
-
|
326
|
+
task :record, [:method,:reference] do |t,args|
|
327
|
+
args.with_defaults(:method => 'stable')
|
328
|
+
args.with_defaults(:reference => 'tracking')
|
327
329
|
|
328
|
-
|
330
|
+
r10k_helper = R10KHelper.new("Puppetfile.#{args[:reference]}")
|
331
|
+
File.open("Puppetfile.#{args[:method]}",'w'){|f| f.puts r10k_helper.puppetfile }
|
329
332
|
end
|
330
333
|
|
331
334
|
desc <<-EOM
|