<commit_before>chef-ohai-mdadm
===============

A Chef Ohai plugin for gathering mdadm data. This will give you output of all your mdadm software raid volumes in Linux.

##Usage
Install the plugin in your /etc/chef/ohai_plugins direcotry, and add the Ohai cookbook to your runlist to load plugins from that directory.

###Example Output:

```javascript
"mdadm": {
{
  "md0": {
    "device_counts": {
      "raid": 2,
      "total": 2,
      "active": 2,
      "working": 2,
      "failed": 0,
      "spare": 0
    },
    "metadata_version": "0.9",
    "level": 1,
    "size": 25.01,
    "state": "clean"
  },
  "md1": {
    "device_counts": {
      "raid": 2,
      "total": 2,
      "active": 2,
      "working": 2,
      "failed": 0,
      "spare": 0
    },
    "metadata_version": "1.2",
    "level": 1,
    "size": 16.01,
    "state": "clean"
  }
}

```

License and Author
------------------

Author:: Limelight Networks, Inc. (<<EMAIL>>)

Copyright:: 2013, Limelight Networks, Inc.

License:: All rights reserved<commit_msg>Fix license in the readme<commit_after>chef-ohai-mdadm
===============

A Chef Ohai plugin for gathering mdadm data. This will give you output of all your mdadm software raid volumes in Linux.

##Usage
Install the plugin in your /etc/chef/ohai_plugins direcotry, and add the Ohai cookbook to your runlist to load plugins from that directory.

###Example Output:

```javascript
"mdadm": {
{
  "md0": {
    "device_counts": {
      "raid": 2,
      "total": 2,
      "active": 2,
      "working": 2,
      "failed": 0,
      "spare": 0
    },
    "metadata_version": "0.9",
    "level": 1,
    "size": 25.01,
    "state": "clean"
  },
  "md1": {
    "device_counts": {
      "raid": 2,
      "total": 2,
      "active": 2,
      "working": 2,
      "failed": 0,
      "spare": 0
    },
    "metadata_version": "1.2",
    "level": 1,
    "size": 16.01,
    "state": "clean"
  }
}

```

License and Author
------------------

Author:: Limelight Networks, Inc. (<<EMAIL>>)

Copyright:: 2013, Limelight Networks, Inc.

License:: Apache 2.0
{'fraction_non_alphanumeric': 0.18565196316044597, 'fraction_numerical': 0.031992244304411055, 'mean_word_length': 2.504244482173175, 'pattern_counts': {'":': 50, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6752441', 'n_tokens_mistral': 790, 'n_tokens_neox': 718, 'n_words': 222}