Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(DOCUMENT-319) Clarification on unless and only #3800

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 5 additions & 2 deletions lib/puppet/type/exec.rb
Expand Up @@ -413,7 +413,8 @@ def check(value)
`grep` determines it's already there.

Note that this command follows the same rules as the main command,
which is to say that it must be fully qualified if the path is not set.
such as which user and group it's run as.
This also means it must be fully qualified if the path is not set.
It also uses the same provider as the main command, so any behavior
that differs by provider will match.
EOT
Expand Down Expand Up @@ -456,7 +457,9 @@ def check(value)
This would run `logrotate` only if that test returned true.

Note that this command follows the same rules as the main command,
which is to say that it must be fully qualified if the path is not set.
such as which user and group it's run as.
This also means it must be fully qualified if the path is not set.

It also uses the same provider as the main command, so any behavior
that differs by provider will match.

Expand Down