lib/kitchen/provisioner/nodes.rb in kitchen-nodes-0.3.1 vs lib/kitchen/provisioner/nodes.rb in kitchen-nodes-0.3.2
- old
+ new
@@ -27,11 +27,11 @@
#
# @author Matt Wrock <matt@mattwrock.com>
class Nodes < ChefZero
def create_sandbox
FileUtils.rm(node_file) if File.exist?(node_file)
- super
create_node
+ super
end
def create_node
FileUtils.mkdir_p(node_dir) unless Dir.exist?(node_dir)
File.open(node_file, 'w') do |out|