openvox 9.0.0.pre.beta1 → 9.0.0.pre.beta2

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.
Files changed (273) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +60 -2
  3. data/CODE_OF_CONDUCT.md +1 -1
  4. data/Gemfile +3 -3
  5. data/README.md +6 -6
  6. data/Rakefile +3 -3
  7. data/conf/environment.conf +2 -2
  8. data/conf/fileserver.conf +3 -3
  9. data/conf/puppet.conf +4 -4
  10. data/examples/enc/regexp_nodes/regexp_nodes.rb +2 -2
  11. data/examples/hiera/README.md +1 -1
  12. data/examples/nagios/check_puppet.rb +1 -1
  13. data/ext/README.md +3 -3
  14. data/ext/hiera/hiera.yaml +1 -1
  15. data/ext/project_data.yaml +1 -1
  16. data/ext/redhat/client.sysconfig +1 -0
  17. data/ext/solaris/smf/puppet.xml +2 -2
  18. data/ext/windows/puppet_interactive.bat +1 -1
  19. data/ext/windows/service/daemon.rb +5 -5
  20. data/lib/hiera/puppet_function.rb +1 -2
  21. data/lib/hiera_puppet.rb +1 -1
  22. data/lib/puppet/agent/disabler.rb +3 -3
  23. data/lib/puppet/agent/locker.rb +1 -1
  24. data/lib/puppet/agent.rb +2 -2
  25. data/lib/puppet/application/agent.rb +33 -35
  26. data/lib/puppet/application/apply.rb +7 -7
  27. data/lib/puppet/application/describe.rb +3 -3
  28. data/lib/puppet/application/device.rb +1 -1
  29. data/lib/puppet/application/doc.rb +5 -7
  30. data/lib/puppet/application/facts.rb +1 -1
  31. data/lib/puppet/application/filebucket.rb +5 -5
  32. data/lib/puppet/application/lookup.rb +8 -8
  33. data/lib/puppet/application/resource.rb +5 -5
  34. data/lib/puppet/application/script.rb +3 -3
  35. data/lib/puppet/application/ssl.rb +4 -4
  36. data/lib/puppet/application_support.rb +2 -2
  37. data/lib/puppet/configurer.rb +13 -7
  38. data/lib/puppet/confine/variable.rb +2 -2
  39. data/lib/puppet/context.rb +1 -1
  40. data/lib/puppet/data_binding.rb +1 -1
  41. data/lib/puppet/defaults.rb +156 -194
  42. data/lib/puppet/error.rb +1 -1
  43. data/lib/puppet/etc.rb +4 -4
  44. data/lib/puppet/face/catalog/select.rb +3 -3
  45. data/lib/puppet/face/catalog.rb +4 -4
  46. data/lib/puppet/face/config.rb +6 -6
  47. data/lib/puppet/face/facts.rb +6 -6
  48. data/lib/puppet/face/help/man.erb +3 -3
  49. data/lib/puppet/face/node/clean.rb +3 -3
  50. data/lib/puppet/face/node.rb +2 -2
  51. data/lib/puppet/face/plugin.rb +4 -4
  52. data/lib/puppet/functions/all.rb +4 -4
  53. data/lib/puppet/functions/any.rb +4 -4
  54. data/lib/puppet/functions/assert_type.rb +5 -5
  55. data/lib/puppet/functions/defined.rb +1 -1
  56. data/lib/puppet/functions/each.rb +11 -11
  57. data/lib/puppet/functions/epp.rb +5 -5
  58. data/lib/puppet/functions/eyaml_lookup_key.rb +1 -1
  59. data/lib/puppet/functions/filter.rb +5 -5
  60. data/lib/puppet/functions/find_file.rb +1 -1
  61. data/lib/puppet/functions/hiera.rb +4 -4
  62. data/lib/puppet/functions/hiera_array.rb +5 -5
  63. data/lib/puppet/functions/hiera_hash.rb +5 -5
  64. data/lib/puppet/functions/hiera_include.rb +6 -6
  65. data/lib/puppet/functions/hocon_data.rb +1 -1
  66. data/lib/puppet/functions/include.rb +1 -1
  67. data/lib/puppet/functions/index.rb +3 -3
  68. data/lib/puppet/functions/inline_epp.rb +6 -6
  69. data/lib/puppet/functions/json_data.rb +1 -1
  70. data/lib/puppet/functions/lest.rb +1 -1
  71. data/lib/puppet/functions/lookup.rb +14 -14
  72. data/lib/puppet/functions/map.rb +5 -5
  73. data/lib/puppet/functions/reduce.rb +6 -6
  74. data/lib/puppet/functions/reverse_each.rb +5 -5
  75. data/lib/puppet/functions/scanf.rb +1 -1
  76. data/lib/puppet/functions/step.rb +5 -5
  77. data/lib/puppet/functions/then.rb +1 -1
  78. data/lib/puppet/functions/tree_each.rb +3 -3
  79. data/lib/puppet/functions/versioncmp.rb +1 -1
  80. data/lib/puppet/functions/with.rb +2 -2
  81. data/lib/puppet/functions/yaml_data.rb +1 -1
  82. data/lib/puppet/gettext/config.rb +5 -5
  83. data/lib/puppet/gettext/module_translations.rb +1 -1
  84. data/lib/puppet/graph/simple_graph.rb +0 -1
  85. data/lib/puppet/http/client.rb +5 -5
  86. data/lib/puppet/http/factory.rb +1 -1
  87. data/lib/puppet/http/resolver/server_list.rb +2 -2
  88. data/lib/puppet/http/service/compiler.rb +3 -3
  89. data/lib/puppet/http/service/file_server.rb +1 -1
  90. data/lib/puppet/http/service.rb +1 -1
  91. data/lib/puppet/http/session.rb +1 -1
  92. data/lib/puppet/http.rb +1 -1
  93. data/lib/puppet/indirector/catalog/compiler.rb +2 -2
  94. data/lib/puppet/indirector/data_binding/hiera.rb +93 -2
  95. data/lib/puppet/indirector/face.rb +4 -4
  96. data/lib/puppet/indirector/facts/facter.rb +7 -7
  97. data/lib/puppet/indirector/file_bucket_file/file.rb +2 -2
  98. data/lib/puppet/indirector/file_bucket_file/rest.rb +7 -3
  99. data/lib/puppet/indirector/file_content/file_server.rb +1 -1
  100. data/lib/puppet/indirector/file_metadata/file_server.rb +1 -1
  101. data/lib/puppet/indirector/node/exec.rb +1 -1
  102. data/lib/puppet/indirector/node/rest.rb +1 -1
  103. data/lib/puppet/indirector/report/processor.rb +1 -1
  104. data/lib/puppet/indirector.rb +1 -1
  105. data/lib/puppet/interface/documentation.rb +1 -1
  106. data/lib/puppet/interface/face_collection.rb +1 -1
  107. data/lib/puppet/interface/option.rb +2 -2
  108. data/lib/puppet/module/task.rb +1 -1
  109. data/lib/puppet/module_tool/applications/application.rb +1 -1
  110. data/lib/puppet/module_tool/metadata.rb +1 -2
  111. data/lib/puppet/module_tool.rb +1 -1
  112. data/lib/puppet/network/authorization.rb +1 -1
  113. data/lib/puppet/network/http/api.rb +2 -2
  114. data/lib/puppet/network/http/connection.rb +2 -2
  115. data/lib/puppet/node/environment.rb +6 -6
  116. data/lib/puppet/node.rb +2 -2
  117. data/lib/puppet/pal/catalog_compiler.rb +1 -1
  118. data/lib/puppet/pal/pal_impl.rb +1 -1
  119. data/lib/puppet/parser/compiler.rb +1 -1
  120. data/lib/puppet/parser/functions/assert_type.rb +5 -5
  121. data/lib/puppet/parser/functions/create_resources.rb +1 -1
  122. data/lib/puppet/parser/functions/defined.rb +1 -1
  123. data/lib/puppet/parser/functions/digest.rb +1 -1
  124. data/lib/puppet/parser/functions/each.rb +11 -11
  125. data/lib/puppet/parser/functions/epp.rb +5 -5
  126. data/lib/puppet/parser/functions/filter.rb +5 -5
  127. data/lib/puppet/parser/functions/generate.rb +1 -1
  128. data/lib/puppet/parser/functions/hiera.rb +3 -3
  129. data/lib/puppet/parser/functions/hiera_array.rb +4 -4
  130. data/lib/puppet/parser/functions/hiera_hash.rb +4 -4
  131. data/lib/puppet/parser/functions/hiera_include.rb +5 -5
  132. data/lib/puppet/parser/functions/include.rb +1 -1
  133. data/lib/puppet/parser/functions/inline_epp.rb +6 -6
  134. data/lib/puppet/parser/functions/inline_template.rb +1 -1
  135. data/lib/puppet/parser/functions/lest.rb +1 -1
  136. data/lib/puppet/parser/functions/lookup.rb +14 -14
  137. data/lib/puppet/parser/functions/map.rb +5 -5
  138. data/lib/puppet/parser/functions/reduce.rb +7 -7
  139. data/lib/puppet/parser/functions/reverse_each.rb +5 -5
  140. data/lib/puppet/parser/functions/scanf.rb +1 -1
  141. data/lib/puppet/parser/functions/step.rb +5 -5
  142. data/lib/puppet/parser/functions/then.rb +1 -1
  143. data/lib/puppet/parser/functions/versioncmp.rb +1 -1
  144. data/lib/puppet/parser/functions/with.rb +1 -1
  145. data/lib/puppet/parser/functions.rb +3 -3
  146. data/lib/puppet/parser/scope.rb +1 -1
  147. data/lib/puppet/plugins/syntax_checkers.rb +2 -2
  148. data/lib/puppet/plugins.rb +1 -1
  149. data/lib/puppet/pops/evaluator/collectors/exported_collector.rb +1 -1
  150. data/lib/puppet/pops/evaluator/deferred_resolver.rb +4 -1
  151. data/lib/puppet/pops/issues.rb +3 -3
  152. data/lib/puppet/pops/loader/module_loaders.rb +4 -4
  153. data/lib/puppet/pops/loader/ruby_legacy_function_instantiator.rb +1 -1
  154. data/lib/puppet/pops/loaders.rb +4 -4
  155. data/lib/puppet/pops/lookup/lookup_adapter.rb +7 -66
  156. data/lib/puppet/pops/model/factory.rb +5 -5
  157. data/lib/puppet/pops/resource/resource_type_impl.rb +1 -1
  158. data/lib/puppet/pops/types/iterable.rb +1 -1
  159. data/lib/puppet/property/keyvalue.rb +3 -3
  160. data/lib/puppet/provider/group/aix.rb +2 -2
  161. data/lib/puppet/provider/nameservice/directoryservice.rb +2 -2
  162. data/lib/puppet/provider/package/aix.rb +1 -1
  163. data/lib/puppet/provider/package/apt.rb +2 -2
  164. data/lib/puppet/provider/package/aptitude.rb +0 -1
  165. data/lib/puppet/provider/package/dnfmodule.rb +1 -1
  166. data/lib/puppet/provider/package/nim.rb +1 -1
  167. data/lib/puppet/provider/package/pacman.rb +1 -2
  168. data/lib/puppet/provider/package/pip.rb +1 -1
  169. data/lib/puppet/provider/package/pip2.rb +1 -1
  170. data/lib/puppet/provider/package/pip3.rb +1 -1
  171. data/lib/puppet/provider/package/pkgdmg.rb +2 -2
  172. data/lib/puppet/provider/package/puppet_gem.rb +2 -2
  173. data/lib/puppet/provider/package/puppetserver_gem.rb +1 -1
  174. data/lib/puppet/provider/package/windows.rb +1 -1
  175. data/lib/puppet/provider/service/freebsd.rb +1 -1
  176. data/lib/puppet/provider/service/init.rb +5 -5
  177. data/lib/puppet/provider/service/launchd.rb +2 -2
  178. data/lib/puppet/provider/service/smf.rb +1 -1
  179. data/lib/puppet/provider/service/upstart.rb +2 -2
  180. data/lib/puppet/provider/user/aix.rb +3 -3
  181. data/lib/puppet/provider/user/directoryservice.rb +9 -9
  182. data/lib/puppet/provider/user/pw.rb +3 -3
  183. data/lib/puppet/provider.rb +1 -1
  184. data/lib/puppet/reference/configuration.rb +6 -13
  185. data/lib/puppet/reference/function.rb +4 -4
  186. data/lib/puppet/reference/indirection.rb +2 -2
  187. data/lib/puppet/reference/metaparameter.rb +3 -3
  188. data/lib/puppet/reference/providers.rb +3 -3
  189. data/lib/puppet/reference/report.rb +4 -4
  190. data/lib/puppet/reference/type.rb +2 -2
  191. data/lib/puppet/relationship.rb +1 -1
  192. data/lib/puppet/reports/http.rb +4 -4
  193. data/lib/puppet/reports.rb +1 -1
  194. data/lib/puppet/resource/catalog.rb +4 -4
  195. data/lib/puppet/settings/base_setting.rb +2 -3
  196. data/lib/puppet/settings/config_file.rb +3 -3
  197. data/lib/puppet/settings/environment_conf.rb +3 -11
  198. data/lib/puppet/settings.rb +10 -10
  199. data/lib/puppet/ssl/certificate_request.rb +1 -1
  200. data/lib/puppet/ssl/oids.rb +1 -1
  201. data/lib/puppet/ssl/openssl_loader.rb +1 -1
  202. data/lib/puppet/ssl/ssl_provider.rb +5 -5
  203. data/lib/puppet/ssl/state_machine.rb +3 -3
  204. data/lib/puppet/syntax_checkers.rb +1 -1
  205. data/lib/puppet/transaction/report.rb +3 -3
  206. data/lib/puppet/transaction.rb +0 -1
  207. data/lib/puppet/type/exec.rb +20 -20
  208. data/lib/puppet/type/file/content.rb +10 -37
  209. data/lib/puppet/type/file/ensure.rb +4 -4
  210. data/lib/puppet/type/file/mode.rb +4 -4
  211. data/lib/puppet/type/file/selcontext.rb +2 -2
  212. data/lib/puppet/type/file/source.rb +18 -18
  213. data/lib/puppet/type/file.rb +22 -15
  214. data/lib/puppet/type/filebucket.rb +22 -8
  215. data/lib/puppet/type/group.rb +5 -5
  216. data/lib/puppet/type/notify.rb +1 -1
  217. data/lib/puppet/type/package.rb +4 -4
  218. data/lib/puppet/type/schedule.rb +11 -11
  219. data/lib/puppet/type/service.rb +8 -8
  220. data/lib/puppet/type/stage.rb +1 -1
  221. data/lib/puppet/type/user.rb +19 -21
  222. data/lib/puppet/type/whit.rb +2 -2
  223. data/lib/puppet/type.rb +27 -27
  224. data/lib/puppet/util/character_encoding.rb +3 -3
  225. data/lib/puppet/util/command_line.rb +1 -1
  226. data/lib/puppet/util/execution.rb +1 -1
  227. data/lib/puppet/util/filetype.rb +6 -6
  228. data/lib/puppet/util/log.rb +2 -2
  229. data/lib/puppet/util/logging.rb +3 -3
  230. data/lib/puppet/util/plist.rb +1 -1
  231. data/lib/puppet/util/profiler/around_profiler.rb +1 -1
  232. data/lib/puppet/util/profiler.rb +1 -1
  233. data/lib/puppet/util/rdoc.rb +6 -3
  234. data/lib/puppet/util/selinux.rb +5 -5
  235. data/lib/puppet/util/tag_set.rb +0 -1
  236. data/lib/puppet/util/windows/adsi.rb +1 -1
  237. data/lib/puppet/util/windows/com.rb +2 -2
  238. data/lib/puppet/util/windows/eventlog.rb +6 -6
  239. data/lib/puppet/util/windows/file.rb +2 -2
  240. data/lib/puppet/util/windows/security.rb +3 -3
  241. data/lib/puppet/util.rb +2 -2
  242. data/lib/puppet/version.rb +8 -8
  243. data/lib/puppet/x509/cert_provider.rb +1 -1
  244. data/lib/puppet.rb +5 -5
  245. data/locales/config.yaml +3 -3
  246. data/locales/puppet.pot +462 -464
  247. data/man/man5/puppet.conf.5 +122 -146
  248. data/man/man8/puppet-agent.8 +25 -25
  249. data/man/man8/puppet-apply.8 +6 -6
  250. data/man/man8/puppet-catalog.8 +11 -11
  251. data/man/man8/puppet-config.8 +7 -7
  252. data/man/man8/puppet-describe.8 +3 -3
  253. data/man/man8/puppet-device.8 +2 -2
  254. data/man/man8/puppet-doc.8 +5 -5
  255. data/man/man8/puppet-epp.8 +3 -3
  256. data/man/man8/puppet-facts.8 +11 -11
  257. data/man/man8/puppet-filebucket.8 +5 -5
  258. data/man/man8/puppet-generate.8 +3 -3
  259. data/man/man8/puppet-help.8 +3 -3
  260. data/man/man8/puppet-lookup.8 +8 -8
  261. data/man/man8/puppet-module.8 +7 -7
  262. data/man/man8/puppet-node.8 +11 -45
  263. data/man/man8/puppet-parser.8 +3 -3
  264. data/man/man8/puppet-plugin.8 +7 -7
  265. data/man/man8/puppet-report.8 +6 -6
  266. data/man/man8/puppet-resource.8 +5 -5
  267. data/man/man8/puppet-script.8 +3 -3
  268. data/man/man8/puppet-ssl.8 +21 -23
  269. data/man/man8/puppet.8 +2 -2
  270. metadata +3 -6
  271. data/lib/puppet/indirector/hiera.rb +0 -101
  272. data/lib/puppet/util/rdoc/generators/puppet_generator.rb +0 -902
  273. data/lib/puppet/util/rdoc/generators/template/puppet/puppet.rb +0 -1068
