openvox 8.27.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4c843fbe86064f932413b012a552e6cecf6623ecd71be172a8db1b5ac350c8f6
4
- data.tar.gz: 87fbb8cf66802e3f367e014730960c81b3d5915ccb2a616f34ff32cc7f95fc40
3
+ metadata.gz: 339c5fb2d2500d3313f1cce4ce036c2195687ab085c27ff51b057b8268129cf4
4
+ data.tar.gz: 1f1d1fc0714e7d123acbbcb46956187ee74509342a006d1acef23a7c1fc6e841
5
5
  SHA512:
6
- metadata.gz: ccb529f52fa44c2245eabdb509c75c4d430d21de88ec661c9f2013fbffeb2e8c23b85fa9fd619cdb38593c0b4f0c863fc4fd501fe6fdb2631df819fbb1ea9ae6
7
- data.tar.gz: c561244e6dd9d1f5e13faf50897dbb48ded025ef1917ba857f9b13a30504e6078ce1b7139aa0b6050a2532ce62d601d062b8e879c168172cdce7b529174ddb04
6
+ metadata.gz: 2718c3a0382123b2293d5b25aa8ccf3c28f8f3a9bbf6c818e1e4bc0d294ea925a1647188acfd84560b1ba6c48f4d7e88552346686d3f634f59b78706bb642476
7
+ data.tar.gz: de6fbe865701dec9ef8a1e42afc4d9ad02ef3adcaa1397090c3e20e4b33025dd774ac8dbb0903e684ca671c0586af497c0fd90a60b37644decbf7cb2667e112c
data/CHANGELOG.md CHANGED
@@ -2,34 +2,58 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
- ## [8.27.0](https://github.com/openvoxproject/openvox/tree/8.27.0) (2026-05-15)
5
+ ## [9.0.0-alpha2](https://github.com/openvoxproject/openvox/tree/9.0.0-alpha2) (2026-06-10)
6
6
 
