Forge Home


Puppet module for Autofs (maintenance release to support Suse Linux)


6,177 latest version

5.0 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

  • 1.1.1 (latest)
released May 7th 2017
This version is compatible with:
  • Puppet Enterprise >= 3.2.0
  • Puppet >= 3.2.0
  • , , , , , , Gentoo, FreeBSD, Solaris, Archlinux

Start using this module

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

Add this module to your Puppetfile:

mod 'geoffwilliams-autofs', '1.1.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add geoffwilliams-autofs
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install geoffwilliams-autofs --version 1.1.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.



geoffwilliams/autofs — version 1.1.1 May 7th 2017

Autofs module for Puppet

Puppet Forge Build Status


This is a maintainance release of pdxcat/autofs to support Sles. You should probably use puppet/autofs

Puppet module for managing Autofs mountpoints and files.

Some Contrived Example usage

autofs::mount { '/home':
  map     => 'ldap:ou=home,ou=autofs,dc=cat,dc=pdx,dc=edu',
  options => '-rw,hard,intr,nosuid,nobrowse',

autofs::mount { '/cat':
  map     => 'ldap:ou=cat,ou=autofs,dc=cat,dc=pdx,dc=edu',
  options => '-ro,hard,intr,nosuid,browse',

autofs::include { 'auto.web': }

autofs::mount { '/www':
  map     => 'ldap:ou=www,ou=autofs,dc=cat,dc=pdx,dc=edu',
  options => '-rw,hard,intr,nosuid,browse',
  mapfile => '/etc/auto.web',

autofs::include { 'auto.local': }

Resulting files


/cat ldap:ou=cat,ou=autofs,dc=cat,dc=pdx,dc=edu -ro,hard,intr,nosuid,browse
/home ldap:ou=home,ou=autofs,dc=cat,dc=pdx,dc=edu -rw,hard,intr,nosuid,nobrowse


/www ldap:ou=www,ou=autofs,dc=cat,dc=pdx,dc=edu -rw,hard,intr,nosuid,browse


This file is not managed by puppet, and so there is no way to know what its contents will be. Puppet doesn't care.