Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion guides/debugging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ guide: |
specific issues.

documentation:
- https://pup.pt/bolt-troubleshooting
- https://help.puppet.com/bolt/current/topics/troubleshooting.htm
4 changes: 2 additions & 2 deletions guides/inventory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ guide: |
is different than expected.

documentation:
- https://pup.pt/bolt-inventory
- https://pup.pt/bolt-inventory-reference
- https://help.puppet.com/bolt/current/topics/inventory_files.htm
- https://help.puppet.com/bolt/current/topics/inventory_files.htm
12 changes: 6 additions & 6 deletions guides/links.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ guide: |
Bolt documentation https://bolt.guide
Ask a question in #bolt https://slack.puppet.com/
Contribute at https://github.com/puppetlabs/bolt/
Getting Started Guide https://pup.pt/bolt-getting-started
Reference Documentation https://pup.pt/bolt-reference
Troubleshooting Bolt https://pup.pt/bolt-troubleshooting
Bolt Developer Updates https://pup.pt/bolt-dev-updates
Bolt Changelog https://pup.pt/bolt-changelog
Bolt Examples https://pup.pt/bolt-examples
Getting Started Guide https://help.puppet.com/bolt/current/topics/getting_started_with_bolt.htm
Reference Documentation https://help.puppet.com/bolt/current/topics/bolt.htm
Troubleshooting Bolt https://help.puppet.com/bolt/current/topics/troubleshooting.htm
Bolt Developer Updates https://help.puppet.com/bolt/current/topics/changelog.htm
Bolt Changelog https://help.puppet.com/bolt/current/topics/changelog.htm
Bolt Examples https://help.puppet.com/bolt/current/topics/bolt.htm
2 changes: 1 addition & 1 deletion guides/logging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ guide: |
To learn more about projects, see the 'project' guide.

documentation:
- https://pup.pt/bolt-logging
- https://help.puppet.com/bolt/current/topics/configuring_bolt.htm
2 changes: 1 addition & 1 deletion guides/module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ guide: |
To learn how modules are loaded by Bolt, see the 'modulepath' guide.

documentation:
- https://pup.pt/bolt-modules
- https://help.puppet.com/bolt/current/topics/modules.htm
2 changes: 1 addition & 1 deletion guides/modulepath.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ guide: |
To learn more about modules, see the 'module' guide.

documentation:
- https://pup.pt/bolt-project-reference#modulepath
- https://help.puppet.com/bolt/current/topics/projects.htm#modulepath
4 changes: 2 additions & 2 deletions guides/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ guide: |
of a project.

documentation:
- https://pup.pt/bolt-projects
- https://pup.pt/bolt-project-reference
- https://help.puppet.com/bolt/current/topics/projects.htm
- https://help.puppet.com/bolt/current/topics/projects.htm
2 changes: 1 addition & 1 deletion guides/targets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ guide: |
see 'bolt guide inventory'.

documentation:
- https://pup.pt/bolt-commands
- https://help.puppet.com/bolt/current/topics/running_bolt_commands.htm
6 changes: 3 additions & 3 deletions guides/transports.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ guide: |
Bolt uses transports (also known as protocols) to establish a connection
with a target in order to run actions on the target. The default transport is
SSH, and you can see available transports along with their configuration
options and defaults at http://pup.pt/bolt-reference.
options and defaults at https://help.puppet.com/bolt/current/topics/bolt.htm.

You can specify a transport for a target by prepending '<transport>://' to
the target's URI. For example, to connect to a target with hostname
Expand All @@ -18,5 +18,5 @@ guide: |
information about the Bolt inventory, run 'bolt guide inventory'.

documentation:
- https://pup.pt/bolt-commands#specify-a-transport
- http://pup.pt/bolt-inventory#transport-configuration
- https://help.puppet.com/bolt/current/topics/running_bolt_commands.htm
- https://help.puppet.com/bolt/current/topics/inventory_files.htm#transport-configuration
2 changes: 1 addition & 1 deletion lib/bolt/analytics.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def self.load_config(filename)
msg = <<~ANALYTICS
Bolt collects data about how you use it. You can opt out of providing this data.
To learn how to disable data collection, or see what data Bolt collects and why,
see http://pup.pt/bolt-analytics
see https://help.puppet.com/bolt/current/topics/bolt_installing.htm
ANALYTICS
Bolt::Logger.warn_once('analytics_opt_out', msg)
end
Expand Down
48 changes: 24 additions & 24 deletions lib/bolt/bolt_option_parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ module Manage Bolt project modules
Apply Puppet manifest code on the specified targets.

#{colorize(:cyan, 'Documentation')}
For documentation see http://pup.pt/bolt-apply.
For documentation see https://help.puppet.com/bolt/current/topics/applying_manifest_blocks.htm.

