-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow root to run
puppet lookup --compile
(#273)
#205 broke `puppet lookup --compile`, which is essential to troubleshoot Hiera lookups when using the top-scope manifest variables in the stock manifests/site.pp. The defaults introduced in that patch assumed that the Puppet user is the user executing the command/process. If the user is root using the default umask of a SIMP server, this result in files that the Puppet Server's puppet user will not be able to read. This patch uses the Puppet settings to look up the configured Puppet user instead of the owner of the current process. Fixes #267
- Loading branch information
Showing
3 changed files
with
15 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
* Thu Dec 16 2021 Chris Tessmer <[email protected]> - 4.10.3 | ||
- Fixed | ||
- Permit root user to run `puppet lookup --compile` without borking passgen | ||
|
||
* Thu Dec 16 2021 ke5C2Fin <[email protected]> - 4.10.2 | ||
- Fixed | ||
- Call `klist -s` instead of `klist` to properly handle cache issues | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters