puppet-swift/lib/puppet/provider
Dan Bode b6b13ce1b2 Handle case where ring_builder has no rows
The code was not robust when no
rows were returned from
  swift_ringbuilder(builder_file_path).

The calls to retrieve an array range from the
array of this commands output was returning nil
which caused the failure: undef method each on nil

This change explicitly checks for the case where
there are no rows returned by swift-ring-builder.
2012-01-23 11:44:54 -08:00
..
ring_account_device Implement ringbuilder 2012-01-23 11:42:42 -08:00
ring_container_device Implement ringbuilder 2012-01-23 11:42:42 -08:00
ring_object_device Implement ringbuilder 2012-01-23 11:42:42 -08:00
swift_ring_builder.rb Handle case where ring_builder has no rows 2012-01-23 11:44:54 -08:00