summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-09-10 14:01:35 -0700
committerTim Smith <tsmith84@gmail.com>2020-09-10 14:02:22 -0700
commit124c4a7740bc44688fae37f35a0227ef5e399105 (patch)
treeea567b259f28a87808682f2a03c272de1f38a99a
parent6e0e0be6eb588434751ab4dcae86cca872858e8b (diff)
downloadchef-124c4a7740bc44688fae37f35a0227ef5e399105.tar.gz
Update sysctl resource description to match reality
We don't do the backup mess anymore and we never did when this resource was in chef-client itself. Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/resource/sysctl.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/chef/resource/sysctl.rb b/lib/chef/resource/sysctl.rb
index 8b745f709e..cee406cc52 100644
--- a/lib/chef/resource/sysctl.rb
+++ b/lib/chef/resource/sysctl.rb
@@ -25,11 +25,7 @@ class Chef
provides(:sysctl) { true }
provides(:sysctl_param) { true }
- description "Use the **sysctl** resource to set or remove kernel parameters using the sysctl"\
- " command line tool and configuration files in the system's sysctl.d directory. "\
- "Configuration files managed by this resource are named 99-chef-KEYNAME.conf. If"\
- " an existing value was already set for the value it will be backed up to the node"\
- " and restored if the :remove action is used later."
+ description "Use the **sysctl** resource to set or remove kernel parameters using the `sysctl` command line tool and configuration files in the system's `sysctl.d` directory. Configuration files managed by this resource are named `99-chef-KEYNAME.conf`."
examples <<~DOC
**Set vm.swappiness**: