You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/puppet_references/puppet/functions_preamble.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,3 +13,7 @@ The `<DATA TYPE>` is a [Puppet data type value](./lang_data_type.html), like `St
13
13
* Any arguments with an `Optional` data type can be omitted from the function call.
14
14
* Arguments that start with an asterisk (like `*$values`) can be repeated any number of times.
15
15
* Arguments that start with an ampersand (like `&$block`) aren't normal arguments; they represent a code block, provided with [Puppet's lambda syntax.](./lang_lambdas.html)
16
+
17
+
## `undef` values in Puppet 6
18
+
19
+
In Puppet 6, many Puppet types were moved out of the Puppet codebase, and into modules on the Puppet Forge. The new functions handle `undef` values more strictly than their stdlib counterparts. In Puppet 6, code that relies on `undef` values being implicitly treated as other types will return an evaluation error. For more information on which types were moved into modules, see the [Puppet 6 release notes](https://puppet.com/docs/puppet/6.0/release_notes_puppet.html#select-types-moved-to-modules).
Copy file name to clipboardExpand all lines: source/puppet/5.5/known_issues.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@ title: "Puppet 5.5 known issues"
6
6
7
7
As known issues are discovered in Puppet 5.5 and its patch releases, they'll be added here. Once a known issue is resolved, it is listed as a resolved issue in the release notes for that release, and removed from this list.
8
8
9
+
- Testing modules using rspec-puppet versions earlier than 2.7.10 results in the error "undefined local variable or method `default_env` for Puppet::Util:Module". As a workaround, update rspec-puppet to version 2.7.10. If using PDK, run `pdk bundle update rspec-puppet` or update your PDK package. If not using PDK, run `bundle update`. [PUP-10586](https://tickets.puppetlabs.com/browse/PUP-10586)
10
+
9
11
- The `host` type supports only one IP address for each hostname. Because of this, you cannot use both an IPv4 and IPv6 address for the same hostname. [PUP-9480](https://tickets.puppetlabs.com/browse/PUP-9480)
10
12
11
13
- Puppet 5.5.11 adds support for macOS 10.14 Mojave. However to manage users and groups, you must grant Puppet Full Disk Access. To give Puppet access on a machine running macOS 10.14, go to `System Preferences > Security & Privacy > Privacy > Full Disk Access`, and add the path to the Puppet executable. [PA-2226](https://tickets.puppetlabs.com/browse/PA-2226), [PA-2227](https://tickets.puppetlabs.com/browse/PA-2227)
@@ -15,3 +17,5 @@ As known issues are discovered in Puppet 5.5 and its patch releases, they'll be
15
17
-[PUP-8009](https://tickets.puppetlabs.com/browse/PUP-8009): Puppet 5.1.0 introduced support for internationalized strings in Puppet modules. However, this feature can cause significant performance regressions if [environment caching](./environments_creating.markdown#environment_timeout) is disabled, for instance by setting `environment_timeout==0`, even if the module doesn't include internationalized content. Puppet 5.3.2 introduced an optional `disable_i18n` setting in `puppet.conf` to avoid using localized strings and restore degraded performance.
16
18
17
19
- When specifying a deep merge behaviour in Hiera, the `knockout_prefix` identifier is effective only against values in an adjacent array, and not in hierarchies more than three levels deep. [HI-223](https://tickets.puppetlabs.com/browse/HI-223)
20
+
21
+
- Puppet 5 stdlib functions handle `undef` less strictly then they should. In Puppet 6, many functions from stdlib were moved into Forge modules, and now treat `undef` more strictly. In Puppet 6, some code that relies on `undef` values being implicitly treated as other types will return an evaluation error. For more information on which functions were moved out of stdlib, see the [Puppet 6.0 release notes](https://puppet.com/docs/puppet/6.0/release_notes_puppet.html#select-types-moved-to-modules).
Copy file name to clipboardExpand all lines: source/puppet/5.5/release_notes.markdown
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,8 @@ Released 14 July 2020
34
34
35
35
-**Zypper provider does not recognize `--no-gpg-checks` as a global option.** This release allows `--no-gpg-checks` to be passed as an item to `install_options` property for the zypper package provider. Note that for backward compatibility `--no-gpg-check` was not removed. [PUP-10433](https://tickets.puppetlabs.com/browse/PUP-10433)
36
36
37
+
-**Boost and `yaml-cpp` in the SLES 15 puppet-agent package.** The boost and yaml-cpp dependencies are now vendored in the SLES 15 agent build. [PA-3006](https://tickets.puppetlabs.com/browse/PA-3006)
38
+
37
39
### Resolved issues
38
40
39
41
-**Puppet agent fails to restart with configuration changes or updates.** Previously, when two agent runs were taking place at the same time, the Puppet agent could get in a `restart_requested` state. This is now fixed. [PUP-10351](https://tickets.puppetlabs.com/browse/PUP-10351)
@@ -42,7 +44,6 @@ Released 14 July 2020
42
44
43
45
-**Installer switch `service-enable true` reports wrong actions in certain conditions.** Previously, the Puppet resource command wrongly reporting the enabled state of a systemd service when the ensure parameter was also specified. This is now fixed. [PUP-10479](https://tickets.puppetlabs.com/browse/PUP-10479)
44
46
45
-
46
47
-**The `pip` package provider does not handle `pip` executable paths with spaces.** Paths containing spaces will now be quoted in the `pip` package providers. [PUP-10485](https://tickets.puppetlabs.com/browse/PUP-10485)
47
48
48
49
-**The `purge_ssh_keys` parameter requires you to set the home directory in the manifest.** The release fixes an issue where Puppet required you to manage the home directory when purging SSH keys with `purge_ssh_keys`. [PUP-10506](https://tickets.puppetlabs.com/browse/PUP-10485)
@@ -67,6 +68,10 @@ Released 14 July 2020
67
68
68
69
-**User resource expiry incorrect on SLES 11.** On SLES 11, setting a user resource expiry to absent resulted in disabling the user instead. This is now fixed. [PUP-7663](https://tickets.puppetlabs.com/browse/PUP-7663)
69
70
71
+
-**Puppet agent should ignore `nssm.exe` during an upgrade.** Previously, if a puppet-agent upgrade on Windows happened when `nssm.exe` was loaded by EventLog service, certain services were restarted, leading to unreachable machines. This release includes an `nssm` executable for pxp-agent (`nssm-pxp-agent.exe`) and we have remove Windows registry references to the old nssm.exe. [PA-3263](https://tickets.puppetlabs.com/browse/PA-3263)
72
+
73
+
-**Puppet should ignore system Ruby settings.** Running Puppet using a wrapper script from the puppet-agent package will now ignore the following ruby related environment variables: `GEM_HOME`, `GEM_PATH`, `DLN_LIBRARY_PATH`, `RUBYLIB`, `RUBYLIB_PREFIX`, `RUBYOPT`, `RUBYPATH`, `RUBYSHELL`. [PA-3248](https://tickets.puppetlabs.com/browse/PA-3248)
Copy file name to clipboardExpand all lines: source/puppet/latest/configuration.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -298,6 +298,7 @@ Defaults to the node's fully qualified domain name.
298
298
299
299
-*Default*: the Host's fully qualified domain name, as determined by Facter
300
300
301
+
**Note**: For full functionality of the `puppet config print` command and other dependent commands, include the certname in the main section of the puppet.conf file.
301
302
### classfile
302
303
303
304
The file in which puppet agent stores a list of the classes
Sends an arbitrary message to the agent run-time log. It's important to note that the notify resource type is not idempotent. As a result, notifications are shown as a change on every Puppet run.
1888
+
Sends an arbitrary message, specified as a string, to the agent run-time log. It's important to note that the notify resource type is not idempotent. As a result, notifications are shown as a change on every Puppet run.
1890
1889
1891
1890
<h3id="notify-attributes">Attributes</h3>
1892
1891
@@ -1909,7 +1908,7 @@ An arbitrary tag for your own reference; the name of the message.
1909
1908
1910
1909
_(**Property:** This attribute represents concrete state on the target system.)_
1911
1910
1912
-
The message to be sent to the log.
1911
+
The message to be sent to the log. Note that the value specified must be a string.
1913
1912
1914
1913
([↑ Back to notify attributes](#notify-attributes))
Copy file name to clipboardExpand all lines: source/puppet/latest/types/notify.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ notify
14
14
15
15
<h3id="notify-description">Description</h3>
16
16
17
-
Sends an arbitrary message to the agent run-time log. It's important to note that the notify resource type is not idempotent. As a result, notifications are shown as a change on every Puppet run.
17
+
Sends an arbitrary message, specified as a string, to the agent run-time log. It's important to note that the notify resource type is not idempotent. As a result, notifications are shown as a change on every Puppet run.
18
18
19
19
<h3id="notify-attributes">Attributes</h3>
20
20
@@ -37,7 +37,7 @@ An arbitrary tag for your own reference; the name of the message.
37
37
38
38
_(**Property:** This attribute represents concrete state on the target system.)_
39
39
40
-
The message to be sent to the log.
40
+
The message to be sent to the log. Note that the value specified must be a string.
41
41
42
42
([↑ Back to notify attributes](#notify-attributes))
43
43
@@ -58,4 +58,4 @@ Allowed values:
58
58
59
59
60
60
61
-
> **NOTE:** This page was generated from the Puppet source code on 2020-06-30 08:58:23 +0100
61
+
> **NOTE:** This page was generated from the Puppet source code on 2020-06-30 08:58:23 +0100
0 commit comments