librarian-puppet 0.9.10 → 0.9.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +82 -19
- data/bin/librarian-puppet +0 -2
- data/lib/librarian/puppet.rb +32 -4
- data/lib/librarian/puppet/cli.rb +7 -0
- data/lib/librarian/puppet/dsl.rb +13 -0
- data/lib/librarian/puppet/environment.rb +5 -8
- data/lib/librarian/puppet/extension.rb +212 -0
- data/lib/librarian/puppet/requirement.rb +6 -2
- data/lib/librarian/puppet/source.rb +1 -0
- data/lib/librarian/puppet/source/forge.rb +62 -35
- data/lib/librarian/puppet/source/git.rb +51 -36
- data/lib/librarian/puppet/source/githubtarball.rb +44 -28
- data/lib/librarian/puppet/source/local.rb +4 -1
- data/lib/librarian/puppet/templates/Puppetfile +3 -0
- data/lib/librarian/puppet/util.rb +27 -0
- data/lib/librarian/puppet/version.rb +1 -1
- metadata +106 -207
- data/vendor/librarian/CHANGELOG.md +0 -185
- data/vendor/librarian/Gemfile +0 -6
- data/vendor/librarian/MIT-LICENSE +0 -20
- data/vendor/librarian/README.md +0 -403
- data/vendor/librarian/Rakefile +0 -34
- data/vendor/librarian/bin/librarian-chef +0 -7
- data/vendor/librarian/bin/librarian-mock +0 -7
- data/vendor/librarian/config/cucumber.yaml +0 -1
- data/vendor/librarian/features/chef/cli/init.feature +0 -11
- data/vendor/librarian/features/chef/cli/install.feature +0 -64
- data/vendor/librarian/features/chef/cli/show.feature +0 -77
- data/vendor/librarian/features/chef/cli/version.feature +0 -11
- data/vendor/librarian/features/support/env.rb +0 -9
- data/vendor/librarian/lib/librarian.rb +0 -19
- data/vendor/librarian/lib/librarian/action.rb +0 -5
- data/vendor/librarian/lib/librarian/action/base.rb +0 -24
- data/vendor/librarian/lib/librarian/action/clean.rb +0 -44
- data/vendor/librarian/lib/librarian/action/ensure.rb +0 -24
- data/vendor/librarian/lib/librarian/action/install.rb +0 -99
- data/vendor/librarian/lib/librarian/action/resolve.rb +0 -81
- data/vendor/librarian/lib/librarian/action/update.rb +0 -78
- data/vendor/librarian/lib/librarian/chef.rb +0 -1
- data/vendor/librarian/lib/librarian/chef/cli.rb +0 -48
- data/vendor/librarian/lib/librarian/chef/dsl.rb +0 -15
- data/vendor/librarian/lib/librarian/chef/environment.rb +0 -27
- data/vendor/librarian/lib/librarian/chef/extension.rb +0 -9
- data/vendor/librarian/lib/librarian/chef/integration/knife.rb +0 -42
- data/vendor/librarian/lib/librarian/chef/manifest_reader.rb +0 -59
- data/vendor/librarian/lib/librarian/chef/source.rb +0 -3
- data/vendor/librarian/lib/librarian/chef/source/git.rb +0 -25
- data/vendor/librarian/lib/librarian/chef/source/local.rb +0 -69
- data/vendor/librarian/lib/librarian/chef/source/path.rb +0 -12
- data/vendor/librarian/lib/librarian/chef/source/site.rb +0 -452
- data/vendor/librarian/lib/librarian/chef/templates/Cheffile +0 -15
- data/vendor/librarian/lib/librarian/cli.rb +0 -205
- data/vendor/librarian/lib/librarian/cli/manifest_presenter.rb +0 -79
- data/vendor/librarian/lib/librarian/config.rb +0 -7
- data/vendor/librarian/lib/librarian/config/database.rb +0 -205
- data/vendor/librarian/lib/librarian/config/file_source.rb +0 -47
- data/vendor/librarian/lib/librarian/config/hash_source.rb +0 -33
- data/vendor/librarian/lib/librarian/config/source.rb +0 -149
- data/vendor/librarian/lib/librarian/dependency.rb +0 -91
- data/vendor/librarian/lib/librarian/dsl.rb +0 -108
- data/vendor/librarian/lib/librarian/dsl/receiver.rb +0 -48
- data/vendor/librarian/lib/librarian/dsl/target.rb +0 -172
- data/vendor/librarian/lib/librarian/environment.rb +0 -134
- data/vendor/librarian/lib/librarian/error.rb +0 -4
- data/vendor/librarian/lib/librarian/helpers.rb +0 -13
- data/vendor/librarian/lib/librarian/lockfile.rb +0 -29
- data/vendor/librarian/lib/librarian/lockfile/compiler.rb +0 -66
- data/vendor/librarian/lib/librarian/lockfile/parser.rb +0 -100
- data/vendor/librarian/lib/librarian/logger.rb +0 -46
- data/vendor/librarian/lib/librarian/manifest.rb +0 -234
- data/vendor/librarian/lib/librarian/manifest_set.rb +0 -153
- data/vendor/librarian/lib/librarian/mock.rb +0 -1
- data/vendor/librarian/lib/librarian/mock/cli.rb +0 -19
- data/vendor/librarian/lib/librarian/mock/dsl.rb +0 -15
- data/vendor/librarian/lib/librarian/mock/environment.rb +0 -24
- data/vendor/librarian/lib/librarian/mock/extension.rb +0 -9
- data/vendor/librarian/lib/librarian/mock/source.rb +0 -1
- data/vendor/librarian/lib/librarian/mock/source/mock.rb +0 -103
- data/vendor/librarian/lib/librarian/mock/source/mock/registry.rb +0 -83
- data/vendor/librarian/lib/librarian/resolution.rb +0 -44
- data/vendor/librarian/lib/librarian/resolver.rb +0 -78
- data/vendor/librarian/lib/librarian/resolver/implementation.rb +0 -118
- data/vendor/librarian/lib/librarian/source.rb +0 -2
- data/vendor/librarian/lib/librarian/source/git.rb +0 -156
- data/vendor/librarian/lib/librarian/source/git/repository.rb +0 -217
- data/vendor/librarian/lib/librarian/source/local.rb +0 -61
- data/vendor/librarian/lib/librarian/source/path.rb +0 -80
- data/vendor/librarian/lib/librarian/spec.rb +0 -13
- data/vendor/librarian/lib/librarian/spec_change_set.rb +0 -173
- data/vendor/librarian/lib/librarian/specfile.rb +0 -18
- data/vendor/librarian/lib/librarian/support/abstract_method.rb +0 -21
- data/vendor/librarian/lib/librarian/ui.rb +0 -64
- data/vendor/librarian/lib/librarian/version.rb +0 -3
- data/vendor/librarian/librarian.gemspec +0 -34
- data/vendor/librarian/spec/functional/chef/source/git_spec.rb +0 -432
- data/vendor/librarian/spec/functional/chef/source/site_spec.rb +0 -215
- data/vendor/librarian/spec/functional/source/git/repository_spec.rb +0 -149
- data/vendor/librarian/spec/unit/action/base_spec.rb +0 -18
- data/vendor/librarian/spec/unit/action/clean_spec.rb +0 -102
- data/vendor/librarian/spec/unit/action/ensure_spec.rb +0 -37
- data/vendor/librarian/spec/unit/action/install_spec.rb +0 -111
- data/vendor/librarian/spec/unit/config/database_spec.rb +0 -319
- data/vendor/librarian/spec/unit/dependency_spec.rb +0 -36
- data/vendor/librarian/spec/unit/dsl_spec.rb +0 -194
- data/vendor/librarian/spec/unit/environment_spec.rb +0 -9
- data/vendor/librarian/spec/unit/lockfile/parser_spec.rb +0 -162
- data/vendor/librarian/spec/unit/lockfile_spec.rb +0 -65
- data/vendor/librarian/spec/unit/manifest_set_spec.rb +0 -202
- data/vendor/librarian/spec/unit/manifest_spec.rb +0 -36
- data/vendor/librarian/spec/unit/manifest_version_spec.rb +0 -94
- data/vendor/librarian/spec/unit/mock/source/mock_spec.rb +0 -22
- data/vendor/librarian/spec/unit/resolver_spec.rb +0 -192
- data/vendor/librarian/spec/unit/source/git_spec.rb +0 -29
- data/vendor/librarian/spec/unit/spec_change_set_spec.rb +0 -169
@@ -0,0 +1,27 @@
|
|
1
|
+
module Librarian
|
2
|
+
module Puppet
|
3
|
+
|
4
|
+
module Util
|
5
|
+
|
6
|
+
def debug(*args, &block)
|
7
|
+
environment.logger.debug(*args, &block)
|
8
|
+
end
|
9
|
+
def info(*args, &block)
|
10
|
+
environment.logger.info(*args, &block)
|
11
|
+
end
|
12
|
+
|
13
|
+
# workaround Issue #173 FileUtils.cp_r will fail if there is a symlink that points to a missing file
|
14
|
+
# or when the symlink is copied before the target file when preserve is true
|
15
|
+
# see also https://tickets.opscode.com/browse/CHEF-833
|
16
|
+
def cp_r(src, dest)
|
17
|
+
begin
|
18
|
+
FileUtils.cp_r(src, dest, :preserve => true)
|
19
|
+
rescue Errno::ENOENT
|
20
|
+
debug { "Failed to copy from #{src} to #{dest} preserving file types, trying again without preserving them" }
|
21
|
+
FileUtils.rm_rf(dest)
|
22
|
+
FileUtils.cp_r(src, dest)
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
metadata
CHANGED
@@ -1,121 +1,116 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: librarian-puppet
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
5
|
-
prerelease:
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.9.11
|
6
5
|
platform: ruby
|
7
|
-
authors:
|
6
|
+
authors:
|
8
7
|
- Tim Sharpe
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '0.15'
|
22
|
-
type: :runtime
|
11
|
+
|
12
|
+
date: 2014-02-08 00:00:00 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: librarian
|
23
16
|
prerelease: false
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
17
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
18
|
+
requirements:
|
19
|
+
- - ">="
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.1.1
|
22
|
+
version_requirements: *id001
|
23
|
+
type: :runtime
|
24
|
+
- !ruby/object:Gem::Dependency
|
31
25
|
name: json
|
32
|
-
|
33
|
-
|
34
|
-
requirements:
|
35
|
-
-
|
36
|
-
-
|
37
|
-
|
26
|
+
prerelease: false
|
27
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
28
|
+
requirements:
|
29
|
+
- &id003
|
30
|
+
- ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: "0"
|
33
|
+
version_requirements: *id002
|
38
34
|
type: :runtime
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: open3_backport
|
39
37
|
prerelease: false
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
- !ruby/object:Gem::Dependency
|
38
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- *id003
|
41
|
+
version_requirements: *id004
|
42
|
+
type: :runtime
|
43
|
+
- !ruby/object:Gem::Dependency
|
47
44
|
name: rake
|
48
|
-
|
49
|
-
|
50
|
-
requirements:
|
51
|
-
-
|
52
|
-
|
53
|
-
version: '0'
|
45
|
+
prerelease: false
|
46
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
47
|
+
requirements:
|
48
|
+
- *id003
|
49
|
+
version_requirements: *id005
|
54
50
|
type: :development
|
51
|
+
- !ruby/object:Gem::Dependency
|
52
|
+
name: rspec
|
55
53
|
prerelease: false
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
|
-
name: cucumber
|
64
|
-
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
|
-
requirements:
|
67
|
-
- - ! '>='
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '0'
|
54
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
55
|
+
requirements:
|
56
|
+
- *id003
|
57
|
+
version_requirements: *id006
|
70
58
|
type: :development
|
59
|
+
- !ruby/object:Gem::Dependency
|
60
|
+
name: cucumber
|
71
61
|
prerelease: false
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '0'
|
78
|
-
- !ruby/object:Gem::Dependency
|
79
|
-
name: aruba
|
80
|
-
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
|
-
requirements:
|
83
|
-
- - ! '>='
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
version: '0'
|
62
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
63
|
+
requirements:
|
64
|
+
- *id003
|
65
|
+
version_requirements: *id007
|
86
66
|
type: :development
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: aruba
|
87
69
|
prerelease: false
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
- !ruby/object:Gem::Dependency
|
70
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- *id003
|
73
|
+
version_requirements: *id008
|
74
|
+
type: :development
|
75
|
+
- !ruby/object:Gem::Dependency
|
95
76
|
name: puppet
|
96
|
-
|
97
|
-
|
98
|
-
requirements:
|
99
|
-
-
|
100
|
-
|
101
|
-
version: '0'
|
77
|
+
prerelease: false
|
78
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- *id003
|
81
|
+
version_requirements: *id009
|
102
82
|
type: :development
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: minitest
|
103
85
|
prerelease: false
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
86
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - ~>
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: "5"
|
91
|
+
version_requirements: *id010
|
92
|
+
type: :development
|
93
|
+
- !ruby/object:Gem::Dependency
|
94
|
+
name: mocha
|
95
|
+
prerelease: false
|
96
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
97
|
+
requirements:
|
98
|
+
- *id003
|
99
|
+
version_requirements: *id011
|
100
|
+
type: :development
|
101
|
+
description: |-
|
102
|
+
Simplify deployment of your Puppet infrastructure by
|
103
|
+
automatically pulling in modules from the forge and git repositories with
|
104
|
+
a single command.
|
105
|
+
email:
|
113
106
|
- tim@sharpe.id.au
|
114
|
-
executables:
|
107
|
+
executables:
|
115
108
|
- librarian-puppet
|
116
109
|
extensions: []
|
110
|
+
|
117
111
|
extra_rdoc_files: []
|
118
|
-
|
112
|
+
|
113
|
+
files:
|
119
114
|
- .gitignore
|
120
115
|
- LICENSE
|
121
116
|
- README.md
|
@@ -133,127 +128,31 @@ files:
|
|
133
128
|
- lib/librarian/puppet/source/path.rb
|
134
129
|
- lib/librarian/puppet/source.rb
|
135
130
|
- lib/librarian/puppet/templates/Puppetfile
|
131
|
+
- lib/librarian/puppet/util.rb
|
136
132
|
- lib/librarian/puppet/version.rb
|
137
133
|
- lib/librarian/puppet.rb
|
138
|
-
- vendor/librarian/bin/librarian-chef
|
139
|
-
- vendor/librarian/bin/librarian-mock
|
140
|
-
- vendor/librarian/CHANGELOG.md
|
141
|
-
- vendor/librarian/config/cucumber.yaml
|
142
|
-
- vendor/librarian/features/chef/cli/init.feature
|
143
|
-
- vendor/librarian/features/chef/cli/install.feature
|
144
|
-
- vendor/librarian/features/chef/cli/show.feature
|
145
|
-
- vendor/librarian/features/chef/cli/version.feature
|
146
|
-
- vendor/librarian/features/support/env.rb
|
147
|
-
- vendor/librarian/Gemfile
|
148
|
-
- vendor/librarian/lib/librarian/action/base.rb
|
149
|
-
- vendor/librarian/lib/librarian/action/clean.rb
|
150
|
-
- vendor/librarian/lib/librarian/action/ensure.rb
|
151
|
-
- vendor/librarian/lib/librarian/action/install.rb
|
152
|
-
- vendor/librarian/lib/librarian/action/resolve.rb
|
153
|
-
- vendor/librarian/lib/librarian/action/update.rb
|
154
|
-
- vendor/librarian/lib/librarian/action.rb
|
155
|
-
- vendor/librarian/lib/librarian/chef/cli.rb
|
156
|
-
- vendor/librarian/lib/librarian/chef/dsl.rb
|
157
|
-
- vendor/librarian/lib/librarian/chef/environment.rb
|
158
|
-
- vendor/librarian/lib/librarian/chef/extension.rb
|
159
|
-
- vendor/librarian/lib/librarian/chef/integration/knife.rb
|
160
|
-
- vendor/librarian/lib/librarian/chef/manifest_reader.rb
|
161
|
-
- vendor/librarian/lib/librarian/chef/source/git.rb
|
162
|
-
- vendor/librarian/lib/librarian/chef/source/local.rb
|
163
|
-
- vendor/librarian/lib/librarian/chef/source/path.rb
|
164
|
-
- vendor/librarian/lib/librarian/chef/source/site.rb
|
165
|
-
- vendor/librarian/lib/librarian/chef/source.rb
|
166
|
-
- vendor/librarian/lib/librarian/chef/templates/Cheffile
|
167
|
-
- vendor/librarian/lib/librarian/chef.rb
|
168
|
-
- vendor/librarian/lib/librarian/cli/manifest_presenter.rb
|
169
|
-
- vendor/librarian/lib/librarian/cli.rb
|
170
|
-
- vendor/librarian/lib/librarian/config/database.rb
|
171
|
-
- vendor/librarian/lib/librarian/config/file_source.rb
|
172
|
-
- vendor/librarian/lib/librarian/config/hash_source.rb
|
173
|
-
- vendor/librarian/lib/librarian/config/source.rb
|
174
|
-
- vendor/librarian/lib/librarian/config.rb
|
175
|
-
- vendor/librarian/lib/librarian/dependency.rb
|
176
|
-
- vendor/librarian/lib/librarian/dsl/receiver.rb
|
177
|
-
- vendor/librarian/lib/librarian/dsl/target.rb
|
178
|
-
- vendor/librarian/lib/librarian/dsl.rb
|
179
|
-
- vendor/librarian/lib/librarian/environment.rb
|
180
|
-
- vendor/librarian/lib/librarian/error.rb
|
181
|
-
- vendor/librarian/lib/librarian/helpers.rb
|
182
|
-
- vendor/librarian/lib/librarian/lockfile/compiler.rb
|
183
|
-
- vendor/librarian/lib/librarian/lockfile/parser.rb
|
184
|
-
- vendor/librarian/lib/librarian/lockfile.rb
|
185
|
-
- vendor/librarian/lib/librarian/logger.rb
|
186
|
-
- vendor/librarian/lib/librarian/manifest.rb
|
187
|
-
- vendor/librarian/lib/librarian/manifest_set.rb
|
188
|
-
- vendor/librarian/lib/librarian/mock/cli.rb
|
189
|
-
- vendor/librarian/lib/librarian/mock/dsl.rb
|
190
|
-
- vendor/librarian/lib/librarian/mock/environment.rb
|
191
|
-
- vendor/librarian/lib/librarian/mock/extension.rb
|
192
|
-
- vendor/librarian/lib/librarian/mock/source/mock/registry.rb
|
193
|
-
- vendor/librarian/lib/librarian/mock/source/mock.rb
|
194
|
-
- vendor/librarian/lib/librarian/mock/source.rb
|
195
|
-
- vendor/librarian/lib/librarian/mock.rb
|
196
|
-
- vendor/librarian/lib/librarian/resolution.rb
|
197
|
-
- vendor/librarian/lib/librarian/resolver/implementation.rb
|
198
|
-
- vendor/librarian/lib/librarian/resolver.rb
|
199
|
-
- vendor/librarian/lib/librarian/source/git/repository.rb
|
200
|
-
- vendor/librarian/lib/librarian/source/git.rb
|
201
|
-
- vendor/librarian/lib/librarian/source/local.rb
|
202
|
-
- vendor/librarian/lib/librarian/source/path.rb
|
203
|
-
- vendor/librarian/lib/librarian/source.rb
|
204
|
-
- vendor/librarian/lib/librarian/spec.rb
|
205
|
-
- vendor/librarian/lib/librarian/spec_change_set.rb
|
206
|
-
- vendor/librarian/lib/librarian/specfile.rb
|
207
|
-
- vendor/librarian/lib/librarian/support/abstract_method.rb
|
208
|
-
- vendor/librarian/lib/librarian/ui.rb
|
209
|
-
- vendor/librarian/lib/librarian/version.rb
|
210
|
-
- vendor/librarian/lib/librarian.rb
|
211
|
-
- vendor/librarian/librarian.gemspec
|
212
|
-
- vendor/librarian/MIT-LICENSE
|
213
|
-
- vendor/librarian/Rakefile
|
214
|
-
- vendor/librarian/README.md
|
215
|
-
- vendor/librarian/spec/functional/chef/source/git_spec.rb
|
216
|
-
- vendor/librarian/spec/functional/chef/source/site_spec.rb
|
217
|
-
- vendor/librarian/spec/functional/source/git/repository_spec.rb
|
218
|
-
- vendor/librarian/spec/unit/action/base_spec.rb
|
219
|
-
- vendor/librarian/spec/unit/action/clean_spec.rb
|
220
|
-
- vendor/librarian/spec/unit/action/ensure_spec.rb
|
221
|
-
- vendor/librarian/spec/unit/action/install_spec.rb
|
222
|
-
- vendor/librarian/spec/unit/config/database_spec.rb
|
223
|
-
- vendor/librarian/spec/unit/dependency_spec.rb
|
224
|
-
- vendor/librarian/spec/unit/dsl_spec.rb
|
225
|
-
- vendor/librarian/spec/unit/environment_spec.rb
|
226
|
-
- vendor/librarian/spec/unit/lockfile/parser_spec.rb
|
227
|
-
- vendor/librarian/spec/unit/lockfile_spec.rb
|
228
|
-
- vendor/librarian/spec/unit/manifest_set_spec.rb
|
229
|
-
- vendor/librarian/spec/unit/manifest_spec.rb
|
230
|
-
- vendor/librarian/spec/unit/manifest_version_spec.rb
|
231
|
-
- vendor/librarian/spec/unit/mock/source/mock_spec.rb
|
232
|
-
- vendor/librarian/spec/unit/resolver_spec.rb
|
233
|
-
- vendor/librarian/spec/unit/source/git_spec.rb
|
234
|
-
- vendor/librarian/spec/unit/spec_change_set_spec.rb
|
235
134
|
homepage: https://github.com/rodjek/librarian-puppet
|
236
|
-
licenses:
|
135
|
+
licenses:
|
136
|
+
- MIT
|
137
|
+
metadata: {}
|
138
|
+
|
237
139
|
post_install_message:
|
238
140
|
rdoc_options: []
|
239
|
-
|
141
|
+
|
142
|
+
require_paths:
|
240
143
|
- lib
|
241
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
248
|
-
none: false
|
249
|
-
requirements:
|
250
|
-
- - ! '>='
|
251
|
-
- !ruby/object:Gem::Version
|
252
|
-
version: '0'
|
144
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
145
|
+
requirements:
|
146
|
+
- *id003
|
147
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
149
|
+
- *id003
|
253
150
|
requirements: []
|
151
|
+
|
254
152
|
rubyforge_project:
|
255
|
-
rubygems_version:
|
153
|
+
rubygems_version: 2.0.14
|
256
154
|
signing_key:
|
257
|
-
specification_version:
|
155
|
+
specification_version: 4
|
258
156
|
summary: Bundler for your Puppet modules
|
259
157
|
test_files: []
|
158
|
+
|
@@ -1,185 +0,0 @@
|
|
1
|
-
# Change Log
|
2
|
-
|
3
|
-
## 0.0.24
|
4
|
-
|
5
|
-
* \#15. A remembered configuration system.
|
6
|
-
|
7
|
-
* \#16. Configure, and remember configuration for, chef install paths.
|
8
|
-
|
9
|
-
* \#38. Configure, and remember configuration for, stripping out `.git`
|
10
|
-
directories from git-sources chef dependencies.
|
11
|
-
|
12
|
-
* \#76. Support git annotated tags.
|
13
|
-
|
14
|
-
* \#80. Ignore directories in the `PATH` named `git` when looking for the `git`
|
15
|
-
bin.
|
16
|
-
|
17
|
-
* \#85. Provide a helpful message when running the `show` command without a
|
18
|
-
lockfile present.
|
19
|
-
|
20
|
-
## 0.0.23
|
21
|
-
|
22
|
-
* \#41. Build gems with a built gemspec.
|
23
|
-
|
24
|
-
* \#67. Cache remote objects at the latest possible moments, and only when they
|
25
|
-
are needed.
|
26
|
-
|
27
|
-
* \#68. Fix unpacking chef site-sourced packages on Windows by pivoting from a
|
28
|
-
Librarian-managed scratch space, rather than pivoting from Windows' temp
|
29
|
-
directory. There were unexplained problems with using the Windows temp
|
30
|
-
directory in certain cases, possibly related to the temp directory and the
|
31
|
-
Librarian cache directory being on different volumes.
|
32
|
-
|
33
|
-
* \#69. Fix invoking Librarian with git-sourced dependencies from git hooks by
|
34
|
-
unsetting `GIT_DIR` around shelling out to git.
|
35
|
-
|
36
|
-
* Print general environment information when running with `--verbose`.
|
37
|
-
|
38
|
-
## 0.0.22
|
39
|
-
|
40
|
-
* Fix the `outdated` CLI command.
|
41
|
-
|
42
|
-
## 0.0.21
|
43
|
-
|
44
|
-
* \#64. Sources now raise when given unrecognized options in the specfile.
|
45
|
-
|
46
|
-
* A new `show` CLI command.
|
47
|
-
|
48
|
-
* Changed the `clean` CLI command no longer to delete the lockfile.
|
49
|
-
|
50
|
-
* Simplify the architecture of `Librarian::Manifest` vis-a-vis sources. It is no
|
51
|
-
longer a base class for adapters to inherit. Now, sources expose a small
|
52
|
-
interface, which `Librarian::Manifest` can call, for delay-loading attributes.
|
53
|
-
|
54
|
-
* The git source now resolves the `git` binary before `chdir`ing.
|
55
|
-
|
56
|
-
* Test on Rubinius.
|
57
|
-
|
58
|
-
## 0.0.20
|
59
|
-
|
60
|
-
* A command to print outdated dependencies.
|
61
|
-
|
62
|
-
## 0.0.19
|
63
|
-
|
64
|
-
* Fix breakage on 1.8.
|
65
|
-
|
66
|
-
## 0.0.18
|
67
|
-
|
68
|
-
* \#57. Include existing manifests' dependencies in resolution.
|
69
|
-
|
70
|
-
* Permit the update action even with a changed specfile.
|
71
|
-
|
72
|
-
## 0.0.17
|
73
|
-
|
74
|
-
* Use a pure-Ruby implementation of tar/gz. Helps with Windows support, since
|
75
|
-
Windows boxes are less likely than *NIX boxes to have the `tar` executable.
|
76
|
-
|
77
|
-
* Fix an issue where the chef site source considers uncached manifests to be
|
78
|
-
cached, and skips caching them, causing the install action to fail.
|
79
|
-
|
80
|
-
* Fail fast if the resolver produces an inconsistent resolution. It is a known
|
81
|
-
issue that the resolver will sometimes (deterministically, not randomly)
|
82
|
-
produce an inconsistent resolution when performing an update action (#57).
|
83
|
-
Start debugging this by failing fast at this point and spitting out gobs of
|
84
|
-
debug-level log details.
|
85
|
-
|
86
|
-
## 0.0.16
|
87
|
-
|
88
|
-
* Recache site-sourced dependency metadata per each run.
|
89
|
-
|
90
|
-
* \#46. Always install.
|
91
|
-
|
92
|
-
* \#53. Abstract versions & requirements from rubygems.
|
93
|
-
|
94
|
-
* Own the install path. Recreate it on each install.
|
95
|
-
WARNING: If you have your own content in the install path, it will be deleted without mercy.
|
96
|
-
|
97
|
-
## 0.0.15
|
98
|
-
|
99
|
-
* Rewrite the README.
|
100
|
-
|
101
|
-
* \#44, \#49. Better updating of cached git sources without using local merges.
|
102
|
-
|
103
|
-
## 0.0.14
|
104
|
-
|
105
|
-
* \#39 Fixes a regression induced by using `git reset --hard SHA`.
|
106
|
-
|
107
|
-
## 0.0.13
|
108
|
-
|
109
|
-
* \#36 Fixes an issue where, if a dependency has a git source (the upstream), and the upstream is updated,
|
110
|
-
then attempting to update that dependency in the local resolution would not update that dependency so
|
111
|
-
long as that git source were cached (@databus23).
|
112
|
-
|
113
|
-
* More immediate detection of, and better error messages for, cases of blank dependency or manifest names
|
114
|
-
or cases of names that are otherwise insensible, such as names that are untrimmed.
|
115
|
-
|
116
|
-
## 0.0.12
|
117
|
-
|
118
|
-
* Fixes an issue where, if a dependency has a git source with a ref, re-resolving may fail.
|
119
|
-
|
120
|
-
## 0.0.11
|
121
|
-
|
122
|
-
* Fix a regression where the cli command "version" failed.
|
123
|
-
|
124
|
-
## 0.0.10
|
125
|
-
|
126
|
-
This release focuses on refactoring some of the internals. There are no functional changes.
|
127
|
-
|
128
|
-
## 0.0.9
|
129
|
-
|
130
|
-
* \#11 Fixes a problem where, if the repo is in a path where a component has a space, attempting to resolve a
|
131
|
-
site-sourced dependency fails.
|
132
|
-
|
133
|
-
## 0.0.8
|
134
|
-
|
135
|
-
* A `version` task.
|
136
|
-
|
137
|
-
* A change log.
|
138
|
-
|
139
|
-
* \#10 Fixes the problem with bouncing the lockfile when updating, when using a git source with the default ref.
|
140
|
-
|
141
|
-
## 0.0.7
|
142
|
-
|
143
|
-
* \#8 Add highline temporarily as a runtime dependency of `librarian` (@fnichol).
|
144
|
-
When the project is split into `librarian` and `librarian-chef`, the `chef` runtime dependency will
|
145
|
-
be moved to `librarian-chef`. If the project is further split into a knife plugin, the dependency
|
146
|
-
will be moved there.
|
147
|
-
|
148
|
-
## 0.0.6
|
149
|
-
|
150
|
-
* \#7 Show a better error message when a cookbook is missing the required metadata file.
|
151
|
-
|
152
|
-
* Miscellaneous bugfixes.
|
153
|
-
|
154
|
-
## 0.0.5
|
155
|
-
|
156
|
-
* \#4 An `init` task for `librarian-chef`.
|
157
|
-
This task creates a nearly-blank `Cheffile` with just the default Opscode Community Site source.
|
158
|
-
|
159
|
-
* Automatically create the `cookbooks` directory, if it's missing, when running the `install` task.
|
160
|
-
|
161
|
-
* \#3 Add `chef` temporarily as a runtime dependency of `librarian` (@fnichol).
|
162
|
-
When the project is split into `librarian` and `librarian-chef`, the `chef` runtime dependency will
|
163
|
-
be moved to `librarian-chef`.
|
164
|
-
|
165
|
-
## 0.0.4
|
166
|
-
|
167
|
-
* A simple knife integration.
|
168
|
-
This integration allows you to specify a `librarian-chef`-managed tempdir as a `cookbook_path`.
|
169
|
-
This is useful to force knife only to upload the exact cookbooks that `librarian-chef` knows
|
170
|
-
about, rather than whatever happens to be found in the `cookbooks` directory.
|
171
|
-
|
172
|
-
## 0.0.3
|
173
|
-
|
174
|
-
* Miscellaneous bugfixes.
|
175
|
-
|
176
|
-
## 0.0.2
|
177
|
-
|
178
|
-
* An optional `:path` attribute for `:git` sources.
|
179
|
-
This allows you to specify exactly where within a git repository a given cookbook is to be found.
|
180
|
-
|
181
|
-
* A full example of a Cheffile and its usage in the readme.
|
182
|
-
|
183
|
-
## 0.0.1
|
184
|
-
|
185
|
-
* Initial release.
|