lib/chef/resource/scm.rb in chef-10.14.4 vs lib/chef/resource/scm.rb in chef-10.16.0.rc.0
- old
+ new
@@ -21,9 +21,13 @@
class Chef
class Resource
class Scm < Chef::Resource
+ identity_attr :destination
+
+ state_attrs :revision
+
def initialize(name, run_context=nil)
super
@destination = name
@resource_name = :scm
@enable_submodules = false