{"id":15022626,"url":"https://github.com/puppetlabs/puppetlabs-mount_core","last_synced_at":"2025-04-05T18:10:40.900Z","repository":{"id":37602572,"uuid":"140610472","full_name":"puppetlabs/puppetlabs-mount_core","owner":"puppetlabs","description":"Manage mounted filesystems","archived":false,"fork":false,"pushed_at":"2025-03-21T12:32:37.000Z","size":237,"stargazers_count":1,"open_issues_count":3,"forks_count":26,"subscribers_count":86,"default_branch":"main","last_synced_at":"2025-03-29T17:11:34.790Z","etag":null,"topics":["module","mount","mountpoint","mounttab","puppet","supported"],"latest_commit_sha":null,"homepage":"","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/puppetlabs.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-11T17:50:21.000Z","updated_at":"2025-03-21T12:32:41.000Z","dependencies_parsed_at":"2023-11-23T00:24:43.048Z","dependency_job_id":"985a6d63-8ab9-45fc-9cf3-10057e187186","html_url":"https://github.com/puppetlabs/puppetlabs-mount_core","commit_stats":{"total_commits":117,"total_committers":21,"mean_commits":5.571428571428571,"dds":0.641025641025641,"last_synced_commit":"b10fd05fe910868b4272c9705a675c073af9455d"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puppetlabs%2Fpuppetlabs-mount_core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puppetlabs%2Fpuppetlabs-mount_core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puppetlabs%2Fpuppetlabs-mount_core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puppetlabs%2Fpuppetlabs-mount_core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/puppetlabs","download_url":"https://codeload.github.com/puppetlabs/puppetlabs-mount_core/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247378149,"owners_count":20929297,"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":["module","mount","mountpoint","mounttab","puppet","supported"],"created_at":"2024-09-24T19:58:12.743Z","updated_at":"2025-04-05T18:10:40.868Z","avatar_url":"https://github.com/puppetlabs.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# mount_core\n\n[![Modules Status](https://github.com/puppetlabs/puppetlabs-mount_core/workflows/%5BDaily%5D%20Unit%20Tests%20with%20nightly%20Puppet%20gem/badge.svg?branch=main)](https://github.com/puppetlabs/puppetlabs-mount_core/actions)\n[![Modules Status](https://github.com/puppetlabs/puppetlabs-mount_core/workflows/Static%20Code%20Analysis/badge.svg?branch=main)](https://github.com/puppetlabs/puppetlabs-mount_core/actions) \n[![Modules Status](https://github.com/puppetlabs/puppetlabs-mount_core/workflows/Unit%20Tests%20with%20nightly%20Puppet%20gem/badge.svg?branch=main)](https://github.com/puppetlabs/puppetlabs-mount_core/actions) \n[![Modules Status](https://github.com/puppetlabs/puppetlabs-mount_core/workflows/Unit%20Tests%20with%20released%20Puppet%20gem/badge.svg?branch=main)](https://github.com/puppetlabs/puppetlabs-mount_core/actions)\n\n\n#### Table of Contents\n\n1. [Description](#description)\n2. [Setup - The basics of getting started with mount_core](#setup)\n    * [What mount_core affects](#what-mount-affects)\n3. [Usage - Configuration options and additional functionality](#usage)\n4. [Reference - An under-the-hook peek at what the module is doing and how](#reference)\n5. [Development - Guide for contributing to the module](#development)\n\n\u003ca id=\"description\"\u003e\u003c/a\u003e\n## Description\n\nThe mount_core module manages mounted filesystems and mount tables. The module\nhas some limitations, and you may be better off using the [mount_providers\nmodule](https://forge.puppet.com/puppetlabs/mount_providers), which can manage\nmountpoints and mounttab resources independently.\n\n\u003ca id=\"setup\"\u003e\u003c/a\u003e\n## Setup\n\n\u003ca id=\"what-mount-affects\"\u003e\u003c/a\u003e\n### What mount_core affects\n\nThe module can mount and unmount filesystems, and manage mount tables such as\n`/etc/fstab`, `/etc/vfstab`, or `/etc/filesystems` depending on your operating system.\n\nMount resources can respond to refresh events, and can remount a filesystem in\nresponse to an event from another resource.\n\nMount resources automatically create relationships with directories that are\neither ancestors of the mounted directory or children. This way Puppet will\nautomatically create ancestor directories before the mount point, and will do\nthat before managing directories and files within the mounted directory.\n\n\u003ca id=\"usage\"\u003e\u003c/a\u003e\n## Usage\n\nTo mount the device `/dev/foo` at `/mnt/foo` as read-only, use the following code:\n\n```\nmount { '/mnt/foo':\n  ensure  =\u003e 'mounted',\n  device  =\u003e '/dev/foo',\n  fstype  =\u003e 'ext3',\n  options =\u003e 'ro',\n}\n```\n\n\u003ca id=\"reference\"\u003e\u003c/a\u003e\n## Reference\n\nPlease see REFERENCE.md for the reference documentation.\n\nThis module is documented using Puppet Strings.\n\nFor a quick primer on how Strings works, please see [this blog post](https://puppet.com/blog/using-puppet-strings-generate-great-documentation-puppet-modules) or the [README.md](https://github.com/puppetlabs/puppet-strings/blob/master/README.md) for Puppet Strings.\n\nTo generate documentation locally, run the following command:\n```\nbundle install\nbundle exec puppet strings generate ./lib/**/*.rb\n```\nThis command will create a browsable `_index.html` file in the `doc` directory. The references available here are all generated from YARD-style comments embedded in the code base. When any development happens on this module, the impacted documentation should also be updated.\n\n\u003ca id=\"development\"\u003e\u003c/a\u003e\n## Development\n\nPuppet Labs modules on the Puppet Forge are open projects, and community contributions are essential for keeping them great. We can't access the huge number of platforms and myriad of hardware, software, and deployment configurations that Puppet is intended to serve.\n\nWe want to keep it as easy as possible to contribute changes so that our modules work in your environment. There are a few guidelines that we need contributors to follow so that we can have a chance of keeping on top of things.\n\nFor more information, see our [module contribution guide](https://puppet.com/docs/puppet/latest/contributing.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpuppetlabs%2Fpuppetlabs-mount_core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpuppetlabs%2Fpuppetlabs-mount_core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpuppetlabs%2Fpuppetlabs-mount_core/lists"}