{"id":15284079,"url":"https://github.com/pegasd/puppet-incron","last_synced_at":"2026-04-09T11:43:31.169Z","repository":{"id":57665974,"uuid":"81260742","full_name":"pegasd/puppet-incron","owner":"pegasd","description":"Puppet module to manage incron and related resources","archived":false,"fork":false,"pushed_at":"2019-09-18T07:27:30.000Z","size":206,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-01T06:22:51.639Z","etag":null,"topics":["centos","debian","fedora","incron","incron-job","incrontab","inotify","linux","puppet","redhat","ubuntu"],"latest_commit_sha":null,"homepage":"https://pegasd.github.io/puppet-incron/","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/pegasd.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}},"created_at":"2017-02-07T22:21:08.000Z","updated_at":"2022-05-13T15:14:31.000Z","dependencies_parsed_at":"2022-09-26T20:31:34.640Z","dependency_job_id":null,"html_url":"https://github.com/pegasd/puppet-incron","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pegasd%2Fpuppet-incron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pegasd%2Fpuppet-incron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pegasd%2Fpuppet-incron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pegasd%2Fpuppet-incron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pegasd","download_url":"https://codeload.github.com/pegasd/puppet-incron/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245138173,"owners_count":20566879,"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":["centos","debian","fedora","incron","incron-job","incrontab","inotify","linux","puppet","redhat","ubuntu"],"created_at":"2024-09-30T14:49:09.587Z","updated_at":"2025-12-30T23:29:59.770Z","avatar_url":"https://github.com/pegasd.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Configure and manage incron jobs with focus on tidiness\n\n[![Build Status](https://travis-ci.org/pegasd/puppet-incron.svg?branch=master)](https://travis-ci.org/pegasd/puppet-incron)\n[![Puppet Forge](https://img.shields.io/puppetforge/v/pegas/incron.svg)](https://forge.puppetlabs.com/pegas/incron)\n[![Puppet Forge - Downloads](https://img.shields.io/puppetforge/dt/pegas/incron.svg)](https://forge.puppetlabs.com/pegas/incron)\n[![Puppet Forge - Score](https://img.shields.io/puppetforge/f/pegas/incron.svg)](https://forge.puppetlabs.com/pegas/incron)\n\n\n## Table of Contents\n\n1. [Description](#description)\n2. [Setup - The basics of getting started with incron](#setup)\n3. [Usage - Configuration options and additional functionality](#usage)\n4. [Reference - An under-the-hood peek at what the module is doing and how](#reference)\n5. [Limitations - OS compatibility, etc.](#limitations)\n6. [Development - Guide for contributing to the module](#development)\n\n## Description\n\nThis module is an interface for incron jobs with the main idea to be tidy. That means that any jobs that are not managed should not\nexist on the host.\n\nOnce you `include incron`, simply removing an `incron::job` from your manifests is sufficient for it to be cleaned up on your next\nagent run. No need to `ensure =\u003e absent` anymore. Enjoy!\n\n## Setup\n\n### Beginning with incron\n\nTo start out with incron:\n\n```puppet\ninclude incron\n```\nThis will install the required package, enable incron service and start managing `/etc/incron.d` directory.\n\nWarning: all unmanaged files in `/etc/incron.d` will be removed at this point. Be careful!\n\n## Usage\n\nAll interactions with incron jobs should be done using `incron::job` resource.\n\nIt works with at least 3 parameters:\n\n```puppet\nincron::job { 'upload_file':\n  path    =\u003e '/watched_directory',\n  event   =\u003e 'IN_CLOSE_WRITE',\n  command =\u003e '/usr/local/bin/upload_file $#',\n}\n```\n\n## Reference\n\n### Type Aliases\n\n* `Incron::Event` - supported inotify events.\n\n### Full reference\n\nCheck out [REFERENCE](REFERENCE.md) for up-to-date details.\n\n## Limitations\n\n- Acceptance suite is run on the following GNU/Linux distributions:\n    - Ubuntu 14.04\n    - Ubuntu 16.04\n    - Ubuntu 18.04\n    - Debian 8\n    - CentOS 7\n    - Fedora 30\n\n## Development\n\nI'll be happy to know you're using this for one reason or the other. And if you want to\ncontribute - even better. Feel free to [submit an issue](https://github.com/pegasd/puppet-incron/issues) / [fire up a PR](https://github.com/pegasd/puppet-incron/pulls) / whatever.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpegasd%2Fpuppet-incron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpegasd%2Fpuppet-incron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpegasd%2Fpuppet-incron/lists"}