From d3efe16b5116c28bde8d657bc2472fe551ec8cb7 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Fri, 11 Dec 2015 20:35:21 -0800 Subject: sort properties --- lib/chef/resource/file.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/chef/resource/file.rb b/lib/chef/resource/file.rb index 84c06c43f0..31afecc156 100644 --- a/lib/chef/resource/file.rb +++ b/lib/chef/resource/file.rb @@ -48,12 +48,12 @@ class Chef default_action :create allowed_actions :create, :delete, :touch, :create_if_missing - property :content, [ String, nil ], desired_state: false + property :path, String, name_property: true, identity: true + property :atomic_update, [ true, false ], desired_state: false, default: Chef::Config[:file_atomic_update] property :backup, [ Integer, false ], desired_state: false, default: 5 property :checksum, [ /^[a-zA-Z0-9]{64}$/, nil ] - property :path, String, name_property: true, identity: true + property :content, [ String, nil ], desired_state: false property :diff, [ String, nil ], desired_state: false - property :atomic_update, [ true, false ], desired_state: false, default: Chef::Config[:file_atomic_update] property :force_unlink, [ true, false ], desired_state: false, default: false property :manage_symlink_source, [ true, false ], desired_state: false property :verifications, Array, default: lazy { [] } -- cgit v1.2.1