autofs

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

Geoff Williams

geoffwilliams

5,177 downloads

5,177 latest version

5.0 quality score

Version information

  • 1.1.1 (latest)
released Jul 3rd 2019
This version is compatible with:
  • Puppet Enterprise >= 3.2.0
  • Puppet >= 3.2.0
  • RedHat
    ,
    CentOS
    ,
    OracleLinux
    ,
    Scientific
    ,
    Debian
    ,
    Ubuntu
    , Gentoo, FreeBSD, Solaris, Archlinux

Start using this module

Documentation

geoffwilliams/autofs — version 1.1.1 Jul 3rd 2019

Autofs module for Puppet

Puppet Forge Build Status

Description

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

/etc/auto.master

/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
+auto.local
+auto.web

/etc/auto.web

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

/etc/auto.local

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