runpuppet 0.5.7 → 0.5.8
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/bin/runpuppet +7 -2
- data/runpuppet.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.8
|
data/bin/runpuppet
CHANGED
@@ -14,16 +14,21 @@ Usage:
|
|
14
14
|
runpuppet # runs forced puppetrun
|
15
15
|
runpuppet --try # runs only if told by puppet_controller
|
16
16
|
runpuppet --branch feature # run a non-default branch
|
17
|
+
runpuppet --facts # report facter facts to puppet_controller
|
17
18
|
Options:
|
18
19
|
BANNER
|
19
20
|
|
20
21
|
opts.on("-h", "--help","Show this.") { puts opts; exit }
|
21
22
|
opts.on('-v', '--version','Show Version'){ puts Runpuppet::VERSION; exit}
|
22
23
|
opts.on('--try','Runs only if selected on puppet_controller'){ options[:try] = true }
|
24
|
+
opts.on('--facts','Report facts'){ options[:facts] = true }
|
23
25
|
opts.on('--branch x', 'Run this branch') do |branch|
|
24
26
|
options[:branch] = branch
|
25
27
|
end
|
26
28
|
end.parse!
|
27
29
|
|
28
|
-
|
29
|
-
Runpuppet.
|
30
|
+
if options[:facts]
|
31
|
+
Runpuppet.report_facts
|
32
|
+
else
|
33
|
+
Runpuppet.run(options)
|
34
|
+
end
|
data/runpuppet.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: runpuppet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 8
|
10
|
+
version: 0.5.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Roman Heinrich
|