openbolt 5.5.0 → 5.6.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: af114a7662dadfeb0b7a3b93bade87bd679b4d555c718ef9de2782327fb72f94
4
- data.tar.gz: 212b616948e0e548f821576db50971c21ad9f9e5e9a84d9e676542078ea623d3
3
+ metadata.gz: c5d6647a2e9293dcfa5e980643d19bb67764ace9cf6832bb0928e82e15ee8f42
4
+ data.tar.gz: 4731f17b8df92c12cfc582b9952c0c0d19582854aeb9e8cf05193962cff5f542
5
5
  SHA512:
6
- metadata.gz: 9a85395239d2b5de8adc4d538bf0860139ee0585c3880d8ea6ccb46a840fa0ee6371e58ce17feb2cc171b5fc47cddeabd284adedcbb3abd60675951b1b5e0169
7
- data.tar.gz: f42f2da1b4ea78080c3790e2165be94105bb7a9ad9c5a16b2702f5511a8f6e9f8893c781f9fe2c63e65b3987819576ccd2e4e1b89b13e13bb7386e6d5708ed94
6
+ metadata.gz: d99ea67f58ae861d512f56573fa76c6b14d05f833843c7513697b5d7311c6ef712132a28ebf5919b0a45b51f51d9b4a1cad6261aefb7e85139b00eb2a7be24d1
7
+ data.tar.gz: 8ff49e9017d8a9a4870e2854a221420aaf1f1750693cd6940ad9f32041093d08a31a756d6584ef85fc26a3506208fceb829f40f6821b0424bcafba1088e68544
data/Puppetfile CHANGED
@@ -10,8 +10,8 @@ mod 'puppet-openvox_bootstrap', '1.4.0'
10
10
  mod 'puppetlabs-facts', '1.7.0'
11
11
 
12
12
  # Other core Puppet modules
13
- mod 'puppetlabs-inifile', '6.3.1'
14
- mod 'puppetlabs-apt', '11.2.0'
13
+ mod 'puppetlabs-inifile', '6.4.0'
14
+ mod 'puppetlabs-apt', '11.3.1'
15
15
  mod 'puppetlabs-stdlib', '9.7.0'
16
16
  mod 'puppetlabs-powershell', '6.1.0'
17
17
  mod 'puppetlabs-pwshlib', '2.0.1'
@@ -42,13 +42,13 @@ mod 'puppetlabs-bash_task_helper', '2.2.0'
42
42
 
43
43
  # Plugin modules
44
44
  mod 'puppetlabs-aws_inventory', '0.7.0'
45
- mod 'puppetlabs-azure_inventory', '0.5.0'
46
- mod 'puppetlabs-gcloud_inventory', '0.3.0'
47
- mod 'puppetlabs-http_request', '0.3.1'
45
+ mod 'puppetlabs-azure_inventory', '0.5.1'
46
+ mod 'puppetlabs-gcloud_inventory', '0.3.1'
47
+ mod 'puppetlabs-http_request', '0.3.2'
48
48
  mod 'puppetlabs-pkcs7', '0.1.2'
49
49
  mod 'puppetlabs-secure_env_vars', '0.2.0'
50
- mod 'puppetlabs-terraform', '0.7.1'
51
- mod 'puppetlabs-vault', '0.4.0'
50
+ mod 'puppetlabs-terraform', '0.7.2'
51
+ mod 'puppetlabs-vault', '0.4.1'
52
52
  mod 'puppetlabs-yaml', '0.2.0'
53
53
 
54
54
  # If we don't list these modules explicitly, r10k will purge them
@@ -11,7 +11,7 @@
11
11
  # The target's facts. This function does not look up facts for a target and
12
12
  # only returns the facts specified in an `inventory.yaml` file or set on a
13
13
  # target during a plan run. To retrieve facts for a target and set them in
14
- # inventory, run the [facts](writing_plans.md#collect-facts-from-targets)
14
+ # inventory, run the [facts](writing_plans.md#collect-facts-from-the-targets)
15
15
  # plan or [puppetdb_fact](writing_plans.md#collect-facts-from-puppetdb)
16
16
  # plan.
17
17
  # @param features
@@ -20,7 +20,7 @@
20
20
  # The target's human-readable name, or its URI if a name was not given.
21
21
  # @param plugin_hooks
22
22
  # The target's `plugin_hooks` [configuration
23
- # options](bolt_inventory_reference.md#plugin-hooks-1).
23
+ # options](bolt_inventory_reference.md#plugin_hooks-1).
24
24
  # @param resources
25
25
  # The target's resources. This function does not look up resources for a
26
26
  # target and only returns resources set on a target during a plan run.
@@ -7,7 +7,7 @@ require 'bolt/error'
7
7
  # Using the `facts` function does not automatically collect facts for a target,
