lib/miam/client.rb in miam-0.2.3.beta2 vs lib/miam/client.rb in miam-0.2.3.beta3
- old
+ new
@@ -9,9 +9,10 @@
@password_manager = options[:password_manager] || Miam::PasswordManager.new('-', options)
end
def export(export_options = {})
exported, group_users, instance_profile_roles = Miam::Exporter.export(@iam, @options)
+ exported.sort_array!
if block_given?
[:users, :groups, :roles, :instance_profiles, :policies].each do |type|
splitted = {:users => {}, :groups => {}, :roles => {}, :instance_profiles => {}, :policies => {}}