HomePhorge

(#5496) zpool provider supports new 'zpool status' format
b1d97284d0feUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#5496) zpool provider supports new 'zpool status' format

The "Solaris 10 9/10 release (Update 9)" update changed the output from
the "zpool status" command, which breaks the zpool provider. The format
basically changed from "vdev" to "vdev-n" (ex: "mirror" to "mirror-0"),
which the current provider doesn't recognize.

This fix changes the way vdev's are checked by the zpool provider, to
support either format.

Reviewed-By: Nick Lewis

Details

Provenance
Devon Peters <devon.peters@e-hps.com>Authored on
Nick Lewis <nick@puppetlabs.com>Committed on Mar 1 2011, 9:15 PM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU4b35402ba85d: Merge branch 'next'
Branches
Unknown
Tags
Unknown

Event Timeline

Nick Lewis <nick@puppetlabs.com> committed rPUb1d97284d0fe: (#5496) zpool provider supports new 'zpool status' format (authored by Devon Peters <devon.peters@e-hps.com>).Mar 1 2011, 9:15 PM