lib/chef/resource/directory.rb in chef-10.14.4 vs lib/chef/resource/directory.rb in chef-10.16.0.rc.0
- old
+ new
@@ -1,8 +1,9 @@
#
# Author:: Adam Jacob (<adam@opscode.com>)
# Author:: Seth Chisamore (<schisamo@opscode.com>)
+# Author:: Tyler Cloke (<tyler@opscode.com>)
# Copyright:: Copyright (c) 2008, 2011 Opscode, Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -22,9 +23,14 @@
require 'chef/mixin/securable'
class Chef
class Resource
class Directory < Chef::Resource
+
+ identity_attr :path
+
+ state_attrs :group, :mode, :owner
+
include Chef::Mixin::Securable
provides :directory, :on_platforms => :all
def initialize(name, run_context=nil)