openvox 8.26.2 → 8.28.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 +4 -4
- data/CHANGELOG.md +35 -1
- data/Gemfile +1 -1
- data/Rakefile +2 -1
- data/lib/puppet/ffi/windows/api_types.rb +1 -1
- data/lib/puppet/file_system/uniquefile.rb +5 -8
- data/lib/puppet/interface/action.rb +1 -1
- data/lib/puppet/pops/lookup/sub_lookup.rb +3 -0
- data/lib/puppet/provider/group/groupadd.rb +8 -4
- data/lib/puppet/util/fileparsing.rb +3 -3
- data/lib/puppet/version.rb +1 -1
- data/tasks/upload.rake +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 22a10676212dffb7385dd0b2a93b63e82b431be1721c626845e9b8c9aa3244a3
|
|
4
|
+
data.tar.gz: 8b11717749ebc30080d5868897d2af18734696ef84bf52f9e0390ecf5e381431
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d83254af4656f5ba95cc0710ac577d80a53c6d8881c4905601d689eff159838dba3b59635c2db446cae49a5bf137453d055bd067d0c61541e00f6d5a73062d82
|
|
7
|
+
data.tar.gz: 77ee41bb27713bf2867d9b616580904347595e64a87b24f9d3ba0b3c1c2cc63198cba689b3b806e612db26df8f2cc0e833d6a16e169bf17f393204cf0743a77e
|
data/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,41 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
-
## [8.
|
|
5
|
+
## [8.28.0](https://github.com/openvoxproject/openvox/tree/8.28.0) (2026-06-10)
|
|
6
|
+
|
|
7
|
+
[Full Changelog](https://github.com/openvoxproject/openvox/compare/8.27.0...8.28.0)
|
|
8
|
+
|
|
9
|
+
**Implemented enhancements:**
|
|
10
|
+
|
|
11
|
+
- Backport: Add Platform definitions for Fedora 44 to 8.x [\#459](https://github.com/OpenVoxProject/openvox/pull/459) ([Sharpie](https://github.com/Sharpie))
|
|
12
|
+
|
|
13
|
+
**Fixed bugs:**
|
|
14
|
+
|
|
15
|
+
- \[Backport 8.x\] Fix File.open Ruby 3.2 regression in FileSystem::Uniquefile [\#478](https://github.com/OpenVoxProject/openvox/pull/478) ([OpenVoxProjectBot](https://github.com/OpenVoxProjectBot))
|
|
16
|
+
- \[Backport 8.x\] Manage group members on EL 10 without libuser [\#477](https://github.com/OpenVoxProject/openvox/pull/477) ([OpenVoxProjectBot](https://github.com/OpenVoxProjectBot))
|
|
17
|
+
|
|
18
|
+
**Merged pull requests:**
|
|
19
|
+
|
|
20
|
+
- Promote puppet-runtime 2026.06.09.1 into 8.x [\#480](https://github.com/OpenVoxProject/openvox/pull/480) ([OpenVoxProjectBot](https://github.com/OpenVoxProjectBot))
|
|
21
|
+
|
|
22
|
+
## [8.27.0](https://github.com/openvoxproject/openvox/tree/8.27.0) (2026-05-15)
|
|
23
|
+
|
|
24
|
+
[Full Changelog](https://github.com/openvoxproject/openvox/compare/8.26.2...8.27.0)
|
|
25
|
+
|
|
26
|
+
**Fixed bugs:**
|
|
27
|
+
|
|
28
|
+
- avoid badly anchored regular expression [\#414](https://github.com/OpenVoxProject/openvox/pull/414) ([corporate-gadfly](https://github.com/corporate-gadfly))
|
|
29
|
+
|
|
30
|
+
**Merged pull requests:**
|
|
31
|
+
|
|
32
|
+
- 8.x Backport: Fix rubocop 1.86.2 lint [\#448](https://github.com/OpenVoxProject/openvox/pull/448) ([Sharpie](https://github.com/Sharpie))
|
|
33
|
+
- Promote puppet-runtime 2026.05.11.1 into 8.x [\#439](https://github.com/OpenVoxProject/openvox/pull/439) ([OpenVoxProjectBot](https://github.com/OpenVoxProjectBot))
|
|
34
|
+
- Promote openfact 5.6.1 into 8.x [\#438](https://github.com/OpenVoxProject/openvox/pull/438) ([OpenVoxProjectBot](https://github.com/OpenVoxProjectBot))
|
|
35
|
+
- Promote puppet-runtime 2026.05.07.1 into 8.x [\#430](https://github.com/OpenVoxProject/openvox/pull/430) ([OpenVoxProjectBot](https://github.com/OpenVoxProjectBot))
|
|
36
|
+
- Changes to prepare for 8.x branching [\#425](https://github.com/OpenVoxProject/openvox/pull/425) ([nmburgan](https://github.com/nmburgan))
|
|
37
|
+
- 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))
|
|
38
|
+
|
|
39
|
+
## [8.26.2](https://github.com/openvoxproject/openvox/tree/8.26.2) (2026-04-18)
|
|
6
40
|
|
|
7
41
|
[Full Changelog](https://github.com/openvoxproject/openvox/compare/8.26.1...8.26.2)
|
|
8
42
|
|
data/Gemfile
CHANGED
|
@@ -93,7 +93,7 @@ end
|
|
|
93
93
|
platforms :ruby do
|
|
94
94
|
group :release, optional: true do
|
|
95
95
|
gem 'faraday-retry', require: false
|
|
96
|
-
gem 'github_changelog_generator',
|
|
96
|
+
gem 'github_changelog_generator', '~> 1.18', require: false
|
|
97
97
|
end
|
|
98
98
|
end
|
|
99
99
|
|
data/Rakefile
CHANGED
|
@@ -162,7 +162,8 @@ begin
|
|
|
162
162
|
config.exclude_labels = %w[dependencies duplicate question invalid wontfix wont-fix modulesync skip-changelog]
|
|
163
163
|
config.since_tag = "8.18.1"
|
|
164
164
|
config.future_release = Puppet::PUPPETVERSION
|
|
165
|
-
config.exclude_tags_regex = /\
|
|
165
|
+
config.exclude_tags_regex = /\A[7,9]\./
|
|
166
|
+
config.release_branch = "8.x"
|
|
166
167
|
end
|
|
167
168
|
rescue LoadError
|
|
168
169
|
task :changelog do
|
|
@@ -230,7 +230,7 @@ module Puppet::FFI::Windows
|
|
|
230
230
|
:Data4, [:byte, 8]
|
|
231
231
|
|
|
232
232
|
def self.[](s)
|
|
233
|
-
raise _('Bad GUID format.') unless s =~
|
|
233
|
+
raise _('Bad GUID format.') unless s =~ /\A[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}\z/i
|
|
234
234
|
|
|
235
235
|
new.tap do |guid|
|
|
236
236
|
guid[:Data1] = s[0, 8].to_i(16)
|
|
@@ -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
|
|
37
|
-
perm = nil
|
|
35
|
+
opts.delete(:perm)
|
|
38
36
|
else
|
|
39
|
-
opts =
|
|
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
|
-
|
|
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,
|
|
53
|
+
@tmpfile = File.open(@tmpname, @mode, 0o600, **@opts)
|
|
57
54
|
__setobj__(@tmpfile)
|
|
58
55
|
end
|
|
59
56
|
|
|
@@ -14,7 +14,7 @@ class Puppet::Interface::Action
|
|
|
14
14
|
|
|
15
15
|
# @api private
|
|
16
16
|
def initialize(face, name)
|
|
17
|
-
raise "#{name.inspect} is an invalid action name" unless name.to_s =~
|
|
17
|
+
raise "#{name.inspect} is an invalid action name" unless name.to_s =~ /\A[a-z]\w*\z/
|
|
18
18
|
|
|
19
19
|
@face = face
|
|
20
20
|
@name = name.to_sym
|
|
@@ -21,6 +21,8 @@ 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
|
|
24
26
|
segments = key.split(/(\s*"[^"]+"\s*|\s*'[^']+'\s*|[^'".]+)/)
|
|
25
27
|
if segments.empty?
|
|
26
28
|
# Only happens if the original key was an empty string
|
|
@@ -45,6 +47,7 @@ module SubLookup
|
|
|
45
47
|
else
|
|
46
48
|
raise yield('Syntax error')
|
|
47
49
|
end
|
|
50
|
+
# rubocop:enable Lint/ParenthesesAsGroupedExpression
|
|
48
51
|
end
|
|
49
52
|
|
|
50
53
|
# 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
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
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.
|
|
@@ -103,13 +103,13 @@ module Puppet::Util::FileParsing
|
|
|
103
103
|
# Convert a record into a line by joining the fields together appropriately.
|
|
104
104
|
# This is pulled into a separate method so it can be called by the hooks.
|
|
105
105
|
def join(details)
|
|
106
|
-
joinchar =
|
|
106
|
+
joinchar = joiner
|
|
107
107
|
|
|
108
108
|
fields.filter_map { |field|
|
|
109
109
|
# If the field is marked absent, use the appropriate replacement
|
|
110
110
|
if details[field] == :absent or details[field] == [:absent] or details[field].nil?
|
|
111
|
-
if
|
|
112
|
-
|
|
111
|
+
if optional.include?(field)
|
|
112
|
+
absent
|
|
113
113
|
else
|
|
114
114
|
raise ArgumentError, _("Field '%{field}' is required") % { field: field }
|
|
115
115
|
end
|
data/lib/puppet/version.rb
CHANGED
data/tasks/upload.rake
CHANGED
|
@@ -44,7 +44,7 @@ namespace :vox do
|
|
|
44
44
|
path = "s3://#{bucket}/#{component}/#{args[:tag]}"
|
|
45
45
|
files.each do |f|
|
|
46
46
|
f = `cygpath -m #{f}`.chomp if os =~ /windows/
|
|
47
|
-
run_command("#{s3} cp #{f} #{path}/#{File.basename(f)}", silent: false)
|
|
47
|
+
run_command("#{s3} cp #{f} #{path}/#{File.basename(f)} --no-progress", silent: false)
|
|
48
48
|
end
|
|
49
49
|
end
|
|
50
50
|
end
|
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.
|
|
4
|
+
version: 8.28.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenVox Project
|
|
@@ -1366,7 +1366,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
1366
1366
|
- !ruby/object:Gem::Version
|
|
1367
1367
|
version: 1.3.1
|
|
1368
1368
|
requirements: []
|
|
1369
|
-
rubygems_version: 4.0.
|
|
1369
|
+
rubygems_version: 4.0.10
|
|
1370
1370
|
specification_version: 4
|
|
1371
1371
|
summary: OpenVox, a community implementation of Puppet -- an automated configuration
|
|
1372
1372
|
management tool
|