puppet-runner 0.0.17 → 0.0.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/puppet-runner +9 -10
- data/puppet-runner.gemspec +2 -2
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5bbb45769852b12c6bf2b83d523e33df37ae11e9
|
4
|
+
data.tar.gz: 047aad5ff68eb41b049047c1650f8777acfacc3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bcceeb628caf19858c9c8486edad72001f9695d9b8ddafc3da10c9b407e54ce5a4c52812c88af876dee24d416aff200971d6f2851c4fe3b18ce46f0081ecd9ee
|
7
|
+
data.tar.gz: d03770227658b51eebe1e89ab9d8225185e07bb19448b25d1f102f50f3e9c650b83ed1f4ad777b7d7dcd4b0465a256ffd01d48f71e7764db4d228f6ac109654f
|
data/bin/puppet-runner
CHANGED
@@ -118,16 +118,15 @@ if options['all'] || options['prepare']
|
|
118
118
|
templates_dir = path_join_glob(templates, "templates")
|
119
119
|
def_facts_dir = path_join_glob(templates, "defaults")
|
120
120
|
|
121
|
-
debug "Reading #{config_file_path}"
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
end
|
121
|
+
debug "Reading #{config_file_path}"
|
122
|
+
abort "Could not find #{config_file_path}".red if !File.file? config_file_path
|
123
|
+
abort "Could not find #{templates_dir}".red if !File.directory? templates_dir
|
124
|
+
abort "Could not find #{def_facts_dir}".red if !File.directory? def_facts_dir
|
125
|
+
abort "Could not find #{dest_dir}".red if !File.directory? dest_dir
|
126
|
+
abort "Could not find #{facts_dest_dir}".red if !File.directory? facts_dest_dir
|
127
|
+
abort "Could not find #{puppetfile_config_path}".red if !File.file? puppetfile_config_path
|
128
|
+
|
129
|
+
config = YAML.load_file(config_file_path)
|
131
130
|
|
132
131
|
functionalities = config["functionalities"]
|
133
132
|
|
data/puppet-runner.gemspec
CHANGED
@@ -4,8 +4,8 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "puppet-runner"
|
7
|
-
spec.version = "0.0.
|
8
|
-
spec.authors = ["Martin Brehovsky"]
|
7
|
+
spec.version = "0.0.18"
|
8
|
+
spec.authors = ["Martin Brehovsky", "Matthew Hope"]
|
9
9
|
spec.email = ["mbrehovsky@adaptavist.com"]
|
10
10
|
spec.summary = %q{Preprocessor for hiera config}
|
11
11
|
spec.description = %q{Loads user config and created result hiera config and executes puppet apply with it.}
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppet-runner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Brehovsky
|
8
|
+
- Matthew Hope
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2017-
|
12
|
+
date: 2017-05-15 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: bundler
|