8
8
  # and will only return facts that are currently set in the inventory. To collect
9
9
  # facts from a target and set them in the inventory, run the
10
- # [facts](writing_plans.md#collect-facts-from-targets) plan or
10
+ # [facts](writing_plans.md#collect-facts-from-the-targets) plan or
11
11
  # [puppetdb_fact](writing_plans.md#collect-facts-from-puppetdb) plan.
12
12
  Puppet::Functions.create_function(:facts) do
13
13
  # @param target A target.
@@ -148,10 +148,8 @@ module Bolt
148
148
 
149
149
  # Show available guides.
150
150
  #
151
- # @param guides [Hash] A map of topics to paths to guides.
152
- # @param outputter [Bolt::Outputter] An outputter instance.
153
- # @return [Boolean]
154
- #
151
+ # @return [Hash] A map of topics of guides
152
+ # Currently, the map is structured as `:topics => [Array] of guide names`
155
153
  def list_guides
156
154
  { topics: load_guides.keys }
157
155
  end
@@ -436,10 +436,10 @@ module Bolt
436
436
  _example: ["myproject", "myproject::foo", "myproject::bar", "myproject::deploy::*"]
437
437
  },
438
438
  "plugin-hooks" => {
439
- description: "A map of [plugin hooks](writing_plugins.md#hooks) and which plugins a hook should use. " \
439
+ description: "A map of [plugin hooks](writing_plugins.md#plugin-hooks) and which plugins a hook should use. " \
440
440
  "The only configurable plugin hook is `puppet_library`, which can use two possible plugins: " \
441
441
  "[`openvox_bootstrap`](https://github.com/voxpupuli/puppet-openvox_bootstrap#openvox_boostrapinstall) " \
442
- "and [`task`](using_plugins.md#task).",
442
+ "and [`task`](supported_plugins.md#task).",
443
443
  type: Hash,
444
444
  _plugin: true,
445
445
  _example: { "puppet_library" => { "plugin" => "openvox_bootstrap", "version" => "1.2.0",
@@ -486,7 +486,7 @@ module Bolt
486
486
  #
487
487
  # @param topics [Array] The available topics.
488
488
  #
489
- def print_topics(topics:, **_kwargs)
489
+ def print_topics(topics:)
490
490
  info = +"#{colorize(:cyan, 'Topics')}\n"
491
491
  info << indent(2, topics.join("\n"))
492
492
  info << "\n\n#{colorize(:cyan, 'Additional information')}\n"
@@ -122,8 +122,8 @@ module Bolt
122
122
  #
123
123
  # @param topics [Array] The available topics.
124
124
  #
125
- def print_topics(**kwargs)
126
- print_table(kwargs)
125
+ def print_topics(topics:)
126
+ print_table({ topics: topics })
127
127
  end
128
128
 
129
129
  # Print the guide for the specified topic.
@@ -104,7 +104,11 @@ module Bolt
104
104
  @stream.puts colorize(:rainbow, guide)
105
105
  end
106
106
 
107
- def print_topics(topics)
107
+ # Print available guide topics.
108
+ #
109
+ # @param topics [Array] The available topics.
110
+ #
111
+ def print_topics(topics:)
108
112
  content = String.new("Available topics are:\n")
109
113
  content += topics.join("\n")
110
114
  content += "\n\nUse `bolt guide <topic>` to view a specific guide."
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.5.0'
4
+ VERSION = '5.6.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.5.0
4
+ version: 5.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenVox Project
@@ -137,16 +137,22 @@ dependencies:
137
137
  name: jwt
138
138
  requirement: !ruby/object:Gem::Requirement
139
139
  requirements:
140
- - - "~>"
140
+ - - ">="
141
141
  - !ruby/object:Gem::Version
142
142
  version: '2.2'
143
+ - - "<"
144
+ - !ruby/object:Gem::Version
145
+ version: '4.0'
143
146
  type: :runtime
144
147
  prerelease: false
145
148
  version_requirements: !ruby/object:Gem::Requirement
146
149
  requirements:
147
- - - "~>"
150
+ - - ">="
148
151
  - !ruby/object:Gem::Version
149
152
  version: '2.2'
153
+ - - "<"
154
+ - !ruby/object:Gem::Version
155
+ version: '4.0'
150
156
  - !ruby/object:Gem::Dependency
151
157
  name: logging
152
158
  requirement: !ruby/object:Gem::Requirement
@@ -736,7 +742,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
736
742
  - !ruby/object:Gem::Version
737
743
  version: '0'
738
744
  requirements: []
739
- rubygems_version: 4.0.6
745
+ rubygems_version: 4.0.10
740
746
  specification_version: 4
741
747
  summary: Execute commands remotely over SSH and WinRM
742
748
  test_files: []