Skip to content

Commit 2871ed6

Browse files
authoredJan 21, 2019
Merge pull request schubergphilis#104 from Dawnflash/fix-token-creation
Fix tokens forming post-validation
2 parents 2f3d530 + 489c98f commit 2871ed6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎resources/certificate.rb

+4-2
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,16 @@ def names_changed?(cert, names)
8484
group new_resource.group
8585
mode 00755
8686
recursive true
87-
end
87+
action :nothing
88+
end.run_action(:create)
8889

8990
file tokenpath do
9091
owner new_resource.owner
9192
group new_resource.group
9293
mode 00644
9394
content authz.file_content
94-
end
95+
action :nothing
96+
end.run_action(:create)
9597

9698
acme_validate(authz)
9799

0 commit comments

Comments
 (0)
Please sign in to comment.