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
When sysctl resource is suppied with comment property, each subsequent chef-client run marks the resource as changed.
Chef Version
Experienced the issue in 18.1.0, but source code of the resource proves any version is affected.
Platform Version
Debian 12.4
Replication Case
A minimal cookbook with sysctl resource will show the problem:
sysctl'fs.inotify.max_user_watches'dovalue32768comment'Increase user limits on the number of inotify resources and inotify file watches'end
Client Output
* sysctl[fs.inotify.max_user_watches] action apply
- Would update fs.inotify.max_user_watches
- Would set comment to "Increase user limits on the number of inotify resources and inotify file watches" (was [])
The text was updated successfully, but these errors were encountered:
Description
When
sysctl
resource is suppied withcomment
property, each subsequent chef-client run marks the resource as changed.Chef Version
Experienced the issue in 18.1.0, but source code of the resource proves any version is affected.
Platform Version
Debian 12.4
Replication Case
A minimal cookbook with sysctl resource will show the problem:
Client Output
The text was updated successfully, but these errors were encountered: