Skip to content

Commit 51d8ab8

Browse files
committed
Use a normal attribute to fetch persisted value
Fixes #61
1 parent 9a19017 commit 51d8ab8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/primary_zone_template.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
)
5858
)
5959

60-
persisted_values = node.default['bind']['zone'][new_resource.file_name]
60+
persisted_values = node.normal['bind']['zone'][new_resource.file_name]
6161

6262
# override soa with the value in persisted_values if it exists
6363
soa[:serial] = persisted_values['serial'] if persisted_values.attribute?('serial')

0 commit comments

Comments
 (0)