They are misdesigned and misnamed, but they are still part of the API we
offer and I see no compelling reason to remove them.


On Tue, Jun 4, 2013 at 7:41 AM, Vincent Untz <notifications@github.com>wrote:

> In chef/cookbooks/barclamp/libraries/barclamp_library.rb:
>
> > +        end
> > +
> > +        def size
> > +          (@node[:block_device][@device][:size] || 0).to_i
> > +        end
> > +
> > +        def state
> > +          @node[:block_device][@device][:state] || "Unknown"
> > +        end
> > +
> > +        def vendor
> > +          @node[:block_device][@device][:vendor] || "NA"
> > +        end
> > +
> > +        def usage
> > +          (@node[:crowbar_wall][:claimed_disks][self.unique_name] rescue "")
>
> My previous comment on this is still valid.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/crowbar/barclamp-deployer/pull/118/files#r4521215>
> .
>