Skip to content
Browse files

Add node save to the AWS lwr/p

  • Loading branch information...
1 parent 2fbcb68 commit b0ed8658d0bb0db3900d937d4f0bfbe5ac478dd0 @fujin fujin committed Jan 16, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 aws/providers/ebs_volume.rb
View
2 aws/providers/ebs_volume.rb
@@ -30,6 +30,7 @@
node.set[:aws][:ebs_volume][new_resource.name][:volume_id] = nvid
new_resource.updated = true
end
+ node.save
end
end
@@ -46,6 +47,7 @@
# attach the volume and register its id in the node data
attach_volume(vol[:aws_id], instance_id, new_resource.device, new_resource.timeout)
node.set[:aws][:ebs_volume][new_resource.name][:volume_id] = vol[:aws_id]
+ node.save
new_resource.updated = true
end
end

0 comments on commit b0ed865

Please sign in to comment.
Something went wrong with that request. Please try again.