diff options
Diffstat (limited to 'lib/chef/resource/swap_file.rb')
-rw-r--r-- | lib/chef/resource/swap_file.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/chef/resource/swap_file.rb b/lib/chef/resource/swap_file.rb index 0319676f34..4a5629d824 100644 --- a/lib/chef/resource/swap_file.rb +++ b/lib/chef/resource/swap_file.rb @@ -27,22 +27,22 @@ class Chef introduced "14.0" property :path, String, - description: "The path where the swap file will be created on the system if it differs from the resource block's name.", - name_property: true + description: "The path where the swap file will be created on the system if it differs from the resource block's name.", + name_property: true property :size, Integer, - description: "The size (in MBs) of the swap file." + description: "The size (in MBs) of the swap file." property :persist, [TrueClass, FalseClass], - description: "Persist the swapon.", - default: false + description: "Persist the swapon.", + default: false property :timeout, Integer, - description: "Timeout for 'dd' / 'fallocate' commands.", - default: 600 + description: "Timeout for 'dd' / 'fallocate' commands.", + default: 600 property :swappiness, Integer, - description: "The swappiness value to set on the system." + description: "The swappiness value to set on the system." action :create do description "Create a swapfile." |