sysfs

A module for managing sysfs settings

Dan Foster

danfoster

42,730 downloads

39,272 latest version

2.5 quality score

Version information

  • 0.2.0 (latest)
  • 0.1.1
  • 0.1.0
released Apr 5th 2017

Start using this module

Documentation

danfoster/sysfs — version 0.2.0 Apr 5th 2017

sysfs

Table of Contents

  1. Overview
  2. Usage - Configuration options and additional functionality
  3. Development - Guide for contributing to the module

Overview

A module for managing sysfs settings.

Usage

include sysfs

sysfs::setting { 'class/block/sdb/queue/read_ahead_kb':
  value => 8
}

Settings can also be defined in hiera under the sysfs::settings hash, e.g.

sysfs::settings:
  'class/block/sdb/queue/rotational':
    value: 0
  'class/block/sdb/queue/read_ahead_kb':
    value: 8

Development

Pull requests greafully recieved.