Commits

Kaspar Schiess committed 0b98e1c

! Don't cache output from iscsiadm list target

Comments (0)

Files changed (5)

 PATH
   remote: .
   specs:
-    mushroom (0.2.6)
+    mushroom (0.2.7)
       thor
 
 GEM
 
+= 0.2.8 / 20Sep12
+
+  ! Another bugfix: Don't cache answer from iscsiadm list target
+
 = 0.2.7 / 18Sep12
 
   ! Bugfix release, allowing clone then export.

lib/mushroom/iscsi_target.rb

     # A cached 'list target -vS'
     #
     def target_list
-      @target_list ||= @backend.iscsiadm :list, :target, '-vS'
+      @backend.iscsiadm :list, :target, '-vS'
     end
     
     def disks
 
 Gem::Specification.new do |s|
   s.name = 'mushroom'
-  s.version = '0.2.7'
+  s.version = '0.2.8'
 
   s.authors = ['Kaspar Schiess']
   s.email = 'kaspar.schiess@technologyastronauts.ch'

spec/fixture/etc/foobar.rb

 
   # Network configuration
   # nic 'eth0', 
-  #   macaddr: '0:24:81:50:e3:b7', 
+  #   macaddr: '0:24:81:1a:9e:e4', 
   #   via: 'igbX'
 end