@@ -39,7 +39,7 @@ class Puppet::Util::Profiler::AroundProfiler
39
39
 
40
40
  # Profile a block of code and log the time it took to execute.
41
41
  #
42
- # This outputs logs entries to the Puppet masters logging destination
42
+ # This outputs log entries to the OpenVox server's logging destination
43
43
  # providing the time it took, a message describing the profiled code
44
44
  # and a leaf location marking where the profile method was called
45
45
  # in the profiled hierarchy.
@@ -40,7 +40,7 @@ module Puppet::Util::Profiler
40
40
 
41
41
  # Profile a block of code and log the time it took to execute.
42
42
  #
43
- # This outputs logs entries to the Puppet masters logging destination
43
+ # This outputs log entries to the OpenVox server's logging destination
44
44
  # providing the time it took, a message describing the profiled code
45
45
  # and a leaf location marking where the profile method was called
46
46
  # in the profiled hierarchy.
@@ -16,9 +16,12 @@ module Puppet::Util::RDoc
16
16
 
17
17
  r = RDoc::RDoc.new
18
18
 
19
- # specify our own format & where to output
20
- options = ["--fmt", "puppet",
21
- "--quiet",
19
+ # Documentation is rendered by RDoc's default generator using our custom
20
+ # parser. The historical custom "puppet" generator and its HTML template
21
+ # targeted RDoc 1.x and could not be loaded under any supported RDoc; the
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",
22
25
  "--exclude", "/modules/[^/]*/spec/.*$",
23
26
  "--exclude", "/modules/[^/]*/files/.*$",
24
27
  "--exclude", "/modules/[^/]*/tests/.*$",
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Provides utility functions to help interface Puppet to SELinux.
3
+ # Provides utility functions to help interface OpenVox to SELinux.
4
4
  #
5
5
  # This requires the very new SELinux Ruby bindings. These bindings closely
6
6
  # mirror the SELinux C library interface.
@@ -111,7 +111,7 @@ module Puppet::Util::SELinux
111
111
  # This updates the actual SELinux label on the file. You can update
112
112
  # only a single component or update the entire context.
113
113
  # The caveat is that since setting a partial context makes no sense the
114
- # file has to already exist. Puppet (via the File resource) will always
114
+ # file has to already exist. OpenVox (via the File resource) will always
115
115
  # just try to set components, even if all values are specified by the manifest.
116
116
  # I believe that the OS should always provide at least a fall-through context
117
117
  # though on any well-running system.
@@ -123,7 +123,7 @@ module Puppet::Util::SELinux
123
123
  context = Selinux.lgetfilecon(file)[1]
124
124
  if context == -1
125
125
  # We can't set partial context components when no context exists
126
- # unless/until we can find a way to make Puppet call this method
126
+ # unless/until we can find a way to make OpenVox call this method
127
127
  # once for all selinux file label attributes.
128
128
  Puppet.warning _("Can't set SELinux context on file unless the file already has some kind of context")
129
129
  return nil
@@ -157,7 +157,7 @@ module Puppet::Util::SELinux
157
157
 
158
158
  # Since this call relies on get_selinux_default_context it also needs a
159
159
  # full non-relative path to the file. Fortunately, that seems to be all
160
- # Puppet uses. This will set the file's SELinux context to the policy's
160
+ # OpenVox uses. This will set the file's SELinux context to the policy's
161
161
  # default context (if any) if it differs from the context currently on
162
162
  # the file.
163
163
  def set_selinux_default_context(file, resource_ensure = nil)
@@ -178,7 +178,7 @@ module Puppet::Util::SELinux
178
178
  # potential issues when mcstransd is not functional.
179
179
  #
180
180
  # It is not marked private because it is needed by File's
181
- # selcontext.rb, but it is not intended for use outside of Puppet's
181
+ # selcontext.rb, but it is not intended for use outside of OpenVox's
182
182
  # code.
183
183
  #
184
184
  # @param category [String] An selinux category, such as "s0" or "SystemLow"
@@ -1,6 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'set' # rubocop:disable Lint/RedundantRequireStatement
4
3
  require_relative '../../puppet/network/format_support'
5
4
 
6
5
  class Puppet::Util::TagSet < Set
@@ -288,7 +288,7 @@ module Puppet::Util::Windows::ADSI
288
288
  rescue WIN32OLERuntimeError => e
289
289
  # ERROR_BAD_USERNAME 2202L from winerror.h
290
290
  if e.message =~ /8007089A/m
291
- raise Puppet::Error, _("Puppet is not able to create/delete domain %{object_class} objects with the %{object_class} resource.") % { object_class: object_class }
291
+ raise Puppet::Error, _("OpenVox is not able to create/delete domain %{object_class} objects with the %{object_class} resource.") % { object_class: object_class }
292
292
  end
293
293
 
294
294
  raise Puppet::Error.new(_("%{object_class} update failed: %{error}") % { object_class: object_class.capitalize, error: e }, e)
@@ -129,7 +129,7 @@ module Puppet::Util::Windows::COM
129
129
  module Instance
130
130
  def self.[](iface)
131
131
  Class.new(iface) do
132
- send(:include, Helpers)
132
+ include Helpers
133
133
 
134
134
  def initialize(pointer)
135
135
  self.pointer = pointer
@@ -158,7 +158,7 @@ module Puppet::Util::Windows::COM
158
158
  module Factory
159
159
  def self.[](iface, clsid)
160
160
  Class.new(iface) do
161
- send(:include, Helpers)
161
+ include Helpers
162
162
 
163
163
  const_set(:CLSID, clsid)
164
164
 
@@ -3,8 +3,8 @@
3
3
  require 'ffi'
4
4
 
5
5
  # Puppet::Util::Windows::EventLog needs to be requirable without having loaded
6
- # any other parts of Puppet so it can be leveraged independently by the code
7
- # that runs Puppet as a service on Windows.
6
+ # any other parts of OpenVox so it can be leveraged independently by the code
7
+ # that runs OpenVox as a service on Windows.
8
8
  #
9
9
  # For this reason we:
10
10
  # - Define Puppet::Util::Windows
@@ -21,7 +21,7 @@ class Puppet::Util::Windows::EventLog
21
21
  EVENTLOG_INFORMATION_TYPE = 0x0004
22
22
 
23
23
  # These are duplicate definitions from Puppet::Util::Windows::ApiTypes,
24
- # established here so this class can be standalone from Puppet, and public so
24
+ # established here so this class can be standalone from OpenVox, and public so
25
25
  # we can reference them in tests.
26
26
  NULL_HANDLE = 0
27
27
  WIN32_FALSE = 0
@@ -88,7 +88,7 @@ class Puppet::Util::Windows::EventLog
88
88
 
89
89
  # Query event identifier info for a given log level
90
90
  # @param level [Symbol] an event log level
91
- # @return [Array] Win API Event ID, Puppet Event ID
91
+ # @return [Array] Win API Event ID, OpenVox Event ID
92
92
  # @api public
93
93
  def to_native(level)
94
94
  case level
@@ -107,9 +107,9 @@ class Puppet::Util::Windows::EventLog
107
107
  private
108
108
 
109
109
  # For the purposes of allowing this class to be standalone, the following are
110
- # duplicate definitions from elsewhere in Puppet:
110
+ # duplicate definitions from elsewhere in OpenVox:
111
111
 
112
- # If we're loaded via Puppet we should keep the previous behavior of raising
112
+ # If we're loaded via OpenVox we should keep the previous behavior of raising
113
113
  # Puppet::Util::Windows::Error on errors. If we aren't, at least concatenate
114
114
  # the error code to the exception message to pass this information on to the
115
115
  # user
@@ -213,7 +213,7 @@ module Puppet::Util::Windows::File
213
213
  module_function :reparse_point?
214
214
 
215
215
  def symlink?(file_name)
216
- # Puppet currently only handles mount point and symlink reparse points, ignores others
216
+ # OpenVox currently only handles mount point and symlink reparse points, ignores others
217
217
  reparse_point?(file_name) && symlink_reparse_point?(file_name)
218
218
  end
219
219
  module_function :symlink?
@@ -340,7 +340,7 @@ module Puppet::Util::Windows::File
340
340
  end
341
341
  private_class_method :resolve_symlink
342
342
 
343
- # these reparse point types are the only ones Puppet currently understands
343
+ # these reparse point types are the only ones OpenVox currently understands
344
344
  # so rather than raising an exception in readlink, prefer to not consider
345
345
  # the path a symlink when stat'ing later
346
346
  def self.symlink_reparse_point?(path)
@@ -5,7 +5,7 @@
5
5
  #
6
6
  # The primary goal of this mapping is to ensure that owner, group, and
7
7
  # modes can be round-tripped in a consistent and deterministic
8
- # way. Otherwise, Puppet might think file resources are out-of-sync
8
+ # way. Otherwise, OpenVox might think file resources are out-of-sync
9
9
  # every time it runs. A secondary goal is to provide equivalent
10
10
  # permissions for common use-cases. For example, setting the owner to
11
11
  # "Administrators", group to "Users", and mode to 750 (which also
@@ -52,8 +52,8 @@
52
52
  # be mapped into the 3 class POSIX model. The get_mode method will
53
53
  # set the S_IEXTRA bit flag indicating that an access control entry
54
54
  # was found whose SID is neither the owner, group, or other. This
55
- # enables Puppet to detect when file/dirs are out-of-sync,
56
- # especially those that Puppet did not create, but is attempting
55
+ # enables OpenVox to detect when file/dirs are out-of-sync,
56
+ # especially those that OpenVox did not create, but is attempting
57
57
  # to manage.
58
58
  # * A special case of this is S_ISYSTEM_MISSING, which is set when the
59
59
  # SYSTEM permissions are *not* present on the DACL.
data/lib/puppet/util.rb CHANGED
@@ -262,7 +262,7 @@ module Util
262
262
  end
263
263
 
264
264
  # Ruby only sets File::ALT_SEPARATOR on Windows and the Ruby standard
265
- # library uses that to test what platform it's on. Normally in Puppet we
265
+ # library uses that to test what platform it's on. Normally in OpenVox we
266
266
  # would use Puppet.features.microsoft_windows?, but this method needs to
267
267
  # be called during the initialization of features so it can't depend on
268
268
  # that.
@@ -744,7 +744,7 @@ module Util
744
744
  module_function :deterministic_rand_int
745
745
 
746
746
  # Executes a block of code, wrapped around Facter.load_external(false) and
747
- # Facter.load_external(true) which will cause Facter to not evaluate external facts.
747
+ # Facter.load_external(true) which will cause OpenFact to not evaluate external facts.
748
748
  def skip_external_facts
749
749
  return yield unless Puppet.runtime[:facter].load_external?
750
750
 
@@ -2,21 +2,21 @@
2
2
 
3
3
  # The version method and constant are isolated in puppet/version.rb so that a
4
4
  # simple `require 'puppet/version'` allows a rubygems gemspec or bundler
5
- # Gemfile to get the Puppet version of the gem install.
5
+ # Gemfile to get the OpenVox version of the gem install.
6
6
  #
7
7
  # The version can be set programmatically because we want to allow the
8
8
  # Raketasks and such to set the version based on the output of `git describe`
9
9
 
10
10
  module Puppet
11
- PUPPETVERSION = '9.0.0-beta1'
11
+ PUPPETVERSION = '9.0.0-beta2'
12
12
  IMPLEMENTATION = 'openvox'
13
13
 
14
14
  ##
15
15
  # version is a public API method intended to always provide a fast and
16
- # lightweight way to determine the version of Puppet.
16
+ # lightweight way to determine the version of OpenVox.
17
17
  #
18
- # The intent is that software external to Puppet be able to determine the
19
- # Puppet version with no side-effects. The expected use is:
18
+ # The intent is that software external to OpenVox be able to determine the
19
+ # OpenVox version with no side-effects. The expected use is:
20
20
  #
21
21
  # require 'puppet/version'
22
22
  # version = Puppet.version
@@ -40,7 +40,7 @@ module Puppet
40
40
  #
41
41
  # By design the version identifier is _not_ intended to vary during the life
42
42
  # a process. There is no guarantee provided that writing to the VERSION file
43
- # while a Puppet process is running will cause the version string to be
43
+ # while an OpenVox process is running will cause the version string to be
44
44
  # updated. On the contrary, the contents of the VERSION are cached to reduce
45
45
  # filesystem accesses.
46
46
  #
@@ -60,7 +60,7 @@ module Puppet
60
60
  #
61
61
  # @api public
62
62
  #
63
- # @return [String] containing the puppet version, e.g. "3.0.1"
63
+ # @return [String] containing the OpenVox version, e.g. "3.0.1"
64
64
  def self.version
65
65
  version_file = File.join(File.dirname(__FILE__), 'VERSION')
66
66
  return @puppet_version if @puppet_version
@@ -68,7 +68,7 @@ module Puppet
68
68
  @puppet_version = read_version_file(version_file) || PUPPETVERSION
69
69
  end
70
70
 
71
- # @return [String] containing the puppet version to minor specificity, e.g. "3.0"
71
+ # @return [String] containing the OpenVox version to minor specificity, e.g. "3.0"
72
72
  def self.minor_version
73
73
  version.split('.')[0..1].join('.')
74
74
  end
@@ -3,7 +3,7 @@
3
3
  require_relative '../../puppet/x509'
4
4
 
5
5
  # Class for loading and saving cert related objects. By default the provider
6
- # loads and saves based on puppet's default settings, such as `Puppet[:localcacert]`.
6
+ # loads and saves based on OpenVox's default settings, such as `Puppet[:localcacert]`.
7
7
  # The providers sets the permissions on files it saves, such as the private key.
8
8
  # All of the `load_*` methods take an optional `required` parameter. If an object
9
9
  # doesn't exist, then by default the provider returns `nil`. However, if the
data/lib/puppet.rb CHANGED
@@ -23,16 +23,16 @@ require_relative 'puppet/util/run_mode'
23
23
  require_relative 'puppet/gettext/config'
24
24
  require_relative 'puppet/defaults'
25
25
 
26
- # Defines the `Puppet` module. There are different entry points into Puppet
26
+ # Defines the `Puppet` module. There are different entry points into OpenVox
27
27
  # depending on your use case.
28
28
  #
29
- # To use puppet as a library, see {Puppet::Pal}.
29
+ # To use OpenVox as a library, see {Puppet::Pal}.
30
30
  #
31
31
  # To create a new application, see {Puppet::Application}.
32
32
  #
33
33
  # To create a new function, see {Puppet::Functions}.
34
34
  #
35
- # To access puppet's REST APIs, see https://puppet.com/docs/puppet/latest/http_api/http_api_index.html.
35
+ # To access OpenVox's REST APIs, see https://docs.openvoxproject.org/openvox/latest/http_api/http_api_index.html.
36
36
  #
37
37
  # @api public
38
38
  module Puppet
@@ -129,7 +129,7 @@ module Puppet
129
129
  # deprecation warnings. Warn if we're on a deprecated ruby version.
130
130
  # Update JRuby version constraints in PUP-11716
131
131
  if Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new(Puppet::OLDEST_RECOMMENDED_RUBY_VERSION)
132
- Puppet.deprecation_warning(_("Support for ruby version %{version} is deprecated and will be removed in a future release. See https://puppet.com/docs/puppet/latest/system_requirements.html for a list of supported ruby versions.") % { version: RUBY_VERSION })
132
+ Puppet.deprecation_warning(_("Support for ruby version %{version} is deprecated and will be removed in a future release. See https://docs.openvoxproject.org/openvox/latest/system_requirements.html for a list of supported ruby versions.") % { version: RUBY_VERSION })
133
133
  end
134
134
 
135
135
  # Initialize puppet's settings. This is intended only for use by external tools that are not
@@ -139,7 +139,7 @@ module Puppet
139
139
  #
140
140
  # @api public
141
141
  # @param args [Array<String>] the command line arguments to use for initialization
142
- # @param require_config [Boolean] controls loading of Puppet configuration files
142
+ # @param require_config [Boolean] controls loading of OpenVox configuration files
143
143
  # @param global_settings [Boolean] controls push to global context after settings object initialization
144
144
  # @param runtime_implementations [Hash<Symbol, Object>] runtime implementations to register
145
145
  # @return [void]
data/locales/config.yaml CHANGED
@@ -8,13 +8,13 @@ gettext:
8
8
  # This is used in comments in the .pot and .po files to indicate what
9
9
  # project the files belong to and should be a little more descriptive than
10
10
  # <project_name>
11
- package_name: Puppet automation framework
11
+ package_name: OpenVox automation framework
12
12
  # The locale that the default messages in the .pot file are in
13
13
  default_locale: en
14
14
  # The address for sending bug reports.
15
- bugs_address: https://tickets.puppetlabs.com
15
+ bugs_address: https://github.com/OpenVoxProject/openvox/issues
16
16
  # The holder of the copyright.
17
- copyright_holder: Puppet, Inc.
17
+ copyright_holder: Vox Pupuli; portions Copyright (C) 2024 Puppet, Inc.
18
18
  # Patterns for +Dir.glob+ used to find all files that might contain
19
19
  # translatable content, relative to the project root directory
20
20
  source_files: