Forge Home

15,246 downloads

15,246 latest version

2.6 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.0.1 (latest)
released Mar 10th 2013

Start using this module

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

Add this module to your Puppetfile:

mod 'benjamin-ramdisk', '0.0.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add benjamin-ramdisk
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install benjamin-ramdisk --version 0.0.1

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
Tags: ram, ramdisk

Documentation

benjamin/ramdisk — version 0.0.1 Mar 10th 2013

Puppet ramdisk module

Configure ramdisk with Puppet.

Tested on Debian GNU/Linux 6.0 Squeeze with Puppet 2.7. Patches for other operating systems welcome.

Installation

Clone this repository to ramdisk directory under your modules directory :

git clone https://github.com/bdossantos/puppet-module-ramdisk.git modules/ramdisk

As git submodule :

git submodule add https://github.com/bdossantos/puppet-module-ramdisk.git modules/ramdisk
git submodule update --init

Example

Create ramdisk for PHP sessions :

ramdisk { 'php_sessions':
  ensure  => present,
  path    => '/var/lib/php5',
  atboot  => true,
  size    => '256M',
  mode    => '1733',
  owner   => 'root',
  group   => 'root',
}