lib/itamae/resource/link.rb in itamae-1.0.0.beta29 vs lib/itamae/resource/link.rb in itamae-1.0.0.beta30
- old
+ new
@@ -20,10 +20,10 @@
if @current_attributes[:exist?]
@current_attributes[:to] = run_command(["readlink", "-f", link]).stdout.strip
end
end
- def create_action
+ def create_action(options)
unless run_specinfra(:check_file_is_linked_to, link, to)
run_specinfra(:link_file_to, link, to)
end
end
end