7
- [Full Changelog](https://github.com/openvoxproject/openvox/compare/8.26.2...8.27.0)
7
+ [Full Changelog](https://github.com/openvoxproject/openvox/compare/9.0.0-alpha1...9.0.0-alpha2)
8
8
 
9
- **Fixed bugs:**
9
+ **Breaking changes:**
10
10
 
11
- - \[Bug\]: openvox-agent 8.26.2 reports 8.26.1 with --version option [\#415](https://github.com/OpenVoxProject/openvox/issues/415)
12
- - avoid badly anchored regular expression [\#414](https://github.com/OpenVoxProject/openvox/pull/414) ([corporate-gadfly](https://github.com/corporate-gadfly))
11
+ - return to preprocessing deferred functions by default [\#462](https://github.com/OpenVoxProject/openvox/pull/462) ([binford2k](https://github.com/binford2k))
12
+ - Decouple :posix feature from :syslog library check [\#458](https://github.com/OpenVoxProject/openvox/pull/458) ([silug](https://github.com/silug))
13
+ - remove pe\_serverversion fact [\#397](https://github.com/OpenVoxProject/openvox/pull/397) ([corporate-gadfly](https://github.com/corporate-gadfly))
14
+
15
+ **Implemented enhancements:**
13
16
 
14
- **Closed issues:**
17
+ - Add windows-msys2-x64 build for OpenVox 9 [\#468](https://github.com/OpenVoxProject/openvox/pull/468) ([Sharpie](https://github.com/Sharpie))
15
18
 
16
- - \[docs\] use openvox-strings instead of puppet-strings [\#433](https://github.com/OpenVoxProject/openvox/issues/433)
19
+ **Fixed bugs:**
20
+
21
+ - Manage group members on EL 10 without libuser [\#476](https://github.com/OpenVoxProject/openvox/pull/476) ([Sharpie](https://github.com/Sharpie))
22
+ - Fix File.open Ruby 3.2 regression in FileSystem::Uniquefile [\#450](https://github.com/OpenVoxProject/openvox/pull/450) ([JonasVerhofste](https://github.com/JonasVerhofste))
17
23
 
18
24
  **Merged pull requests:**
19
25
 
20
- - Fix rubocop 1.86.2 lint [\#447](https://github.com/OpenVoxProject/openvox/pull/447) ([Sharpie](https://github.com/Sharpie))
21
- - Clarify "ref" description in GitHub build workflow [\#445](https://github.com/OpenVoxProject/openvox/pull/445) ([Sharpie](https://github.com/Sharpie))
22
- - Promote puppet-runtime 2026.05.11.1 into main [\#437](https://github.com/OpenVoxProject/openvox/pull/437) ([OpenVoxProjectBot](https://github.com/OpenVoxProjectBot))
26
+ - Promote puppet-runtime 2026.06.09.1 into main [\#479](https://github.com/OpenVoxProject/openvox/pull/479) ([OpenVoxProjectBot](https://github.com/OpenVoxProjectBot))
27
+ - CI: Use bot account for backports [\#472](https://github.com/OpenVoxProject/openvox/pull/472) ([bastelfreak](https://github.com/bastelfreak))
28
+ - Add JRuby 10.0.5.0 and 10.1.0.0 to test matrix [\#463](https://github.com/OpenVoxProject/openvox/pull/463) ([silug](https://github.com/silug))
29
+
30
+ ## [9.0.0-alpha1](https://github.com/openvoxproject/openvox/tree/9.0.0-alpha1) (2026-05-20)
31
+
32
+ [Full Changelog](https://github.com/openvoxproject/openvox/compare/8.27.0...9.0.0-alpha1)
33
+
34
+ **Implemented enhancements:**
35
+
36
+ - Add platform definitions for Fedora 44 [\#455](https://github.com/OpenVoxProject/openvox/pull/455) ([Sharpie](https://github.com/Sharpie))
23
37
  - Promote openfact 5.6.1 into main [\#436](https://github.com/OpenVoxProject/openvox/pull/436) ([OpenVoxProjectBot](https://github.com/OpenVoxProjectBot))
38
+
39
+ **Fixed bugs:**
40
+
41
+ - avoid badly anchored regular expression [\#414](https://github.com/OpenVoxProject/openvox/pull/414) ([corporate-gadfly](https://github.com/corporate-gadfly))
42
+
43
+ **Merged pull requests:**
44
+
45
+ - Promote puppet-runtime 2026.05.20.1 into main [\#453](https://github.com/OpenVoxProject/openvox/pull/453) ([OpenVoxProjectBot](https://github.com/OpenVoxProjectBot))
24
46
  - Switch from puppet-strings to openvox-strings [\#434](https://github.com/OpenVoxProject/openvox/pull/434) ([tuxmea](https://github.com/tuxmea))
25
47
  - Update acceptance defaults and descriptions for OpenVox 9 [\#431](https://github.com/OpenVoxProject/openvox/pull/431) ([nmburgan](https://github.com/nmburgan))
26
48
  - Promote puppet-runtime 2026.05.07.1 into main [\#429](https://github.com/OpenVoxProject/openvox/pull/429) ([OpenVoxProjectBot](https://github.com/OpenVoxProjectBot))
27
49
  - Change branch name in promote workflow [\#428](https://github.com/OpenVoxProject/openvox/pull/428) ([nmburgan](https://github.com/nmburgan))
28
50
  - Changes to prepare for 8.x branching [\#425](https://github.com/OpenVoxProject/openvox/pull/425) ([nmburgan](https://github.com/nmburgan))
29
- - Update github\_changelog\_generator [\#424](https://github.com/OpenVoxProject/openvox/pull/424) ([nmburgan](https://github.com/nmburgan))
30
- - Modify S3 copy command to suppress progress output [\#423](https://github.com/OpenVoxProject/openvox/pull/423) ([corporate-gadfly](https://github.com/corporate-gadfly))
31
51
  - Add release version check and stop trying to bump to an RC version [\#413](https://github.com/OpenVoxProject/openvox/pull/413) ([nmburgan](https://github.com/nmburgan))
32
52
 
53
+ ## [8.27.0](https://github.com/openvoxproject/openvox/tree/8.27.0) (2026-05-15)
54
+
55
+ [Full Changelog](https://github.com/openvoxproject/openvox/compare/8.26.2...8.27.0)
56
+
33
57
  ## [8.26.2](https://github.com/openvoxproject/openvox/tree/8.26.2) (2026-04-18)
34
58
 
35
59
  [Full Changelog](https://github.com/openvoxproject/openvox/compare/8.26.1...8.26.2)
data/Gemfile CHANGED
@@ -56,7 +56,7 @@ group(:test) do
56
56
  gem 'webrick', '~> 1.7', require: false
57
57
  gem 'yard', require: false
58
58
 
59
- gem 'rubocop', '~> 1.86.1', require: false, platforms: [:ruby]
59
+ gem 'rubocop', '~> 1.87.0', require: false, platforms: [:ruby]
60
60
  gem 'rubocop-i18n', '~> 3.0', require: false, platforms: [:ruby]
61
61
  gem 'rubocop-performance', '~> 1.0', require: false, platforms: [:ruby]
62
62
  gem 'rubocop-rake', '~> 0.6', require: false, platforms: [:ruby]
@@ -2100,14 +2100,16 @@ EOT
2100
2100
  what is being done.",
2101
2101
  },
2102
2102
  :preprocess_deferred => {
2103
- :default => false,
2103
+ :default => true,
2104
2104
  :type => :boolean,
2105
2105
  :desc => "Whether Puppet should call deferred functions before applying
2106
2106
  the catalog. If set to `true`, all prerequisites required for the
2107
2107
  deferred function must be satisfied before the Puppet run. If set to
2108
2108
  `false`, deferred functions follow Puppet relationships and
2109
2109
  ordering. In this way, Puppet can install the prerequisites required for a
2110
- deferred function and call the deferred function in the same run.",
2110
+ deferred function and call the deferred function in the same run.
2111
+ Please note that many functions that return complex datatypes will fail
2112
+ when disabling preprocessing and this option may be removed in the future.",
2111
2113
  },
2112
2114
  :summarize => {
2113
2115
  :default => false,
@@ -12,7 +12,7 @@ Puppet.features.add(:syslog, :libs => ["syslog"])
12
12
  # We can use POSIX user functions
13
13
  Puppet.features.add(:posix) do
14
14
  require 'etc'
15
- !Etc.getpwuid(0).nil? && Puppet.features.syslog?
15
+ !Puppet::Util::Platform.windows? && !Etc.getpwuid(0).nil?
16
16
  end
17
17
 
18
18
  # We can use Microsoft Windows functions
@@ -30,21 +30,18 @@ class Puppet::FileSystem::Uniquefile < DelegateClass(File)
30
30
  def initialize(basename, *rest)
31
31
  create_tmpname(basename, *rest) do |tmpname, _n, opts|
32
32
  mode = File::RDWR | File::CREAT | File::EXCL
33
- perm = 0o600
34
33
  if opts
35
34
  mode |= opts.delete(:mode) || 0
36
- opts[:perm] = perm
37
- perm = nil
35
+ opts.delete(:perm)
38
36
  else
39
- opts = perm
37
+ opts = {}
40
38
  end
41
39
  self.class.locking(tmpname) do
42
- @tmpfile = File.open(tmpname, mode, opts)
40
+ @tmpfile = File.open(tmpname, mode, 0o600, **opts)
43
41
  @tmpname = tmpname
44
42
  end
45
43
  @mode = mode & ~(File::CREAT | File::EXCL)
46
- perm or opts.freeze
47
- @opts = opts
44
+ @opts = opts.freeze
48
45
  end
49
46
 
50
47
  super(@tmpfile)
@@ -53,7 +50,7 @@ class Puppet::FileSystem::Uniquefile < DelegateClass(File)
53
50
  # Opens or reopens the file with mode "r+".
54
51
  def open
55
52
  @tmpfile.close if @tmpfile
56
- @tmpfile = File.open(@tmpname, @mode, @opts)
53
+ @tmpfile = File.open(@tmpname, @mode, 0o600, **@opts)
57
54
  __setobj__(@tmpfile)
58
55
  end
59
56
 
@@ -7,12 +7,6 @@ class Puppet::Node::ServerFacts
7
7
  # Add implementation information
8
8
  server_facts["serverimplementation"] = Puppet.implementation
9
9
 
10
- # Add our server Puppet Enterprise version, if available.
11
- pe_version_file = '/opt/puppetlabs/server/pe_version'
12
- if File.readable?(pe_version_file) and !File.zero?(pe_version_file)
13
- server_facts['pe_serverversion'] = File.read(pe_version_file).chomp
14
- end
15
-
16
10
  # Add our server version to the fact list
17
11
  server_facts["serverversion"] = Puppet.version.to_s
18
12
 
@@ -21,8 +21,6 @@ module SubLookup
21
21
  def split_key(key)
22
22
  return [key] if key.match(SPECIAL).nil?
23
23
 
24
- # Rubocop 1.86.2 starts mis-classifying the "raise yield" constructions as a failure.
25
- # rubocop:disable Lint/ParenthesesAsGroupedExpression
26
24
  segments = key.split(/(\s*"[^"]+"\s*|\s*'[^']+'\s*|[^'".]+)/)
27
25
  if segments.empty?
28
26
  # Only happens if the original key was an empty string
@@ -47,7 +45,6 @@ module SubLookup
47
45
  else
48
46
  raise yield('Syntax error')
49
47
  end
50
- # rubocop:enable Lint/ParenthesesAsGroupedExpression
51
48
  end
52
49
 
53
50
  # Perform a sub-lookup using the given _segments_ to access the given _value_. Each segment must be a string. A string
@@ -19,10 +19,14 @@ Puppet::Type.type(:group).provide :groupadd, :parent => Puppet::Provider::NameSe
19
19
 
20
20
  optional_commands :localadd => "lgroupadd", :localdelete => "lgroupdel", :localmodify => "lgroupmod", :purgemember => "usermod"
21
21
 
22
- has_feature :manages_local_users_and_groups if Puppet.features.libuser?
23
- has_feature :manages_members if Puppet.features.libuser? ||
24
- (Puppet.runtime[:facter].value('os.name') == "Fedora" &&
25
- Puppet.runtime[:facter].value('os.release.major').to_i >= 40)
22
+ if Puppet.features.libuser?
23
+ has_feature :manages_local_users_and_groups
24
+ has_feature :manages_members
25
+ elsif Puppet.runtime[:facter].value('os.name') == "Fedora"
26
+ has_feature :manages_members if Puppet.runtime[:facter].value('os.release.major').to_i >= 40
27
+ elsif Puppet.runtime[:facter].value('os.family') == "RedHat"
28
+ has_feature :manages_members if Puppet.runtime[:facter].value('os.release.major').to_i >= 10
29
+ end
26
30
 
27
31
  # Libuser's modify command 'lgroupmod' requires '-M' flag for member additions.
28
32
  # 'groupmod' command requires the '-aU' flags for it.
@@ -146,10 +146,7 @@ Puppet::Type.type(:package).provide :puppetserver_gem, :parent => :gem do
146
146
  puppet_default_vendor_gems = '/opt/puppetlabs/puppet/lib/ruby/vendor_gems'
147
147
  puppetserver_default_gem_path = [puppetserver_default_gem_home, puppetserver_default_vendored_jruby_gems, puppet_default_vendor_gems].join(':')
148
148
 
149
- pe_puppetserver_conf_file = '/etc/puppetlabs/puppetserver/conf.d/pe-puppet-server.conf'
150
- os_puppetserver_conf_file = '/etc/puppetlabs/puppetserver/puppetserver.conf'
151
- puppetserver_conf_file = Puppet.runtime[:facter].value(:pe_server_version) ? pe_puppetserver_conf_file : os_puppetserver_conf_file
152
- puppetserver_conf = Hocon.load(puppetserver_conf_file)
149
+ puppetserver_conf = Hocon.load('/etc/puppetlabs/puppetserver/puppetserver.conf')
153
150
 
154
151
  gem_env = {}
155
152
  if puppetserver_conf.empty? || puppetserver_conf.key?('jruby-puppet') == false
data/lib/puppet/util.rb CHANGED
@@ -523,11 +523,12 @@ module Util
523
523
 
524
524
  module_function :thinmark
525
525
 
526
- PUPPET_STACK_INSERTION_FRAME = if RUBY_VERSION >= '3.4'
527
- /.*puppet_stack\.rb.*in.*'Puppet::Pops::PuppetStack\.stack'/
528
- else
529
- /.*puppet_stack\.rb.*in.*`stack'/
530
- end
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)
@@ -8,7 +8,7 @@
8
8
  # Raketasks and such to set the version based on the output of `git describe`
9
9
 
10
10
  module Puppet
11
- PUPPETVERSION = '8.27.0'
11
+ PUPPETVERSION = '9.0.0-alpha2'
12
12
  IMPLEMENTATION = 'openvox'
13
13
 
14
14
  ##
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: 8.27.0
4
+ version: 9.0.0.pre.alpha2
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenVox Project