#{colorize(:cyan, 'Examples')}
bolt apply manifest.pp -t target
Expand All @@ -258,7 +258,7 @@ module Manage Bolt project modules
Run a command on the specified targets.

#{colorize(:cyan, 'Documentation')}
For documentation see http://pup.pt/bolt-commands.
For documentation see https://help.puppet.com/bolt/current/topics/running_bolt_commands.htm.

#{colorize(:cyan, 'Actions')}
run Run a command on the specified targets.
Expand All @@ -276,7 +276,7 @@ module Manage Bolt project modules
Run a command on the specified targets.

#{colorize(:cyan, 'Documentation')}
For documentation see http://pup.pt/bolt-commands.
For documentation see https://help.puppet.com/bolt/current/topics/running_bolt_commands.htm.

#{colorize(:cyan, 'Examples')}
bolt command run 'uptime' -t target1,target2
Expand All @@ -293,7 +293,7 @@ module Manage Bolt project modules
Copy files and directories between the controller and targets.

#{colorize(:cyan, 'Documentation')}
For documentation see http://pup.pt/bolt-commands.
For documentation see https://help.puppet.com/bolt/current/topics/running_bolt_commands.htm.

#{colorize(:cyan, 'Actions')}
download Download a file or directory to the controller
Expand All @@ -317,7 +317,7 @@ module Manage Bolt project modules
subdirectory of the project directory.

#{colorize(:cyan, 'Documentation')}
For documentation see http://pup.pt/bolt-commands.
For documentation see https://help.puppet.com/bolt/current/topics/running_bolt_commands.htm.

#{colorize(:cyan, 'Examples')}
bolt file download /etc/ssh_config ssh_config -t all
Expand All @@ -335,7 +335,7 @@ module Manage Bolt project modules
Upload a local file or directory.

#{colorize(:cyan, 'Documentation')}
For documentation see http://pup.pt/bolt-commands.
For documentation see https://help.puppet.com/bolt/current/topics/running_bolt_commands.htm.

#{colorize(:cyan, 'Examples')}
bolt file upload /tmp/source /etc/profile.d/login.sh -t target1
Expand Down Expand Up @@ -440,7 +440,7 @@ module Manage Bolt project modules
Look up a value with Hiera.

#{colorize(:cyan, 'Documentation')}
Learn more about using Hiera with Bolt at https://pup.pt/bolt-hiera.
Learn more about using Hiera with Bolt at https://help.puppet.com/bolt/current/topics/hiera.htm.

#{colorize(:cyan, 'Examples')}
bolt lookup password --targets servers
Expand Down Expand Up @@ -546,7 +546,7 @@ module show
Convert, create, show, and run Bolt plans.

#{colorize(:cyan, 'Documentation')}
Learn more about Bolt plans at https://pup.pt/bolt-plans.
Learn more about Bolt plans at https://help.puppet.com/bolt/current/topics/plans.htm.

#{colorize(:cyan, 'Actions')}
convert Convert a YAML plan to a Bolt plan
Expand All @@ -571,7 +571,7 @@ module show
functionality. Note that the converted plan is not written to a file.

#{colorize(:cyan, 'Documentation')}
Learn more about Bolt plans at https://pup.pt/bolt-plans.
Learn more about Bolt plans at https://help.puppet.com/bolt/current/topics/plans.htm.

#{colorize(:cyan, 'Examples')}
bolt plan convert myproject::myplan
Expand All @@ -589,7 +589,7 @@ module show
Create a new plan in the current project.

#{colorize(:cyan, 'Documentation')}
Learn more about Bolt plans at https://pup.pt/bolt-plans.
Learn more about Bolt plans at https://help.puppet.com/bolt/current/topics/plans.htm.

#{colorize(:cyan, 'Examples')}
bolt plan new myproject::myplan
Expand All @@ -606,7 +606,7 @@ module show
Run a plan on the specified targets.

#{colorize(:cyan, 'Documentation')}
Learn more about Bolt plans at https://pup.pt/bolt-plans.
Learn more about Bolt plans at https://help.puppet.com/bolt/current/topics/plans.htm.

#{colorize(:cyan, 'Examples')}
bolt plan run canary --targets target1,target2 command=hostname
Expand All @@ -629,7 +629,7 @@ module show
the plan, including a list of available parameters.

#{colorize(:cyan, 'Documentation')}
Learn more about Bolt plans at https://pup.pt/bolt-plans.
Learn more about Bolt plans at https://help.puppet.com/bolt/current/topics/plans.htm.

#{colorize(:cyan, 'Examples')}
Display a list of available plans
Expand All @@ -649,7 +649,7 @@ module show
Show available plugins.

#{colorize(:cyan, 'Documentation')}
Learn more about Bolt plugins at https://pup.pt/bolt-plugins.
Learn more about Bolt plugins at https://help.puppet.com/bolt/current/topics/using_plugins.htm.

