Resource Type: avahi_host

Defined in:
lib/puppet/type/avahi_host.rb
Providers:
augeas

Overview

Manages an Avahi host entry.

Examples:

Add a static host entry on behalf of an mDNS-unaware router

include ::dbus
include ::avahi

avahi_host { 'router.local':
  ensure => present,
  ip     => '192.0.2.1',
}

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • ip

    The IP address of the host, either IPv4 or IPv6.

Parameters

  • name (namevar)

    The host name.

  • provider

    The specific backend to use for this avahi_host resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.

  • target (defaults to: /etc/avahi/hosts)

    The file in which to store the settings, defaults to /etc/avahi/hosts.