openbolt 5.1.0 → 5.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
  SHA256:
3
- metadata.gz: 16adee6f2ee63ca8307251e4c21172c2b5757abb858fde6b785a4ad95ae682dd
4
- data.tar.gz: 1d27c4966b88c572fa32e7ad576e575c2f8df15c42fb154740d001648b8d33c9
3
+ metadata.gz: 0e74b9e63937ae058968da0c60541d3cae344562016f669e086ea700bfee3965
4
+ data.tar.gz: eb99991557140aaecc0e4e357bbb1965b525d70482fc73313ce2d27efe90da7b
5
5
  SHA512:
6
- metadata.gz: 51f3c418134ed410ae9b853ca94dda21101e0f1e53466f6b3152ee39cbc0d743250eab910e5791ebc0014a53b18a84bfa48e8606d5755fc606b103735cd43609
7
- data.tar.gz: 5e4bf2586950d1268c7c69ca4d14b0be64b12c2db6f5279622773f185c6fb8674d02a24486c1ea1148e2bbce32655c3de318e19cf011c179fbbae31259a8964a
6
+ metadata.gz: 526167caf4b75c6c7d4ba08209cb42cae412f89c1593ea5cfd99acd2b172bffc991b8c197532e692f60cf047078251f218078ddbe72a92f9323043bdbcfa1afa
7
+ data.tar.gz: b0646851b4d375604eef1ca1a55856f66a1bf2d8b71de31e1b878bf642a6956704c428a2524061e8cad56c293202aa36dfe5f7d7b807511ef0b538796bbbe8dd
data/Puppetfile CHANGED
@@ -6,15 +6,15 @@ moduledir File.join(File.dirname(__FILE__), 'modules')
6
6
 
7
7
  # Core modules used by 'apply'
8
8
  mod 'puppetlabs-service', '3.1.0'
9
- mod 'puppetlabs-puppet_agent', '4.25.0'
9
+ mod 'puppet-openvox_bootstrap', '1.2.0'
10
10
  mod 'puppetlabs-facts', '1.7.0'
11
11
 
12
12
  # puppetlabs-puppet_agent deps
13
13
  mod 'puppetlabs-inifile', '6.2.0'
14
- mod 'puppetlabs-apt', '10.0.1'
14
+ mod 'puppetlabs-apt', '11.1.0'
15
15
  mod 'puppetlabs-stdlib', '9.7.0'
16
- mod 'puppetlabs-powershell', '6.0.2'
17
- mod 'puppetlabs-pwshlib', '1.2.3'
16
+ mod 'puppetlabs-powershell', '6.1.0'
17
+ mod 'puppetlabs-pwshlib', '2.0.0'
18
18
 
19
19
  # Core types and providers for Puppet 6
20
20
  mod 'puppetlabs-augeas_core', '1.5.0'
@@ -3,13 +3,13 @@
3
3
  require 'bolt/logger'
4
4
  require 'bolt/task'
5
5
 
6
- # Installs the `puppet-agent` package on targets if needed, then collects facts,
6
+ # Installs the `openvox-agent` package on targets if needed, then collects facts,
7
7
  # including any custom facts found in Bolt's module path. The package is
8
8
  # installed using either the configured plugin or the `task` plugin with the
9
- # `puppet_agent::install` task.
9
+ # `openvox_bootstrap::install` task.
10
10
  #
11
11
  # Agent installation will be skipped if the target includes the `puppet-agent`
12
- # feature, either as a property of its transport (PCP) or by explicitly setting
12
+ # feature, either as a property of its transport or by explicitly setting
13
13
  # it as a feature in Bolt's inventory.
14
14
  #
15
15
  # > **Note:** Not available in apply block
@@ -6,7 +6,7 @@ require 'bolt/task'
6
6
  # The results are returned as a list of hashes representing each resource.
7
7
  #
8
8
  # Requires the Puppet Agent be installed on the target, which can be accomplished with apply_prep
9
- # or by directly running the `puppet_agent::install` task. In order to be able to reference types without
9
+ # or by directly running the `openvox_bootstrap::install` task. In order to be able to reference types without
10
10
  # string quoting (for example `get_resources($target, Package)` instead of `get_resources($target, 'Package')`),
11
11
  # run the command `bolt puppetfile generate-types` to generate type references in `$Boldir/.resource_types`.
12
12
  #
@@ -428,10 +428,12 @@ module Bolt
428
428
  _example: ["myproject", "myproject::foo", "myproject::bar", "myproject::deploy::*"]
429
429
  },
430
430
  "plugin-hooks" => {
431
+ # rubocop:disable Layout/LineLength
431
432
  description: "A map of [plugin hooks](writing_plugins.md#hooks) and which plugins a hook should use. " \
432
433
  "The only configurable plugin hook is `puppet_library`, which can use two possible plugins: " \
433
- "[`puppet_agent`](https://github.com/puppetlabs/puppetlabs-puppet_agent#puppet_agentinstall) " \
434
+ "[`openvox_bootstrap`](https://github.com/voxpupuli/puppet-openvox_bootstrap#openvox_boostrapinstall) " \
434
435
  "and [`task`](using_plugins.md#task).",
436
+ # rubocop:enable Layout/LineLength
435
437
  type: Hash,
436
438
  _plugin: true,
437
439
  _example: { "puppet_library" => { "plugin" => "puppet_agent", "version" => "6.15.0", "_run_as" => "root" } }
data/lib/bolt/pal.rb CHANGED
@@ -795,7 +795,7 @@ module Bolt
795
795
  end
796
796
 
797
797
  def lookup(key, targets, inventory, executor, plan_vars: {})
798
- # Install the puppet-agent package and collect facts. Facts are
798
+ # Install the openvox-agent package and collect facts. Facts are
799
799
  # automatically added to the targets.
800
800
  in_plan_compiler(executor, inventory, nil) do |compiler|
801
801
  compiler.call_function('apply_prep', targets)
data/lib/bolt/plugin.rb CHANGED
@@ -130,7 +130,7 @@ module Bolt
130
130
  RUBY_PLUGINS = %w[task prompt env_var puppetdb puppet_connect_data].freeze
131
131
  BUILTIN_PLUGINS = %w[task terraform pkcs7 prompt vault aws_inventory puppetdb azure_inventory
132
132
  yaml env_var gcloud_inventory].freeze
133
- DEFAULT_PLUGIN_HOOKS = { 'puppet_library' => { 'plugin' => 'puppet_agent', 'stop_service' => true } }.freeze
133
+ DEFAULT_PLUGIN_HOOKS = { 'puppet_library' => { 'plugin' => 'openvox_bootstrap', 'stop_service' => true } }.freeze
134
134
 
135
135
  attr_reader :pal, :plugin_context
136
136
  attr_writer :plugin_hooks
data/lib/bolt/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bolt
4
- VERSION = '5.1.0'
4
+ VERSION = '5.2.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openbolt
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.0
4
+ version: 5.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenVox Project