blob: 4a3245172126a053b05bf00e8d70c525724b8aa3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
class Chef
class Util
class DSC
class ResourceInfo
# The name is the text following [Start Set]
attr_reader :name
# A list of all log messages between [Start Set] and [End Set].
# Each line is an element in the list.
attr_reader :change_log
def initialize(name, sets, change_log)
@name = name
@sets = sets
@change_log = change_log || []
end
# Does this resource change the state of the system?
def changes_state?
@sets
end
end
end
end
end
|