Forge Home

sysfs

A module for managing sysfs settings

58,197 downloads

54,652 latest version

2.5 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

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

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'danfoster-sysfs', '0.2.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add danfoster-sysfs
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install danfoster-sysfs --version 0.2.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

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.