{"id":27958120,"url":"https://github.com/ericsson/puppet-module-autofs","last_synced_at":"2025-08-05T23:33:17.124Z","repository":{"id":16124309,"uuid":"18869515","full_name":"Ericsson/puppet-module-autofs","owner":"Ericsson","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-25T11:46:07.000Z","size":163,"stargazers_count":0,"open_issues_count":2,"forks_count":12,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-07T18:16:21.963Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ericsson.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2014-04-17T06:55:38.000Z","updated_at":"2024-03-25T10:23:43.000Z","dependencies_parsed_at":"2024-04-15T23:06:14.948Z","dependency_job_id":"4bfdca1f-0d43-45b4-9178-2756d99231a6","html_url":"https://github.com/Ericsson/puppet-module-autofs","commit_stats":null,"previous_names":["ericsson/puppet-module-autofs"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ericsson%2Fpuppet-module-autofs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ericsson%2Fpuppet-module-autofs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ericsson%2Fpuppet-module-autofs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ericsson%2Fpuppet-module-autofs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ericsson","download_url":"https://codeload.github.com/Ericsson/puppet-module-autofs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252931508,"owners_count":21827112,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2025-05-07T18:16:26.719Z","updated_at":"2025-08-05T23:33:17.077Z","avatar_url":"https://github.com/Ericsson.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"puppet-module-autofs\n====================\n\nPuppet module to manage autofs. Documentation TBD.\n\n\n# Compatibility\n---------------\nThis module has been tested to work on the following systems with the latest\nPuppet v3, v3 with future parser, v4, v5 and v6. See `.travis.yml` for the\nexact matrix of supported Puppet and ruby versions.\n\n* EL 8\n* EL 9\n* SLED / SLES 12\n* SLED / SLES 15\n* Ubuntu 20.04 LTS\n* Ubuntu 22.04 LTS\n* Ubuntu 24.04 LTS\n\n# Parameters\n------------\n---\n#### browse_mode (type: String)\nSet this to `YES` if you want your mounts to be browseable.\n\n- Default: **'NO'**\n\n---\n#### timeout (type: Integer)\nDefault mount timeout.\n\n- Default: **600**\n\n---\n#### negative_timeout (type: Integer)\nDefault negative timeout for failed mount attempts.\n\n- Default: **60**\n\n---\n#### mount_wait (type: Integer)\nTime to wait for a response from mount.\n\n- Default: **-1**\n\n---\n#### umount_wait (type: Integer)\nTime to wait for a response from umount.\n\n- Default: **12**\n\n---\n#### mount_nfs_default_protocol (type: Integer)\nDefault protocol version used by mount.nfs\n\n- Default: **4**\n\n---\n#### append_options (type: String)\nSpecify whether options should be appended to global options or replacing them.\n\n- Default: **'yes'**\n\n---\n#### logging (type: String)\nSet default log level `none`, `verbose` or `debug`.\n\n- Default: **'none'**\n\n---\n#### maps (type: Hash)\nSpecify the maps managed. This value is sent to define `autofs::map`.\n\n- Default: **{}**\n\n---\n#### maps_hiera_merge (type: Boolean)\nIf the module should merge `$maps` from different levels in hiera.\n\n- Default: **false**\n\n---\n#### autofs_package (type: String)\nPackage name for autofs. Unset, this parameter will choose the appropriate default for the system.\n\n- Default: **undef**\n\n---\n#### autofs_sysconfig (type: String)\nAbsolute path for autofs sysconfig location. Unset, this parameter will choose the appropriate default for the system.\n\n- Default: **undef**\n\n---\n#### autofs_service (type: String)\nService name for autofs to manage.\n\n- Default: **'autofs'**\n\n---\n#### autofs_auto_master (type: String)\nAbsolute path for autofs.master location. Unset, this parameter will choose the appropriate default for the system.\n\n- Default: **undef**\n\n---\n#### use_nis_maps (type: Boolean)\nIf the module should load mount maps from NIS.\n\n- Default: **true**\n\n---\n#### nis_master_name (type: String)\nThe name of the NIS map containing the auto.master data.\n\n- Default: **'auto.master'**\n\n---\n#### service_ensure (type: String)\nValue for the service ensure attribute. Valid values are `running` and `stopped`.\n\n- Default: **'running'**\n\n---\n#### service_enable (type: Boolean)\nValue for the service enable attribute.\n\n- Default: **true**\n\n---\n#### use_dash_hosts_for_net (type: Boolean)\nSet this to true makes autofs use `-hosts` for the /net mountpoint. Set to false to use `/etc/auto.net`.\n\n- Default: **true**\n\n---\n## autofs::map parameters\n---\n#### mountpoint (type: String)\nSpecify the mountpoint in `auto.master`.\n\n- Default: **undef**\n\n---\n#### maptype (type: String)\nSpecify maptype for mountpoint in `auto.master`.\n\n- Default: **undef**\n\n---\n#### mapname (type: String)\nThe name for the map in `auto.master`. The default of `undef` will use the name of the key used to specify the mount.\n\n- Default: **undef**\n\n---\n#### mappath (type: String)\nAbsolute path of the map file to be created and used in `auto.master`. The default of `undef` will use the name of the key used to specify the mount with `/etc/auto.` as prefix.\n\n- Default: **undef**\n\n---\n\n#### mounts (type: Array)\nSpecify the mounts to be mounted at mountpoint as an array.\n\n- Default: **[]**\n\n---\n#### manage (type: Boolean)\nBoolean to manage mounts in `auto.master`. Setting it to false will result in `-null` in `auto.master`.\n\n- Default: **true**\n\n---\n#### file (type: String)\nSpecify the mounts to be mounted at mountpoint from a file.\n\n- Default: **undef**\n\n---\n#### options (type: String)\nSpecify extra mount points for this mountpoint in `auto.master`.\n\n- *Default*: undef\n\n---\n# Examples\n\nManage `/home` with mounts from a file on Puppet fileserver:\n\n    autofs::maps:\n      home:\n        mountpoint: 'home'\n        file: 'puppet:///files/autofs/auto.home'\n\nResults in `auto.master` with the following content.\n\n    /home /etc/auto.home\n\nManage `/home` with mounts defined hiera:\n\n    autofs::maps:\n      home:\n        mountpoint: 'home'\n        mounts:\n          - 'user1      nfsserver:/path/to/home/user1'\n          - 'user2      nfsserver:/path/to/home/user2'\n\nResults in `auto.home` with the following content and `auto.master` remaining as above.\n\n    user1      nfsserver:/path/to/home/user1\n    user2      nfsserver:/path/to/home/user2\n\n\nPrevent `/home` from being managed by autofs (NIS included):\n\n    autofs::maps:\n      home:\n          mountpoint: 'home'\n          manage: false\n\nResult in auto.master:\n\n    /home -null\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericsson%2Fpuppet-module-autofs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericsson%2Fpuppet-module-autofs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericsson%2Fpuppet-module-autofs/lists"}