{"id":16615290,"url":"https://github.com/jonmosco/puppet-logwatch","last_synced_at":"2025-10-10T01:18:16.297Z","repository":{"id":23722770,"uuid":"27095751","full_name":"jonmosco/puppet-logwatch","owner":"jonmosco","description":"Puppet module for logwatch","archived":false,"fork":false,"pushed_at":"2021-12-24T15:08:39.000Z","size":41,"stargazers_count":0,"open_issues_count":3,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-10T14:59:36.992Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonmosco.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":"2014-11-24T21:21:52.000Z","updated_at":"2018-08-02T21:41:06.000Z","dependencies_parsed_at":"2022-08-22T03:31:01.652Z","dependency_job_id":null,"html_url":"https://github.com/jonmosco/puppet-logwatch","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/jonmosco/puppet-logwatch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonmosco%2Fpuppet-logwatch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonmosco%2Fpuppet-logwatch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonmosco%2Fpuppet-logwatch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonmosco%2Fpuppet-logwatch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonmosco","download_url":"https://codeload.github.com/jonmosco/puppet-logwatch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonmosco%2Fpuppet-logwatch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002398,"owners_count":26083373,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-12T02:09:07.976Z","updated_at":"2025-10-10T01:18:16.283Z","avatar_url":"https://github.com/jonmosco.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# logwatch\n\n[![Build Status](https://travis-ci.org/jonmosco/puppet-logwatch.svg?branch=master)](https://travis-ci.org/jonmosco/puppet-logwatch)\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 logwatch](#setup)\n  ¦ * [What logwatch affects](#what-logwatch-affects)\n  ¦ * [Setup requirements](#setup-requirements)\n4. [Usage - Configuration options and additional functionality](#usage)\n5. [Reference - An under-the-hood peek at what the module is doing and how](#reference)\n6. [Limitations - OS compatibility, etc.](#limitations)\n7. [Development - Guide for contributing to the module](#development)\n    * [Contributing](#contributing)\n\n## Overview\n\nThe logwatch module configures logwatch on Linux bases systems.\n\n## Module Description\n\nThe logwatch module will manage the installation and configuration of logwatch\non Linux based systems.\n\n## Setup\n\n**NOTE: You must have a proper MTA installed and configured to send mail externally.**\n\n### Stdlib\n\nThis module requires puppetlabs-stdlib \u003e= 3.2.0\n\n### What logwatch affects\n\n * logwatch package.\n * logwatch configuration files.\n\n## Usage\n\n#### Using default values\n\n```puppet\n  class { '::logwatch': }\n```\n\n#### Using available parameters\n\n```puppet\n class { '::logwatch':\n   mail_to   =\u003e [ 'test@test.com ', 'more@test.com' ],\n   mail_from =\u003e 'puppet@test.com',\n   service   =\u003e [ 'sshd', 'httpd' ],\n }\n```\n\n#### Managing `ignore.conf`\n\nAdd a regex to `ignore.conf` to suppress that output from the logwatch report\n\n```puppet\n  logwatch::ignore { 'my_rule':\n    regex =\u003e 'ignore_lines_that_match_this_regex',\n  }\n```\n\n## Reference\n\n### Classes\n\n#### Public Classes\n\n* logwatch: Main class, includes all other classes.\n* logwatch::ignore: Manage the contents of `ignore.conf`\n\n#### Private Classes\n\n* logwatch::install: Handles the packages.\n* logwatch::config: Handles the configuration file.\n\n#### Parameters\n\n##### `logwatch`\n\n```\noutput\nformat\nmail_to\nmail_from\nrange\ndetail\nservice\npackage_ensure\npackage_name\n```\n\n##### `logwatch::ignore`\n\n```\nregex\n```\n\n## Limitations\n\nThis module has been built on and tested against Puppet 3.\n\nThe module has been tested on:\n\n* RedHat Enterprise Linux 6/7\n* CentOS 6/7\n* Ubuntu 12.04/14.04\n\n## Development\n\n### Contributing\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonmosco%2Fpuppet-logwatch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonmosco%2Fpuppet-logwatch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonmosco%2Fpuppet-logwatch/lists"}