trunet / puppet-storcli

Puppet module to generate facts with types and providers to manage LSI MegaRAID controllers
Apache License 2.0
3 stars 2 forks source link

puppet-storcli

Puppet module to generate facts with types and providers to manage LSI MegaRAID controllers.

License

Table of Contents

Description

This puppet module generate facts and provides types and providers to manage LSI MegaRAID controllers.

Setup

Setup Requirements

This module makes use of storcli. If running on a Dell server, the module will look to use perccli instead.

The package needs to be available from some repository to be installed.

Usage

include storcli

Optionally, to skip over configuration of the card.

storcli::configure_settings: false

Reference

Items not covered by puppet strings are provided below.

See REFERENCE for all other reference documentation.

Facts

Limitations

For now, this module only provides a custom fact and ways to deal with patrol read and consistency check.

This module does not provide the storcli or perccli packages, you must do that yourself. If the package provider can load them, they will be installed automatically.

The card configuration has not been tested on systems with multiple MegaRAID cards. It should work, but it will set all cards to identical values.

Minimum storcli/perccli versions:

PercCli SAS Customization Utility Ver 007.2313.0000.0000 Mar 07, 2023
StorCli SAS Customization Utility Ver 007.2508.0000.0000 Feb 27, 2023

Older versions may work, but may not...

Development

Contributions are welcome through pull requests. I will only accept PRs with tests covering the parts of the code you touched.

Before sending the PR, run the tests and regenerate puppet strings references:

# pdk validate
# pdk test unit
# pdk bundle exec puppet strings generate --format markdown --out REFERENCE.md