silo_manager 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/bin/silo_manager +9 -9
  2. metadata +3 -3
data/bin/silo_manager CHANGED
@@ -271,7 +271,7 @@ def create_multi_tenant_user
271
271
  end
272
272
 
273
273
  begin
274
- @client_api.login
274
+ #@client_api.login
275
275
  @client_api.create_multi_tenant_user user_config, silo_configs
276
276
  puts "Successfully created multi-tenant user!"
277
277
  rescue Exception => e
@@ -353,7 +353,7 @@ def create_silo_profile
353
353
  end
354
354
 
355
355
  begin
356
- @client_api.login
356
+ #@client_api.login
357
357
  @client_api.create_silo_profile silo_profile_config, permissions
358
358
  puts "Successfully created silo profile!"
359
359
  rescue Exception => e
@@ -400,7 +400,7 @@ def create_silo
400
400
  end
401
401
 
402
402
  begin
403
- @client_api.login
403
+ #@client_api.login
404
404
  @client_api.create_silo silo_config
405
405
  puts "Successfully created silo!"
406
406
  rescue Exception => e
@@ -413,7 +413,7 @@ def list_mtu
413
413
 
414
414
  while !main_selected
415
415
  begin
416
- @client_api.login
416
+ #@client_api.login
417
417
  mtu_list = @client_api.list_mtu
418
418
  rescue Exception => e
419
419
  puts e.message
@@ -455,7 +455,7 @@ def list_silo_profiles
455
455
  while !main_selected
456
456
 
457
457
  begin
458
- @client_api.login
458
+ #@client_api.login
459
459
  silo_profile_map = @client_api.list_silo_profiles
460
460
  rescue Exception => e
461
461
  puts e.message
@@ -497,7 +497,7 @@ def list_silos
497
497
  while !main_selected
498
498
 
499
499
  begin
500
- @client_api.login
500
+ #@client_api.login
501
501
  silo_map = @client_api.list_silos
502
502
  rescue Exception => e
503
503
  puts e.message
@@ -558,7 +558,7 @@ def delete_mtu
558
558
  end
559
559
 
560
560
  begin
561
- @client_api.login
561
+ #@client_api.login
562
562
  @client_api.delete_mtu name, id
563
563
  puts 'Successfully deleted MTU!'
564
564
  rescue Exception => e
@@ -577,7 +577,7 @@ def delete_silo_profile
577
577
  end
578
578
 
579
579
  begin
580
- @client_api.login
580
+ #@client_api.login
581
581
  @client_api.delete_silo_profile nil, id
582
582
  puts 'Successfully deleted silo profile!'
583
583
  rescue Exception => e
@@ -611,7 +611,7 @@ def delete_silo
611
611
  end
612
612
 
613
613
  begin
614
- @client_api.login
614
+ #@client_api.login
615
615
  @client_api.delete_silo name, id
616
616
  puts 'Successfully deleted silo!'
617
617
  rescue Exception => e
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: silo_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: librex
17
- requirement: &23289708 !ruby/object:Gem::Requirement
17
+ requirement: &24169236 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,7 +22,7 @@ dependencies:
22
22
  version: 0.0.32
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *23289708
25
+ version_requirements: *24169236
26
26
  description: ! ' This is a tool is used to provide CRUD silo operations for Nexpose.
27
27
 
28
28
  '