From 124c4a7740bc44688fae37f35a0227ef5e399105 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Thu, 10 Sep 2020 14:01:35 -0700 Subject: 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 --- lib/chef/resource/sysctl.rb | 6 +----- 1 file changed, 1 insertion(+), 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**: -- cgit v1.2.1 From 47ddcef8441031e2bd9c71538f0b32098c72772c Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Thu, 10 Sep 2020 15:14:40 -0700 Subject: Update lib/chef/resource/sysctl.rb Signed-off-by: Tim Smith Co-authored-by: Ian Maddaus --- lib/chef/resource/sysctl.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/chef/resource/sysctl.rb b/lib/chef/resource/sysctl.rb index cee406cc52..bf9424f35f 100644 --- a/lib/chef/resource/sysctl.rb +++ b/lib/chef/resource/sysctl.rb @@ -25,7 +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`." + 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**: -- cgit v1.2.1