Skip to content

Commit

Permalink
(docs) Update URLs pointed to bad redirects.
Browse files Browse the repository at this point in the history
  • Loading branch information
gguillotte committed May 9, 2018
1 parent e886e3e commit 92c6d5b
Show file tree
Hide file tree
Showing 13 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -18,7 +18,7 @@ Documentation for Puppet and related projects can be found online at the

HTTP API
--------
[HTTP API Index](https://puppet.com/docs/puppet/5.4/http_api/http_api_index.html)
[HTTP API Index](https://puppet.com/docs/puppet/5.5/http_api/http_api_index.html)

Installation
------------
Expand All @@ -28,7 +28,7 @@ which also includes orchestration features, a web console, and professional supp
The PE documentation is [available here.](https://puppet.com/docs/pe/latest)

To install an open source release of Puppet,
[see the installation guide on the docs site.](http://puppet.com/docs/puppet/5.4/install_pre.html)
[see the installation guide on the docs site.](https://puppet.com/docs/puppet/5.5/install_pre.html)

If you need to run Puppet from source as a tester or developer,
see the [Running Puppet from Source](https://docs.puppet.com/puppet/3.8/from_source.html) guide on the docs site.
Expand Down
2 changes: 1 addition & 1 deletion ext/README.environment
Expand Up @@ -5,4 +5,4 @@ modules that are installed globally (normally in /etc/puppetlabs/code/modules) f
puppet master.

For more information see
https://puppet.com/docs/puppet/latest/environments.html
https://puppet.com/docs/puppet/latest/environments_about.html
2 changes: 1 addition & 1 deletion ext/hiera/hiera.yaml
Expand Up @@ -4,7 +4,7 @@ defaults:
# The default value for "datadir" is "data" under the same directory as the hiera.yaml
# file (this file)
# When specifying a datadir, make sure the directory exists.
# See https://puppet.com/docs/puppet/latest/environments.html for further details on environments.
# See https://puppet.com/docs/puppet/latest/environments_about.html for further details on environments.
# datadir: data
# data_hash: yaml_data
hierarchy:
Expand Down
10 changes: 5 additions & 5 deletions lib/puppet/defaults.rb
Expand Up @@ -352,7 +352,7 @@ def self.valid_file_checksum_types
This setting must have a value set to enable **directory environments.** The
recommended value is `$codedir/environments`. For more details, see
<https://puppet.com/docs/puppet/latest/environments.html>",
<https://puppet.com/docs/puppet/latest/environments_about.html>",
:type => :path,
},
:always_retry_plugins => {
Expand Down Expand Up @@ -1157,7 +1157,7 @@ def self.valid_file_checksum_types
directory environments instead. If you need to use something other than the
environment's `manifests` directory as the main manifest, you can set
`manifest` in environment.conf. For more info, see
<https://puppet.com/docs/puppet/latest/environments.html>",
<https://puppet.com/docs/puppet/latest/environments_about.html>",
},
:modulepath => {
:default => "",
Expand All @@ -1171,7 +1171,7 @@ def self.valid_file_checksum_types
directory environments instead. If you need to use something other than the
default modulepath of `<ACTIVE ENVIRONMENT'S MODULES DIR>:$basemodulepath`,
you can set `modulepath` in environment.conf. For more info, see
<https://puppet.com/docs/puppet/latest/environments.html>",
<https://puppet.com/docs/puppet/latest/environments_about.html>",
},
:config_version => {
:default => "",
Expand All @@ -1183,7 +1183,7 @@ def self.valid_file_checksum_types
Setting a global value for config_version in puppet.conf is not allowed
(but it can be overridden from the commandline). Please set a
per-environment value in environment.conf instead. For more info, see
<https://puppet.com/docs/puppet/latest/environments.html>",
<https://puppet.com/docs/puppet/latest/environments_about.html>",
}
)

Expand Down Expand Up @@ -1295,7 +1295,7 @@ def self.valid_file_checksum_types
These are the modules that will be used by _all_ environments. Note that
the `modules` directory of the active environment will have priority over
any global directories. For more info, see
<https://puppet.com/docs/puppet/latest/environments.html>",
<https://puppet.com/docs/puppet/latest/environments_about.html>",
},
:ssl_client_header => {
:default => "HTTP_X_CLIENT_DN",
Expand Down
2 changes: 1 addition & 1 deletion lib/puppet/functions/all.rb
@@ -1,4 +1,4 @@
# Runs a [lambda](http://puppet.com/docs/puppet/latest/lang_lambdas.html)
# Runs a [lambda](https://puppet.com/docs/puppet/latest/lang_lambdas.html)
# repeatedly using each value in a data structure until the lambda returns a non "truthy" value which
# makes the function return `false`, or if the end of the iteration is reached, `true` is returned.
#
Expand Down
2 changes: 1 addition & 1 deletion lib/puppet/functions/any.rb
@@ -1,4 +1,4 @@
# Runs a [lambda](http://puppet.com/docs/puppet/latest/lang_lambdas.html)
# Runs a [lambda](https://puppet.com/docs/puppet/latest/lang_lambdas.html)
# repeatedly using each value in a data structure until the lambda returns a "truthy" value which
# makes the function return `true`, or if the end of the iteration is reached, false is returned.
#
Expand Down
4 changes: 2 additions & 2 deletions lib/puppet/functions/hiera.rb
Expand Up @@ -76,9 +76,9 @@
# above, Hiera matches the 'users' key and returns it as a hash.
#
# See
# [the 'Using the lookup function' documentation](https://puppet.com/docs/puppet/latest/hiera_use_function.html) for how to perform lookup of data.
# [the 'Using the lookup function' documentation](https://puppet.com/docs/puppet/latest/hiera_automatic.html) for how to perform lookup of data.
# Also see
# [the 'Using the deprecated hiera functions' documentation](https://puppet.com/docs/puppet/latest/hiera_use_hiera_functions.html)
# [the 'Using the deprecated hiera functions' documentation](https://puppet.com/docs/puppet/latest/hiera_automatic.html)
# for more information about the Hiera 3 functions.
#
# @since 4.0.0
Expand Down
4 changes: 2 additions & 2 deletions lib/puppet/functions/hiera_array.rb
Expand Up @@ -65,9 +65,9 @@
# value is a hash, Puppet raises a type mismatch error.
#
# See
# [the 'Using the lookup function' documentation](https://puppet.com/docs/puppet/latest/hiera_use_function.html) for how to perform lookup of data.
# [the 'Using the lookup function' documentation](https://puppet.com/docs/puppet/latest/hiera_automatic.html) for how to perform lookup of data.
# Also see
# [the 'Using the deprecated hiera functions' documentation](https://puppet.com/docs/puppet/latest/hiera_use_hiera_functions.html)
# [the 'Using the deprecated hiera functions' documentation](https://puppet.com/docs/puppet/latest/hiera_automatic.html)
# for more information about the Hiera 3 functions.
#
# @since 4.0.0
Expand Down
4 changes: 2 additions & 2 deletions lib/puppet/functions/hiera_hash.rb
Expand Up @@ -76,9 +76,9 @@
# found in the data sources are strings or arrays, Puppet raises a type mismatch error.
#
# See
# [the 'Using the lookup function' documentation](https://puppet.com/docs/puppet/latest/hiera_use_function.html) for how to perform lookup of data.
# [the 'Using the lookup function' documentation](https://puppet.com/docs/puppet/latest/hiera_automatic.html) for how to perform lookup of data.
# Also see
# [the 'Using the deprecated hiera functions' documentation](https://puppet.com/docs/puppet/latest/hiera_use_hiera_functions.html)
# [the 'Using the deprecated hiera functions' documentation](https://puppet.com/docs/puppet/latest/hiera_automatic.html)
# for more information about the Hiera 3 functions.
#
# @since 4.0.0
Expand Down
4 changes: 2 additions & 2 deletions lib/puppet/functions/hiera_include.rb
Expand Up @@ -83,9 +83,9 @@
# ```
#
# See
# [the 'Using the lookup function' documentation](https://puppet.com/docs/puppet/latest/hiera_use_function.html) for how to perform lookup of data.
# [the 'Using the lookup function' documentation](https://puppet.com/docs/puppet/latest/hiera_automatic.html) for how to perform lookup of data.
# Also see
# [the 'Using the deprecated hiera functions' documentation](https://puppet.com/docs/puppet/latest/hiera_use_hiera_functions.html)
# [the 'Using the deprecated hiera functions' documentation](https://puppet.com/docs/puppet/latest/hiera_automatic.html)
# for more information about the Hiera 3 functions.
#
# @since 4.0.0
Expand Down
2 changes: 1 addition & 1 deletion lib/puppet/functions/tree_each.rb
@@ -1,4 +1,4 @@
# Runs a [lambda](http://puppet.com/docs/puppet/latest/lang_lambdas.html)
# Runs a [lambda](https://puppet.com/docs/puppet/latest/lang_lambdas.html)
# recursively and repeatedly using values from a data structure, then returns the unchanged data structure, or if
# a lambda is not given, returns an `Iterator` for the tree.
#
Expand Down
2 changes: 1 addition & 1 deletion lib/puppet/parser/compiler.rb
Expand Up @@ -27,7 +27,7 @@ def self.compile(node, code_id = nil)
errors.each { |e| Puppet.err(e) } if errors.size > 1
errmsg = [
_("Compilation has been halted because: %{error}") % { error: errors.first },
_("For more information, see https://puppet.com/docs/puppet/latest/environments.html"),
_("For more information, see https://puppet.com/docs/puppet/latest/environments_about.html"),
]
raise(Puppet::Error, errmsg.join(' '))
end
Expand Down
2 changes: 1 addition & 1 deletion lib/puppet/settings/config_file.rb
Expand Up @@ -90,7 +90,7 @@ def unique_sections_in(ini, file, allowed_section_names)
message += ' ' + _("The only valid puppet.conf sections are: [%{allowed_sections_list}].") %
{ allowed_sections_list: allowed_section_names.join(", ") }
message += ' ' + _("Please use the directory environments feature to specify environments.")
message += ' ' + _("(See https://puppet.com/docs/puppet/latest/environments.html)")
message += ' ' + _("(See https://puppet.com/docs/puppet/latest/environments_about.html)")
raise(Puppet::Error, message)
end
section.name
Expand Down

0 comments on commit 92c6d5b

Please sign in to comment.