ramdrive

Administration of ram based mountpoints

Federico Castagnini

facastagnini

8,688 downloads

8,336 latest version

3.1 quality score

Version information

  • 1.0.5 (latest)
  • 1.0.2
  • 1.0.1
  • 1.0.0
released Dec 9th 2014
This version is compatible with:
  • Puppet Enterprise 3.x
  • Puppet >=2.7.20 <4.0.0
  • RedHat, CentOS, Scientific, Debian, Ubuntu

Start using this module

Documentation

facastagnini/ramdrive — version 1.0.5 Dec 9th 2014

puppet-ramdrive

Create a ramdrive with puppet

###How to use this module? ...Examples

# logdir in ram
$log_path = '/var/log/ipsec'
ramdrive { $log_path:
  size       => '100M',
  mode       => '0750',
  owner      => 'root',
  group      => 'adm',
  notify     => Service[$strongswan::service_name],
  require    => Package[$strongswan::package],
}


# mount a ramdrive for each temporary folder
ramdrive { [
  "${project_dir}/app/storage/cache",
  "${project_dir}/app/storage/logs",
  "${project_dir}/app/storage/meta",
  "${project_dir}/app/storage/sessions",
  "${project_dir}/app/storage/views"]:
  size    => '50M',
  mode    => 0770,
  recurse => true,
  owner   => $owner,
  group   => $group,
  require => File["${project_dir}/app/storage"]
}