librarian-puppet-maestrodev 0.9.11.3 → 0.9.11.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +66 -0
- data/lib/librarian/puppet/environment.rb +5 -0
- data/lib/librarian/puppet/version.rb +1 -1
- metadata +19 -30
data/README.md
CHANGED
|
@@ -167,6 +167,72 @@ Update the version of a dependency:
|
|
|
167
167
|
$ git add Puppetfile.lock
|
|
168
168
|
$ git commit -m "bumped the version of apt up to 0.0.4."
|
|
169
169
|
|
|
170
|
+
## Configuration
|
|
171
|
+
|
|
172
|
+
Configuration comes from three sources with the following highest-to-lowest
|
|
173
|
+
precedence:
|
|
174
|
+
|
|
175
|
+
* The local config (`./.librarian/puppet/config`)
|
|
176
|
+
* The environment
|
|
177
|
+
* The global config (`~/.librarian/puppet/config`)
|
|
178
|
+
|
|
179
|
+
You can inspect the final configuration with:
|
|
180
|
+
|
|
181
|
+
$ librarian-puppet config
|
|
182
|
+
|
|
183
|
+
You can find out where a particular key is set with:
|
|
184
|
+
|
|
185
|
+
$ librarian-puppet config KEY
|
|
186
|
+
|
|
187
|
+
You can set a key at the global level with:
|
|
188
|
+
|
|
189
|
+
$ librarian-puppet config KEY VALUE --global
|
|
190
|
+
|
|
191
|
+
And remove it with:
|
|
192
|
+
|
|
193
|
+
$ librarian-puppet config KEY --global --delete
|
|
194
|
+
|
|
195
|
+
You can set a key at the local level with:
|
|
196
|
+
|
|
197
|
+
$ librarian-puppet config KEY VALUE --local
|
|
198
|
+
|
|
199
|
+
And remove it with:
|
|
200
|
+
|
|
201
|
+
$ librarian-puppet config KEY --local --delete
|
|
202
|
+
|
|
203
|
+
You cannot set or delete environment-level config keys with the CLI.
|
|
204
|
+
|
|
205
|
+
Configuration set at either the global or local level will affect subsequent
|
|
206
|
+
invocations of `librarian-puppet`. Configurations set at the environment level are
|
|
207
|
+
not saved and will not affect subsequent invocations of `librarian-puppet`.
|
|
208
|
+
|
|
209
|
+
You can pass a config at the environment level by taking the original config key
|
|
210
|
+
and transforming it: replace hyphens (`-`) with underscores (`_`) and periods
|
|
211
|
+
(`.`) with doubled underscores (`__`), uppercase, and finally prefix with
|
|
212
|
+
`LIBRARIAN_PUPPET_`. For example, to pass a config in the environment for the key
|
|
213
|
+
`part-one.part-two`, set the environment variable
|
|
214
|
+
`LIBRARIAN_PUPPET_PART_ONE__PART_TWO`.
|
|
215
|
+
|
|
216
|
+
Configuration affects how various commands operate.
|
|
217
|
+
|
|
218
|
+
* The `path` config sets the cookbooks directory to install to. If a relative
|
|
219
|
+
path, it is relative to the directory containing the `Puppetfile`. The
|
|
220
|
+
equivalent environment variable is `LIBRARIAN_PUPPET_PATH`.
|
|
221
|
+
|
|
222
|
+
* The `tmp` config sets the cache directory for librarian. If a relative
|
|
223
|
+
path, it is relative to the directory containing the `Puppetfile`. The
|
|
224
|
+
equivalent environment variable is `LIBRARIAN_PUPPET_TMP`.
|
|
225
|
+
|
|
226
|
+
Configuration can be set by passing specific options to other commands.
|
|
227
|
+
|
|
228
|
+
* The `path` config can be set at the local level by passing the `--path` option
|
|
229
|
+
to the `install` command. It can be unset at the local level by passing the
|
|
230
|
+
`--no-path` option to the `install` command. Note that if this is set at the
|
|
231
|
+
environment or global level then, even if `--no-path` is given as an option,
|
|
232
|
+
the environment or global config will be used.
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
170
236
|
## How to Contribute
|
|
171
237
|
|
|
172
238
|
* Pull requests please.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: librarian-puppet-maestrodev
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.11.
|
|
4
|
+
version: 0.9.11.4
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -13,7 +13,7 @@ date: 2014-01-09 00:00:00.000000000 Z
|
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: librarian
|
|
16
|
-
requirement: &
|
|
16
|
+
requirement: &13791080 !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ! '>='
|
|
@@ -21,21 +21,10 @@ dependencies:
|
|
|
21
21
|
version: 0.1.1
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements: *
|
|
25
|
-
- !ruby/object:Gem::Dependency
|
|
26
|
-
name: json
|
|
27
|
-
requirement: &21730100 !ruby/object:Gem::Requirement
|
|
28
|
-
none: false
|
|
29
|
-
requirements:
|
|
30
|
-
- - ! '>='
|
|
31
|
-
- !ruby/object:Gem::Version
|
|
32
|
-
version: '0'
|
|
33
|
-
type: :runtime
|
|
34
|
-
prerelease: false
|
|
35
|
-
version_requirements: *21730100
|
|
24
|
+
version_requirements: *13791080
|
|
36
25
|
- !ruby/object:Gem::Dependency
|
|
37
26
|
name: rake
|
|
38
|
-
requirement: &
|
|
27
|
+
requirement: &13790320 !ruby/object:Gem::Requirement
|
|
39
28
|
none: false
|
|
40
29
|
requirements:
|
|
41
30
|
- - ! '>='
|
|
@@ -43,10 +32,10 @@ dependencies:
|
|
|
43
32
|
version: '0'
|
|
44
33
|
type: :development
|
|
45
34
|
prerelease: false
|
|
46
|
-
version_requirements: *
|
|
35
|
+
version_requirements: *13790320
|
|
47
36
|
- !ruby/object:Gem::Dependency
|
|
48
37
|
name: rspec
|
|
49
|
-
requirement: &
|
|
38
|
+
requirement: &13789840 !ruby/object:Gem::Requirement
|
|
50
39
|
none: false
|
|
51
40
|
requirements:
|
|
52
41
|
- - ! '>='
|
|
@@ -54,10 +43,10 @@ dependencies:
|
|
|
54
43
|
version: '0'
|
|
55
44
|
type: :development
|
|
56
45
|
prerelease: false
|
|
57
|
-
version_requirements: *
|
|
46
|
+
version_requirements: *13789840
|
|
58
47
|
- !ruby/object:Gem::Dependency
|
|
59
48
|
name: cucumber
|
|
60
|
-
requirement: &
|
|
49
|
+
requirement: &13789160 !ruby/object:Gem::Requirement
|
|
61
50
|
none: false
|
|
62
51
|
requirements:
|
|
63
52
|
- - ! '>='
|
|
@@ -65,10 +54,10 @@ dependencies:
|
|
|
65
54
|
version: '0'
|
|
66
55
|
type: :development
|
|
67
56
|
prerelease: false
|
|
68
|
-
version_requirements: *
|
|
57
|
+
version_requirements: *13789160
|
|
69
58
|
- !ruby/object:Gem::Dependency
|
|
70
59
|
name: aruba
|
|
71
|
-
requirement: &
|
|
60
|
+
requirement: &13788500 !ruby/object:Gem::Requirement
|
|
72
61
|
none: false
|
|
73
62
|
requirements:
|
|
74
63
|
- - ! '>='
|
|
@@ -76,10 +65,10 @@ dependencies:
|
|
|
76
65
|
version: '0'
|
|
77
66
|
type: :development
|
|
78
67
|
prerelease: false
|
|
79
|
-
version_requirements: *
|
|
68
|
+
version_requirements: *13788500
|
|
80
69
|
- !ruby/object:Gem::Dependency
|
|
81
70
|
name: puppet
|
|
82
|
-
requirement: &
|
|
71
|
+
requirement: &13787560 !ruby/object:Gem::Requirement
|
|
83
72
|
none: false
|
|
84
73
|
requirements:
|
|
85
74
|
- - ! '>='
|
|
@@ -87,10 +76,10 @@ dependencies:
|
|
|
87
76
|
version: '0'
|
|
88
77
|
type: :development
|
|
89
78
|
prerelease: false
|
|
90
|
-
version_requirements: *
|
|
79
|
+
version_requirements: *13787560
|
|
91
80
|
- !ruby/object:Gem::Dependency
|
|
92
81
|
name: minitest
|
|
93
|
-
requirement: &
|
|
82
|
+
requirement: &13786380 !ruby/object:Gem::Requirement
|
|
94
83
|
none: false
|
|
95
84
|
requirements:
|
|
96
85
|
- - ~>
|
|
@@ -98,10 +87,10 @@ dependencies:
|
|
|
98
87
|
version: '5'
|
|
99
88
|
type: :development
|
|
100
89
|
prerelease: false
|
|
101
|
-
version_requirements: *
|
|
90
|
+
version_requirements: *13786380
|
|
102
91
|
- !ruby/object:Gem::Dependency
|
|
103
92
|
name: mocha
|
|
104
|
-
requirement: &
|
|
93
|
+
requirement: &13785900 !ruby/object:Gem::Requirement
|
|
105
94
|
none: false
|
|
106
95
|
requirements:
|
|
107
96
|
- - ! '>='
|
|
@@ -109,7 +98,7 @@ dependencies:
|
|
|
109
98
|
version: '0'
|
|
110
99
|
type: :development
|
|
111
100
|
prerelease: false
|
|
112
|
-
version_requirements: *
|
|
101
|
+
version_requirements: *13785900
|
|
113
102
|
description: ! "Simplify deployment of your Puppet infrastructure by\n automatically
|
|
114
103
|
pulling in modules from the forge and git repositories with\n a single command."
|
|
115
104
|
email:
|
|
@@ -153,7 +142,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
153
142
|
version: '0'
|
|
154
143
|
segments:
|
|
155
144
|
- 0
|
|
156
|
-
hash:
|
|
145
|
+
hash: 1121016427067357910
|
|
157
146
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
147
|
none: false
|
|
159
148
|
requirements:
|
|
@@ -162,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
162
151
|
version: '0'
|
|
163
152
|
segments:
|
|
164
153
|
- 0
|
|
165
|
-
hash:
|
|
154
|
+
hash: 1121016427067357910
|
|
166
155
|
requirements: []
|
|
167
156
|
rubyforge_project:
|
|
168
157
|
rubygems_version: 1.8.9
|