{"id":15517617,"url":"https://github.com/bodgit/puppet-avahi","last_synced_at":"2025-04-11T01:44:37.913Z","repository":{"id":49412939,"uuid":"66308043","full_name":"bodgit/puppet-avahi","owner":"bodgit","description":"Puppet Module for managing Avahi","archived":false,"fork":false,"pushed_at":"2021-06-18T21:54:07.000Z","size":176,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-15T09:53:57.080Z","etag":null,"topics":["avahi","puppet"],"latest_commit_sha":null,"homepage":"https://forge.puppetlabs.com/bodgit/avahi","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/bodgit.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":"2016-08-22T21:02:35.000Z","updated_at":"2021-06-18T21:54:03.000Z","dependencies_parsed_at":"2022-09-10T17:31:35.435Z","dependency_job_id":null,"html_url":"https://github.com/bodgit/puppet-avahi","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodgit%2Fpuppet-avahi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodgit%2Fpuppet-avahi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodgit%2Fpuppet-avahi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodgit%2Fpuppet-avahi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bodgit","download_url":"https://codeload.github.com/bodgit/puppet-avahi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248327796,"owners_count":21085257,"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":["avahi","puppet"],"created_at":"2024-10-02T10:13:54.495Z","updated_at":"2025-04-11T01:44:37.891Z","avatar_url":"https://github.com/bodgit.png","language":"Ruby","readme":"# avahi\n\n[![Build Status](https://img.shields.io/github/workflow/status/bodgit/puppet-avahi/Test)](https://github.com/bodgit/puppet-avahi/actions?query=workflow%3ATest)\n[![Codecov](https://img.shields.io/codecov/c/github/bodgit/puppet-avahi)](https://codecov.io/gh/bodgit/puppet-avahi)\n[![Puppet Forge version](http://img.shields.io/puppetforge/v/bodgit/avahi)](https://forge.puppetlabs.com/bodgit/avahi)\n[![Puppet Forge downloads](https://img.shields.io/puppetforge/dt/bodgit/avahi)](https://forge.puppetlabs.com/bodgit/avahi)\n[![Puppet Forge - PDK version](https://img.shields.io/puppetforge/pdk-version/bodgit/avahi)](https://forge.puppetlabs.com/bodgit/avahi)\n\n#### Table of Contents\n\n1. [Description](#description)\n2. [Setup - The basics of getting started with avahi](#setup)\n    * [Beginning with avahi](#beginning-with-avahi)\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 manages Avahi for mDNS/DNS-SD services.\n\nRHEL/CentOS, Ubuntu, Debian and OpenBSD are supported using Puppet 5 or\nlater.\n\n## Setup\n\n### Beginning with avahi\n\nIn the very simplest case, you can just include the following:\n\n```puppet\ninclude dbus\ninclude avahi\n```\n\n## Usage\n\nInstall Avahi and add static service definitions for SSH and SFTP:\n\n```puppet\ninclude dbus\ninclude avahi\n\navahi::service { 'ssh':\n  description       =\u003e '%h',\n  replace_wildcards =\u003e true,\n  services          =\u003e [\n    {\n      'type' =\u003e '_ssh._tcp',\n      'port' =\u003e 22,\n    },\n  ],\n}\n\navahi::service { 'sftp-ssh':\n  description       =\u003e '%h',\n  replace_wildcards =\u003e true,\n  services          =\u003e [\n    {\n      'type' =\u003e '_sftp-ssh._tcp',\n      'port' =\u003e 22,\n    },\n  ],\n}\n```\n\nInstall Avahi and add a static host entry on behalf of an mDNS-unaware router:\n\n```puppet\ninclude dbus\ninclude avahi\n\navahi_host { 'router.local':\n  ensure =\u003e present,\n  ip     =\u003e '192.0.2.1',\n}\n```\n\n## Reference\n\nThe reference documentation is generated with\n[puppet-strings](https://github.com/puppetlabs/puppet-strings) and the latest\nversion of the documentation is hosted at\n[https://bodgit.github.io/puppet-avahi/](https://bodgit.github.io/puppet-avahi/)\nand available also in the [REFERENCE.md](https://github.com/bodgit/puppet-avahi/blob/main/REFERENCE.md).\n\n## Limitations\n\nThis module has been built on and tested against Puppet 5 and higher.\n\nThe module has been tested on:\n\n* Red Hat/CentOS Enterprise Linux 6/7/8\n* Ubuntu 16.04/18.04/20.04\n* Debian 9/10\n* OpenBSD 6.9\n\n## Development\n\nThe module relies on [PDK](https://puppet.com/docs/pdk/1.x/pdk.html) and has\nboth [rspec-puppet](http://rspec-puppet.com) and\n[Litmus](https://github.com/puppetlabs/puppet_litmus) tests. Run them\nwith:\n\n```\n$ bundle exec rake spec\n$ bundle exec rake litmus:*\n```\n\nPlease log issues or pull requests at\n[github](https://github.com/bodgit/puppet-avahi).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbodgit%2Fpuppet-avahi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbodgit%2Fpuppet-avahi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbodgit%2Fpuppet-avahi/lists"}