Version information
released Mar 10th 2013
Start using this module
Add this module to your Puppetfile:
mod 'benjamin-ramdisk', '0.0.1'
Learn more about managing modules with a PuppetfileDocumentation
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',
}