    # File lib/chef/provider/directory.rb, line 41
          def action_create
            unless ::File.exists?(@new_resource.path)
              if @new_resource.recursive == true
                ::FileUtils.mkdir_p(@new_resource.path)
              else
                ::Dir.mkdir(@new_resource.path)
              end
              @new_resource.updated_by_last_action(true)
              Chef::Log.info("#{@new_resource} created directory #{@new_resource.path}")
            end
            set_owner if @new_resource.owner != nil
            set_group if @new_resource.group != nil
            set_mode if @new_resource.mode != nil
          end