puppet-masterless 0.1.5 → 0.2.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 94c151057d312cdbcfd45b8aa58f371fc759a649
4
- data.tar.gz: 5811091ad9573e8fd0462e1fefa78b673d98014b
3
+ metadata.gz: 1cf2e555538a043c0de2640d77dc9ffec74b8481
4
+ data.tar.gz: 3662dab3a86430351bc876b7b4fccbdfb1b8f421
5
5
  SHA512:
6
- metadata.gz: d83e1ee7b28c239dc8c561198c4a7508d8b2ce23932d127fa8ed5ed2b85c7531026ea220d1b67173b1aebb05690a9f57cd7427e07099d10dd1024d9d5821c934
7
- data.tar.gz: cc3bc3657c4cf5d133924f766faeec0e89cc8a44c31c1de517d4c1bb08e3e744cc71a2586bb5e372ae2cbe0eee9622b5b0503023c9583520c1eaf49cc981656a
6
+ metadata.gz: d9c1574424201ae7803c2562790ff313aeb9407fec238b885f4eb0bea64e7fa4ade5c115a3ac143ad1ece60f33cb38a3f129d8b9cc85a1e4bcce13b21f24d88b
7
+ data.tar.gz: 4d94c9822cd6c47c39d1c14dca1e081b6a8128cc07421e0a5cf4c470871de147ac8cfeac424119c347f210a958d4ab653556bbede42e0e7b609a1c6f8d1899ac
@@ -99,9 +99,9 @@ module PuppetMasterless
99
99
  fail 'No puppet specified' unless @puppet
100
100
  fail 'No output file specified' unless @output
101
101
 
102
+ data = File.join(@confdir, 'data')
102
103
  modules = File.join(@confdir, 'modules')
103
104
  manifests = File.join(@confdir, 'manifests')
104
- hieradata = File.join(@confdir, 'hieradata')
105
105
  hiera_yaml = File.join(@confdir, 'hiera.yaml')
106
106
  puppet_conf = File.join(@confdir, 'puppet.conf')
107
107
 
@@ -112,7 +112,7 @@ module PuppetMasterless
112
112
  fail 'No such confdir: ' << @confdir unless File.directory?(@confdir)
113
113
  fail 'No such manifest: ' << @manifest unless File.exist?(@manifest)
114
114
 
115
- @files << hieradata if File.directory?(hieradata)
115
+ @files << data if File.directory?(data)
116
116
  @files << puppet_conf if File.file?(puppet_conf)
117
117
 
118
118
  @modulepath = nil unless File.directory?(@modulepath)
@@ -357,13 +357,13 @@ end
357
357
  #1 .Pp
358
358
  #1 .Bl -dash -compact -width Ns
359
359
  #1 .It
360
- #1 .Lk https://puppet.com/docs/puppet/4.10/dirs_confdir.html confdir
360
+ #1 .Lk https://puppet.com/docs/puppet/5.5/dirs_confdir.html confdir
361
361
  #1 .It
362
- #1 .Lk https://puppet.com/docs/puppet/4.10/hiera_config_yaml_3.html hiera_config
362
+ #1 .Lk https://puppet.com/docs/puppet/5.5/hiera_config_yaml_5.html hiera_config
363
363
  #1 .It
364
- #1 .Lk https://puppet.com/docs/puppet/4.10/dirs_manifest.html manifest
364
+ #1 .Lk https://puppet.com/docs/puppet/5.5/dirs_manifest.html manifest
365
365
  #1 .It
366
- #1 .Lk https://puppet.com/docs/puppet/4.10/dirs_modulepath.html modulepath
366
+ #1 .Lk https://puppet.com/docs/puppet/5.5/dirs_modulepath.html modulepath
367
367
  #1 .El
368
368
  #1 .Sh FILES
369
369
  #1 .No The following files are automatically included in the package, when
@@ -371,7 +371,7 @@ end
371
371
  #1 .Bl -column " "
372
372
  #1 .It Ao confdir Ac Ns /puppet.conf Ta - Default Puppet configuration file.
373
373
  #1 .It Ao confdir Ac Ns /hiera.yaml Ta - Default hiera configuration file.
374
- #1 .It Ao confdir Ac Ns /hieradata Ta - Default hiera data directory.
374
+ #1 .It Ao confdir Ac Ns /data Ta - Default hiera data directory.
375
375
  #1 .It Ao confdir Ac Ns /manifests Ta - Default manifest path.
376
376
  #1 .It Ao confdir Ac Ns /modules Ta - Default module path.
377
377
  #1 .El
@@ -119,13 +119,13 @@ The
119
119
  .Pp
120
120
  .Bl -dash -compact -width Ns
121
121
  .It
122
- .Lk https://puppet.com/docs/puppet/4.10/dirs_confdir.html confdir
122
+ .Lk https://puppet.com/docs/puppet/5.5/dirs_confdir.html confdir
123
123
  .It
124
- .Lk https://puppet.com/docs/puppet/4.10/hiera_config_yaml_3.html hiera_config
124
+ .Lk https://puppet.com/docs/puppet/5.5/hiera_config_yaml_5.html hiera_config
125
125
  .It
126
- .Lk https://puppet.com/docs/puppet/4.10/dirs_manifest.html manifest
126
+ .Lk https://puppet.com/docs/puppet/5.5/dirs_manifest.html manifest
127
127
  .It
128
- .Lk https://puppet.com/docs/puppet/4.10/dirs_modulepath.html modulepath
128
+ .Lk https://puppet.com/docs/puppet/5.5/dirs_modulepath.html modulepath
129
129
  .El
130
130
  .Sh FILES
131
131
  .No The following files are automatically included in the package, when
@@ -133,7 +133,7 @@ The
133
133
  .Bl -column " "
134
134
  .It Ao confdir Ac Ns /puppet.conf Ta - Default Puppet configuration file.
135
135
  .It Ao confdir Ac Ns /hiera.yaml Ta - Default hiera configuration file.
136
- .It Ao confdir Ac Ns /hieradata Ta - Default hiera data directory.
136
+ .It Ao confdir Ac Ns /data Ta - Default hiera data directory.
137
137
  .It Ao confdir Ac Ns /manifests Ta - Default manifest path.
138
138
  .It Ao confdir Ac Ns /modules Ta - Default module path.
139
139
  .El
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet-masterless
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Hanson