summaryrefslogtreecommitdiff
path: root/lib/chef/resource/swap_file.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/swap_file.rb')
-rw-r--r--lib/chef/resource/swap_file.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/swap_file.rb b/lib/chef/resource/swap_file.rb
index 2efe040c47..6c2fde50df 100644
--- a/lib/chef/resource/swap_file.rb
+++ b/lib/chef/resource/swap_file.rb
@@ -21,7 +21,7 @@ class Chef
class Resource
class SwapFile < Chef::Resource
resource_name :swap_file
- provides(:swap_file) { true }
+ provides(:swap_file) do true end
description "Use the swap_file resource to create or delete swap files on Linux systems, and optionally to manage the swappiness configuration for a host."
introduced "14.0"