#{colorize(:cyan, 'Actions')}
show Show available plugins
Expand All @@ -666,7 +666,7 @@ module show
Show available plugins.

#{colorize(:cyan, 'Documentation')}
Learn more about Bolt plugins at https://pup.pt/bolt-plugins.
Learn more about Bolt plugins at https://help.puppet.com/bolt/current/topics/using_plugins.htm.
HELP

POLICY_HELP = <<~HELP
Expand Down Expand Up @@ -786,7 +786,7 @@ module show
Run a script on the specified targets.

#{colorize(:cyan, 'Documentation')}
Learn more about running scripts at https://pup.pt/bolt-commands.
Learn more about running scripts at https://help.puppet.com/bolt/current/topics/running_bolt_commands.htm.

#{colorize(:cyan, 'Actions')}
run Run a script on the specified targets.
Expand All @@ -808,7 +808,7 @@ module show
be quoted.

#{colorize(:cyan, 'Documentation')}
Learn more about running scripts at https://pup.pt/bolt-commands.
Learn more about running scripts at https://help.puppet.com/bolt/current/topics/running_bolt_commands.htm.

#{colorize(:cyan, 'Examples')}
bolt script run myscript.sh 'echo hello' --targets target1,target2
Expand All @@ -825,7 +825,7 @@ module show
Create encryption keys and encrypt and decrypt values.

#{colorize(:cyan, 'Documentation')}
Learn more about secrets plugins at http://pup.pt/bolt-plugins.
Learn more about secrets plugins at https://help.puppet.com/bolt/current/topics/using_plugins.htm.

#{colorize(:cyan, 'Actions')}
createkeys Create new encryption keys
Expand All @@ -844,7 +844,7 @@ module show
Create new encryption keys.

#{colorize(:cyan, 'Documentation')}
Learn more about secrets plugins at http://pup.pt/bolt-plugins.
Learn more about secrets plugins at https://help.puppet.com/bolt/current/topics/using_plugins.htm.
HELP

SECRET_DECRYPT_HELP = <<~HELP
Expand All @@ -858,7 +858,7 @@ module show
Decrypt a value.

#{colorize(:cyan, 'Documentation')}
Learn more about secrets plugins at http://pup.pt/bolt-plugins.
Learn more about secrets plugins at https://help.puppet.com/bolt/current/topics/using_plugins.htm.
HELP

SECRET_ENCRYPT_HELP = <<~HELP
Expand All @@ -872,7 +872,7 @@ module show
Encrypt a value.

#{colorize(:cyan, 'Documentation')}
Learn more about secrets plugins at http://pup.pt/bolt-plugins.
Learn more about secrets plugins at https://help.puppet.com/bolt/current/topics/using_plugins.htm.
HELP

TASK_HELP = <<~HELP
Expand All @@ -886,7 +886,7 @@ module show
Show and run Bolt tasks.

#{colorize(:cyan, 'Documentation')}
Learn more about Bolt tasks at http://pup.pt/bolt-tasks.
Learn more about Bolt tasks at https://help.puppet.com/bolt/current/topics/bolt_tasks.htm.

#{colorize(:cyan, 'Actions')}
run Run a Bolt task
Expand All @@ -907,7 +907,7 @@ module show
Parameters take the form parameter=value.

#{colorize(:cyan, 'Documentation')}
Learn more about Bolt tasks at http://pup.pt/bolt-tasks.
Learn more about Bolt tasks at https://help.puppet.com/bolt/current/topics/bolt_tasks.htm.

#{colorize(:cyan, 'Examples')}
bolt task run package --targets target1,target2 action=status name=bash
Expand All @@ -930,7 +930,7 @@ module show
the task, including a list of available parameters.

#{colorize(:cyan, 'Documentation')}
Learn more about Bolt tasks at http://pup.pt/bolt-tasks.
Learn more about Bolt tasks at https://help.puppet.com/bolt/current/topics/bolt_tasks.htm.

#{colorize(:cyan, 'Examples')}
Display a list of available tasks
Expand Down Expand Up @@ -1119,7 +1119,7 @@ def initialize(options)
if File.exist?(path) || Pathname.new(path).absolute? ||
!%w[scripts files].include?(path.split(File::SEPARATOR)[1])
raise Bolt::CLIError, "The script must be a detailed Puppet file reference, " \
"for example 'mymodule/scripts/myscript.sh'. See http://pup.pt/bolt-scripts for " \
"for example 'mymodule/scripts/myscript.sh'. See https://help.puppet.com/bolt/current/topics/running_bolt_commands.htm for " \
"more information on detailed Puppet file references."
end

