diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2015-12-11 20:35:21 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2015-12-14 12:51:58 -0800 |
commit | d3efe16b5116c28bde8d657bc2472fe551ec8cb7 (patch) | |
tree | 8fa0bd1580e8c2bc6b56735a7e5505a82effaac9 /lib/chef/resource/file.rb | |
parent | ab8471e301a4e31a40546d49a3c57b9efebda76e (diff) | |
download | chef-d3efe16b5116c28bde8d657bc2472fe551ec8cb7.tar.gz |
sort properties
Diffstat (limited to 'lib/chef/resource/file.rb')
-rw-r--r-- | lib/chef/resource/file.rb | 6 |
1 files 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 { [] } |