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 +4 -4
- data/Puppetfile +4 -4
- data/bolt-modules/boltlib/lib/puppet/functions/apply_prep.rb +3 -3
- data/bolt-modules/boltlib/lib/puppet/functions/get_resources.rb +1 -1
- data/lib/bolt/config/options.rb +3 -1
- data/lib/bolt/pal.rb +1 -1
- data/lib/bolt/plugin.rb +1 -1
- data/lib/bolt/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0e74b9e63937ae058968da0c60541d3cae344562016f669e086ea700bfee3965
|
|
4
|
+
data.tar.gz: eb99991557140aaecc0e4e357bbb1965b525d70482fc73313ce2d27efe90da7b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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 '
|
|
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', '
|
|
14
|
+
mod 'puppetlabs-apt', '11.1.0'
|
|
15
15
|
mod 'puppetlabs-stdlib', '9.7.0'
|
|
16
|
-
mod 'puppetlabs-powershell', '6.0
|
|
17
|
-
mod 'puppetlabs-pwshlib', '
|
|
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 `
|
|
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
|
-
# `
|
|
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
|
|
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 `
|
|
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
|
#
|
data/lib/bolt/config/options.rb
CHANGED
|
@@ -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
|
-
"[`
|
|
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
|
|
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' => '
|
|
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