Skip to content

Commit

Permalink
(maint) Merge up 9436743 to main
Browse files Browse the repository at this point in the history
Generated by CI

* commit '94367437fc075a48d279a7f481a708ae0e0faae0':
  (docs) lib/puppet/type/exec.rb `unless` `grep(1)` anchors
  • Loading branch information
puppetlabs-jenkins committed Jan 27, 2022
2 parents cbc9059 + 9436743 commit 4772afa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet/type/exec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ def check(value)
exec { '/bin/echo root >> /usr/lib/cron/cron.allow':
path => '/usr/bin:/usr/sbin:/bin',
unless => 'grep root /usr/lib/cron/cron.allow 2>/dev/null',
unless => 'grep ^root$ /usr/lib/cron/cron.allow 2>/dev/null',
}
This would add `root` to the cron.allow file (on Solaris) unless
Expand Down

0 comments on commit 4772afa

Please sign in to comment.