Skip to content

Commit

Permalink
Add node save to the AWS lwr/p
Browse files Browse the repository at this point in the history
  • Loading branch information
AJ Christensen committed Jan 19, 2010
1 parent 2fbcb68 commit b0ed865
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aws/providers/ebs_volume.rb
Expand Up @@ -30,6 +30,7 @@
node.set[:aws][:ebs_volume][new_resource.name][:volume_id] = nvid
new_resource.updated = true
end
node.save
end
end

Expand All @@ -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
Expand Down

0 comments on commit b0ed865

Please sign in to comment.