Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/madhacking/puppet-module-autofs

Puppet module to manage the AutoFS automount daemon
https://github.com/madhacking/puppet-module-autofs

autofs puppet puppet-module

Last synced: about 1 month ago
JSON representation

Puppet module to manage the AutoFS automount daemon

Awesome Lists containing this project

README

        

# Autofs module for Puppet

## Description
Puppet module for managing Autofs mountpoints and files.

### Some Contrived Example usage

autofs::include { 'portage':
mount_base => '/mnt/auto/portage',
options => '--timeout=30 --ghost',
}

autofs::mount { 'distfiles':
device => "portage:/mnt/repositories/distfiles",
options => 'rsize=8192,wsize=8192,soft,timeo=30,rw,vers=3',
mapfile => 'portage',
}

autofs::mount { 'packages':
device => "portage:/mnt/repositories/packages",
options => 'rsize=8192,wsize=8192,soft,timeo=30,ro,vers=3',
mapfile => 'portage',
}

### Resulting files

#### /etc/autofs/auto.master

# This file is automatically generated by Puppet
#
# Any changes made to this file will be lost on the next automated Puppet run!

/mnt/auto/portage /etc/autofs/auto.portage --timeout=30 --ghost

#### /etc/autofs/auto.portage

# This file is automatically generated by Puppet
#
# Any changes made to this file will be lost on the next automated Puppet run!

distfiles -rsize=8192,wsize=8192,soft,timeo=30,ro,vers=3 portage:/mnt/repositories/distfiles
packages -rsize=8192,wsize=8192,soft,timeo=30,ro,vers=3 portage:/mnt/repositories/packages