Expand Down
2 changes: 1 addition & 1 deletion lib/bolt/config/options.rb
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ module Options
description: "A list of module dependencies for the project. Each dependency is a map of data specifying "\
"the module to install. To install the project's module dependencies, run the `bolt module "\
"install` command. For more information about specifying modules, see [the "\
"documentation](https://pup.pt/bolt-module-specs).",
"documentation](https://help.puppet.com/bolt/current/topics/bolt_installing_modules.htm).",
type: Array,
items: {
type: [Hash, String],
Expand Down
2 changes: 1 addition & 1 deletion lib/bolt/inventory/options.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ module Options
"plugin_hooks" => {
description: "Configuration for the Puppet library plugin used to install the "\
"Puppet agent on the target. For more information, see "\
"https://pup.pt/bolt-plugin-hooks",
"https://help.puppet.com/bolt/current/topics/using_plugins.htm",
type: Hash,
properties: {
"puppet_library" => {
Expand Down
2 changes: 1 addition & 1 deletion lib/bolt/inventory/target.rb
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def validate
'dotted_fact_name',
"Target '#{safe_name}' includes dotted fact names: '#{dotted.join("', '")}'. Dotted fact "\
"names are deprecated and Bolt does not automatically convert facts with dotted names to "\
"structured facts. For more information, see https://pup.pt/bolt-dotted-facts"
"structured facts. For more information, see https://help.puppet.com/bolt/current/topics/inventory_files.htm"
)
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/bolt/module_installer/puppetfile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def write(path, moduledir = nil)
File.open(path, 'w') do |file|
if moduledir
file.puts "# This Puppetfile is managed by Bolt. Do not edit."
file.puts "# For more information, see https://pup.pt/bolt-modules"
file.puts "# For more information, see https://help.puppet.com/bolt/current/topics/modules.htm"
file.puts
file.puts "# The following directive installs modules to the managed moduledir."
file.puts "moduledir '#{moduledir.basename}'"
Expand Down
2 changes: 1 addition & 1 deletion lib/bolt/module_installer/specs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def add_specs(*specs)
Invalid module specification:
#{hash.to_yaml.lines.drop(1).join.chomp}

To read more about specifying modules, see https://pup.pt/bolt-module-specs
To read more about specifying modules, see https://help.puppet.com/bolt/current/topics/bolt_installing_modules.htm
MESSAGE
end

Expand Down
2 changes: 1 addition & 1 deletion lib/bolt/outputter/human.rb
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ def print_plugin_list(plugins:, modulepath:)
info << indent(2, "#{modulepath.join(File::PATH_SEPARATOR)}\n\n")

info << colorize(:cyan, "Additional information\n")
info << indent(2, "For more information about using plugins see https://pup.pt/bolt-plugins")
info << indent(2, "For more information about using plugins see https://help.puppet.com/bolt/current/topics/using_plugins.htm")

@stream.puts info.chomp
end
Expand Down
8 changes: 4 additions & 4 deletions lib/bolt/plan_creator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def self.segment_plan_name(plan_name)
private_class_method def self.yaml_plan(plan_name)
<<~YAML
# This is the structure of a simple plan. To learn more about writing
# YAML plans, see the documentation: http://pup.pt/bolt-yaml-plans
# YAML plans, see the documentation: https://help.puppet.com/bolt/current/topics/writing_yaml_plans.htm

# The description sets the description of the plan that will appear
# in 'bolt plan show' output.
Expand Down Expand Up @@ -145,7 +145,7 @@ def self.segment_plan_name(plan_name)
private_class_method def self.yaml_script_plan(script)
<<~YAML
# This is the structure of a simple plan. To learn more about writing
# YAML plans, see the documentation: http://pup.pt/bolt-yaml-plans
# YAML plans, see the documentation: https://help.puppet.com/bolt/current/topics/writing_yaml_plans.htm

# The description sets the description of the plan that will appear
# in 'bolt plan show' output.
Expand Down Expand Up @@ -176,7 +176,7 @@ def self.segment_plan_name(plan_name)
private_class_method def self.puppet_plan(plan_name)
<<~PUPPET
# This is the structure of a simple plan. To learn more about writing
# Puppet plans, see the documentation: http://pup.pt/bolt-puppet-plans
# Puppet plans, see the documentation: https://help.puppet.com/bolt/current/topics/writing_plans.htm

# The summary sets the description of the plan that will appear
# in 'bolt plan show' output. Bolt uses puppet-strings to parse the
Expand All @@ -201,7 +201,7 @@ def self.segment_plan_name(plan_name)
private_class_method def self.puppet_script_plan(plan_name, script)
<<~PUPPET
# This is the structure of a simple plan. To learn more about writing
# Puppet plans, see the documentation: http://pup.pt/bolt-puppet-plans
# Puppet plans, see the documentation: https://help.puppet.com/bolt/current/topics/writing_plans.htm

# The summary sets the description of the plan that will appear
# in 'bolt plan show' output. Bolt uses puppet-strings to parse the
Expand Down
Loading