{"id":15103293,"url":"https://github.com/smoeding/puppet-chattr","last_synced_at":"2026-02-04T10:47:43.774Z","repository":{"id":214635619,"uuid":"736601086","full_name":"smoeding/puppet-chattr","owner":"smoeding","description":"Manage file attributes using Puppet","archived":false,"fork":false,"pushed_at":"2024-01-30T19:08:42.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T11:45:03.987Z","etag":null,"topics":["chattr","puppet","puppet-module"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smoeding.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":"2023-12-28T10:51:10.000Z","updated_at":"2024-09-13T01:36:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"6a2cf478-37d7-408c-bb98-040ff6249dab","html_url":"https://github.com/smoeding/puppet-chattr","commit_stats":null,"previous_names":["smoeding/puppet-chattr"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/smoeding/puppet-chattr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoeding%2Fpuppet-chattr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoeding%2Fpuppet-chattr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoeding%2Fpuppet-chattr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoeding%2Fpuppet-chattr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smoeding","download_url":"https://codeload.github.com/smoeding/puppet-chattr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoeding%2Fpuppet-chattr/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263102729,"owners_count":23414160,"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":["chattr","puppet","puppet-module"],"created_at":"2024-09-25T19:23:13.712Z","updated_at":"2026-02-04T10:47:43.769Z","avatar_url":"https://github.com/smoeding.png","language":"Ruby","readme":"# chattr\n\n[![Build Status](https://github.com/smoeding/puppet-chattr/actions/workflows/CI.yaml/badge.svg)](https://github.com/smoeding/puppet-chattr/actions/workflows/CI.yaml)\n[![Puppet Forge](https://img.shields.io/puppetforge/v/stm/chattr.svg)](https://forge.puppetlabs.com/stm/chattr)\n[![OpenVox](https://img.shields.io/badge/OpenVox-orange?label=Tested%20on)](https://voxpupuli.org/openvox/)\n[![License](https://img.shields.io/github/license/smoeding/puppet-chattr.svg)](https://raw.githubusercontent.com/smoeding/puppet-chattr/master/LICENSE)\n\n## Table of Contents\n\n1. [Description](#description)\n1. [Setup - The basics of getting started with chattr](#setup)\n    * [Setup requirements](#setup-requirements)\n    * [Beginning with chattr](#beginning-with-chattr)\n1. [Usage - Configuration options and additional functionality](#usage)\n1. [Limitations - OS compatibility, etc.](#limitations)\n1. [Development - Guide for contributing to the module](#development)\n\n## Description\n\nThis module contains the `chattr` custom type to add or remove file attributes from a file on a Linux filesystem. One of the most useful file attributes that can be managed with this type is `immutable` to prevent any future modification of the file.\n\n## Setup\n\n### Setup Requirements\n\nThe module contains a custom type so pluginsync must be enabled.\n\n### Beginning with chattr\n\nSet the immutable file attribute for a configuration file that should not be modified after the initial installation:\n\n``` puppet\nchattr { '/etc/machine-id':\n  immutable =\u003e true,\n}\n```\n\n## Usage\n\nThe type implements an optional boolean parameter for each file attribute. The current setting for the file attribute will not be changed if you leave the parameter unset.\n\nSetting the parameter to `true` will set the attribute and setting the parameter to `false` will remove the attribute from the file.\n\n## Limitations\n\nThe module does not yet support all available file attributes.\n\nSome file attributes are read-only and can't be changed.\n\nAlso note that different file systems might support different subsets of the available file attributes. Check if the intended file attribute is really available on your system.\n\n## Development\n\nFeel free to open issues or pull requests on Github.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmoeding%2Fpuppet-chattr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmoeding%2Fpuppet-chattr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmoeding%2Fpuppet-chattr/lists"}