Skip to content

Commit

Permalink
Ensure logout is called after all provider adds in ec2 profile.
Browse files Browse the repository at this point in the history
Thanks ecks for the tip.
  • Loading branch information
rwsu committed Nov 14, 2011
1 parent f365b00 commit 43ad235
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions recipes/aeolus/manifests/profiles/ec2.pp
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,15 @@
url => 'http://localhost:3002/api',
require => Aeolus::Conductor::Login["admin"] }



aeolus::conductor::hwp{"hwp1":
memory => "512",
cpu => "1",
storage => "",
architecture => "x86_64",
require => Aeolus::Conductor::Login["admin"] }

Aeolus::Conductor::Provider <| |> -> Aeolus::Conductor::Logout <| |>

aeolus::conductor::logout{"admin":
require => [Aeolus::Conductor::Provider['ec2-us-east-1'],
Aeolus::Conductor::Provider['ec2-us-west-1'],
Aeolus::Conductor::Hwp['hwp1']] }
require => [Aeolus::Conductor::Hwp['hwp1']] }
}

0 comments on commit 43ad235

Please sign in to comment.