Chef Cookbook to to install MegaRaidCli
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
attributes
files/default
recipes
spec
.foodcritic-rules
.gitignore
.gitreview
Berksfile
Berksfile.lock
Gemfile
Gemfile.lock
LICENSE
README.md
metadata.rb

README.md

Description

Installs megacli

Requirements

  • Chef 0.8+

Attributes

  • default['megaraidcli']['megacli_pkg'] - Filename of megacli dpkg (Default: megacli_8.07.10-1_all.deb)
  • default['megaraidcli']['megacli_pkg_path'] - Path to put the dpkg before installation (Default: /usr/local/src)

Usage

"run_list": [
    "recipe[megaraidcli]"
]

default

Installs megacli

Upgrading megacli

In the event a newer version of megacli is needed, it's necessary to convert the official rpm to a dpkg (assuming we are still running Ubuntu or a Debian derivitive). To do so, download the latest rpm version of megacli, install alien and use it to convert the rpm to a dpkg:

```sudo apt-get install alien sudo alien -k megacli-xxx.rpm


The generated .deb file will need to be copied into the cookbook and relevant
references/attributes updated.

Testing
=======

See SilverLining documentation

License and Author
==================

Author:: John Dewey (<john@dewey.ws>)
Author:: Scott Lampert (<scott@lampert.org>)

Copyright 2013-2014, John Dewey, Scott Lampert

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.