openvox 8.29.0 → 9.0.0.pre.alpha2
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 +4 -4
- data/CHANGELOG.md +25 -74
- data/Gemfile +4 -4
- data/Rakefile +1 -2
- data/ext/redhat/client.sysconfig +0 -1
- data/lib/puppet/application/ssl.rb +6 -7
- data/lib/puppet/defaults.rb +4 -2
- data/lib/puppet/feature/base.rb +1 -1
- data/lib/puppet/functions/tree_each.rb +1 -1
- data/lib/puppet/generate/type.rb +2 -6
- data/lib/puppet/node/server_facts.rb +0 -6
- data/lib/puppet/pops/lookup/sub_lookup.rb +0 -3
- data/lib/puppet/pops/serialization/to_data_converter.rb +1 -1
- data/lib/puppet/provider/package/pacman.rb +1 -1
- data/lib/puppet/provider/package/puppetserver_gem.rb +1 -4
- data/lib/puppet/resource/type.rb +8 -8
- data/lib/puppet/ssl/state_machine.rb +0 -6
- data/lib/puppet/type/file/ensure.rb +5 -14
- data/lib/puppet/util/rdoc/generators/puppet_generator.rb +902 -0
- data/lib/puppet/util/rdoc/generators/template/puppet/puppet.rb +1068 -0
- data/lib/puppet/util/rdoc.rb +3 -6
- data/lib/puppet/util/selinux.rb +1 -16
- data/lib/puppet/util.rb +6 -5
- data/lib/puppet/version.rb +1 -1
- metadata +6 -10
data/lib/puppet/util/rdoc.rb
CHANGED
|
@@ -16,12 +16,9 @@ module Puppet::Util::RDoc
|
|
|
16
16
|
|
|
17
17
|
r = RDoc::RDoc.new
|
|
18
18
|
|
|
19
|
-
#
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
# template also carried a CC-BY-1.0 license, which is incompatible with
|
|
23
|
-
# the Debian Free Software Guidelines. Both were removed.
|
|
24
|
-
options = ["--quiet",
|
|
19
|
+
# specify our own format & where to output
|
|
20
|
+
options = ["--fmt", "puppet",
|
|
21
|
+
"--quiet",
|
|
25
22
|
"--exclude", "/modules/[^/]*/spec/.*$",
|
|
26
23
|
"--exclude", "/modules/[^/]*/files/.*$",
|
|
27
24
|
"--exclude", "/modules/[^/]*/tests/.*$",
|
data/lib/puppet/util/selinux.rb
CHANGED
|
@@ -18,9 +18,6 @@ module Puppet::Util::SELinux
|
|
|
18
18
|
S_IFDIR = 0o040000
|
|
19
19
|
S_IFLNK = 0o120000
|
|
20
20
|
|
|
21
|
-
@@mounts_cache = nil
|
|
22
|
-
@@mounts_mtime = nil
|
|
23
|
-
|
|
24
21
|
def self.selinux_support?
|
|
25
22
|
return false unless defined?(Selinux)
|
|
26
23
|
if Selinux.is_selinux_enabled == 1
|
|
@@ -262,16 +259,6 @@ module Puppet::Util::SELinux
|
|
|
262
259
|
|
|
263
260
|
# Internal helper function to read and parse /proc/mounts
|
|
264
261
|
def read_mounts
|
|
265
|
-
current_mtime = begin
|
|
266
|
-
File.mtime('/proc/mounts')
|
|
267
|
-
rescue Errno::ENOENT, Errno::ENOTDIR
|
|
268
|
-
nil
|
|
269
|
-
end
|
|
270
|
-
|
|
271
|
-
if @@mounts_cache && current_mtime && @@mounts_mtime == current_mtime
|
|
272
|
-
return @@mounts_cache
|
|
273
|
-
end
|
|
274
|
-
|
|
275
262
|
mounts = ''.dup
|
|
276
263
|
begin
|
|
277
264
|
if File.method_defined? "read_nonblock"
|
|
@@ -305,9 +292,7 @@ module Puppet::Util::SELinux
|
|
|
305
292
|
|
|
306
293
|
mntpoint[params[1]] = params[2]
|
|
307
294
|
end
|
|
308
|
-
|
|
309
|
-
@@mounts_mtime = current_mtime
|
|
310
|
-
@@mounts_cache = mntpoint
|
|
295
|
+
mntpoint
|
|
311
296
|
end
|
|
312
297
|
|
|
313
298
|
# Internal helper function to return which type of filesystem a given file
|
data/lib/puppet/util.rb
CHANGED
|
@@ -523,11 +523,12 @@ module Util
|
|
|
523
523
|
|
|
524
524
|
module_function :thinmark
|
|
525
525
|
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
526
|
+
# Matches the frame where Puppet::Pops::PuppetStack.stack appears in a Ruby
|
|
527
|
+
# backtrace. The format varies by Ruby version and implementation:
|
|
528
|
+
# Ruby 3.3: in `stack'
|
|
529
|
+
# Ruby 3.4+: in 'Puppet::Pops::PuppetStack.stack' (qualified for module method)
|
|
530
|
+
# JRuby 10+: in 'stack' (unqualified)
|
|
531
|
+
PUPPET_STACK_INSERTION_FRAME = /puppet_stack\.rb.*in ['`](?:Puppet::Pops::PuppetStack\.)?stack'/
|
|
531
532
|
|
|
532
533
|
# utility method to get the current call stack and format it to a human-readable string (which some IDEs/editors
|
|
533
534
|
# will recognize as links to the line numbers in the trace)
|
data/lib/puppet/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: openvox
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 9.0.0.pre.alpha2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenVox Project
|
|
@@ -143,22 +143,16 @@ dependencies:
|
|
|
143
143
|
name: openfact
|
|
144
144
|
requirement: !ruby/object:Gem::Requirement
|
|
145
145
|
requirements:
|
|
146
|
-
- - "
|
|
146
|
+
- - "~>"
|
|
147
147
|
- !ruby/object:Gem::Version
|
|
148
148
|
version: '5.0'
|
|
149
|
-
- - "<"
|
|
150
|
-
- !ruby/object:Gem::Version
|
|
151
|
-
version: '7'
|
|
152
149
|
type: :runtime
|
|
153
150
|
prerelease: false
|
|
154
151
|
version_requirements: !ruby/object:Gem::Requirement
|
|
155
152
|
requirements:
|
|
156
|
-
- - "
|
|
153
|
+
- - "~>"
|
|
157
154
|
- !ruby/object:Gem::Version
|
|
158
155
|
version: '5.0'
|
|
159
|
-
- - "<"
|
|
160
|
-
- !ruby/object:Gem::Version
|
|
161
|
-
version: '7'
|
|
162
156
|
- !ruby/object:Gem::Dependency
|
|
163
157
|
name: ostruct
|
|
164
158
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -1263,6 +1257,8 @@ files:
|
|
|
1263
1257
|
- lib/puppet/util/psych_support.rb
|
|
1264
1258
|
- lib/puppet/util/rdoc.rb
|
|
1265
1259
|
- lib/puppet/util/rdoc/code_objects.rb
|
|
1260
|
+
- lib/puppet/util/rdoc/generators/puppet_generator.rb
|
|
1261
|
+
- lib/puppet/util/rdoc/generators/template/puppet/puppet.rb
|
|
1266
1262
|
- lib/puppet/util/rdoc/parser.rb
|
|
1267
1263
|
- lib/puppet/util/rdoc/parser/puppet_parser_core.rb
|
|
1268
1264
|
- lib/puppet/util/rdoc/parser/puppet_parser_rdoc2.rb
|
|
@@ -1370,7 +1366,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
1370
1366
|
- !ruby/object:Gem::Version
|
|
1371
1367
|
version: 1.3.1
|
|
1372
1368
|
requirements: []
|
|
1373
|
-
rubygems_version: 4.0.
|
|
1369
|
+
rubygems_version: 4.0.10
|
|
1374
1370
|
specification_version: 4
|
|
1375
1371
|
summary: OpenVox, a community implementation of Puppet -- an automated configuration
|
|
1376
1372
|
management tool
|