{"id":32129348,"url":"https://github.com/onpuppet/puppet-autofs","last_synced_at":"2026-04-01T22:38:01.101Z","repository":{"id":57664149,"uuid":"39073745","full_name":"onpuppet/puppet-autofs","owner":"onpuppet","description":"Puppet module to install and configure autofs","archived":false,"fork":false,"pushed_at":"2017-06-12T08:32:55.000Z","size":101,"stargazers_count":1,"open_issues_count":1,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-02-19T03:27:15.457Z","etag":null,"topics":["autofs","puppet","puppet-module"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/onpuppet.png","metadata":{"files":{"readme":"README.markdown","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-14T12:33:26.000Z","updated_at":"2017-07-20T12:45:17.000Z","dependencies_parsed_at":"2022-09-10T08:40:43.107Z","dependency_job_id":null,"html_url":"https://github.com/onpuppet/puppet-autofs","commit_stats":null,"previous_names":["yuav/puppet-autofs"],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/onpuppet/puppet-autofs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onpuppet%2Fpuppet-autofs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onpuppet%2Fpuppet-autofs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onpuppet%2Fpuppet-autofs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onpuppet%2Fpuppet-autofs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onpuppet","download_url":"https://codeload.github.com/onpuppet/puppet-autofs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onpuppet%2Fpuppet-autofs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31292681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T21:15:39.731Z","status":"ssl_error","status_checked_at":"2026-04-01T21:15:34.046Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autofs","puppet","puppet-module"],"created_at":"2025-10-21T01:03:05.081Z","updated_at":"2026-04-01T22:38:01.086Z","avatar_url":"https://github.com/onpuppet.png","language":"Ruby","readme":"[![Build Status](https://travis-ci.org/onpuppet/puppet-autofs.svg?branch=master)](https://travis-ci.org/onpuppet/puppet-autofs)\n\n#### Table of Contents\n\n1. [Overview](#overview)\n2. [Module Description - What the module does and why it is useful](#module-description)\n3. [Setup - The basics of getting started with autofs](#setup)\n    * [What autofs affects](#what-autofs-affects)\n    * [Setup requirements](#setup-requirements)\n    * [Beginning with autofs](#beginning-with-autofs)\n4. [Usage - Configuration options and additional functionality](#usage)\n    * [Using hiera](#using-hiera)\n\n## Overview\n\nInstalls and configures autofs which provides automount functionality.\n\n## Module Description\n\nInstalls and configures autofs which provides automount functionality.\n\n## Setup\n\n### What autofs affects\n\n* Package autofs, and corresponding configs will be managed by Puppet - overwriting any local files\n\n### Setup Requirements\n\nRequires puppetlabs-stdlib and puppetlabs-concat modules\n\n### Beginning with autofs\n\nBasic installation:\n\n    class { 'autofs': }\n\n## Usage\n\nExample usage for automounting home folders:\n```puppet\nclass { 'autofs':\n  mounts =\u003e {\n    'home' =\u003e {\n      remote     =\u003e 'nfs.com:/export/home',\n      mountpoint =\u003e '/home',\n      options    =\u003e '-hard,rw',\n    },\n    'net'  =\u003e {\n      remote     =\u003e 'nfs:/folder',\n      mountpoint =\u003e '/remote/folder',\n      options    =\u003e '-soft,ro',\n    },\n    'misc' =\u003e {\n      remote     =\u003e ':/dev/sdb1',\n      mountpoint =\u003e '/misc/usb',\n      options    =\u003e '-fstype=auto,rw',\n    },\n  }\n}\n```\nUsing the autofs::mount directly:\n\n```puppet\nautofs::mount { 'home':\n  remote     =\u003e 'nfs.com:/export/home',\n  mountpoint =\u003e '/home',\n  options    =\u003e '-hard,rw',\n}\n```\nSupplying a custom automount file:\n```puppet\nclass { 'autofs':\n  mount_files =\u003e {\n    'home' =\u003e {\n      mountpoint  =\u003e '/home',\n      file_source =\u003e 'puppet:///modules/mymodule/auto.home',\n    },\n    'net'  =\u003e {\n      mountpoint  =\u003e '/remote',\n      file_source =\u003e 'puppet:///modules/mymodule/auto.net',\n    }\n  }\n}\n```\nUsing autofs::mountfile directly\n```puppet\nautofs::mountfile { 'homefile':\n  mountpoint  =\u003e '/home', \n  file_source =\u003e 'puppet:///modules/mymodule/auto.home',\n}\n```      \n\nTo set e.g. --timeout option in auto.master, you need to manually configure the\nauto.master entry using the mount_entries param like so:\n```puppet\nclass { 'autofs':\n  mount_entries =\u003e {\n    '/etc/auto._misc' =\u003e { # Resource name match generated name in Mount['misc']\n      mountpoint =\u003e '/misc',\n      mountfile  =\u003e '/etc/auto._misc', # Matched to auto generated name in Mount['misc']\n      options    =\u003e '--timeout=300',\n    }\n  },\n  mounts =\u003e {\n    'misc'      =\u003e {\n      remote     =\u003e 'nfs:/export/misc/stuff',\n      mountpoint =\u003e '/misc/stuff',\n      options    =\u003e '--timeout=300',\n    }\n  }\n}\n```\n\nTo set the filename of the generated mapfile, set the `$mapname` parameter.\nThis will set the filename to `/etc/auto.${mapname}`:\n```puppet\nclass { 'autofs':\n  mount_entries =\u003e {\n    '/etc/auto.glusterfs' =\u003e { # Matched to mapname for Mount['glusterfs']\n      mountpoint =\u003e '/misc',\n      mountfile  =\u003e '/etc/auto.glusterfs', # Matched to mapname for Mount['glusterfs']\n      options    =\u003e '--timeout=300',\n    }\n  },\n  mounts =\u003e {\n    'glusterfs' =\u003e {\n      mapname    =\u003e 'glusterfs',\n      remote     =\u003e 'glusters:/gv0',\n      mountpoint =\u003e '/mnt/gv0',\n      options    =\u003e '-fstype=glusterfs',\n    }\n  }\n}\n```\n### Using hiera\n\nIf you're using hiera:\n```puppet\nautofs::mounts:\n  'misc':\n    remote: 'nfs:/export/misc/stuff'\n    mountpoint: '/misc/stuff'\n    options: '-hard,rw'\nautofs::mount_entries:\n    '/etc/auto._misc':\n      mountpoint: '/misc'\n      mountfile: '/etc/auto._misc'\n      options: '--timeout=300'\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonpuppet%2Fpuppet-autofs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonpuppet%2Fpuppet-autofs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonpuppet%2Fpuppet-autofs/lists"}