aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Modulefile10
-rw-r--r--README13
-rw-r--r--manifests/init.pp7
3 files changed, 19 insertions, 11 deletions
diff --git a/Modulefile b/Modulefile
index 6056563..3faa09e 100644
--- a/Modulefile
+++ b/Modulefile
@@ -1,11 +1,11 @@
name 'stahnma-avahi'
version '0.0.1'
-source 'UNKNOWN'
+source 'https://github.com/stahnma/puppet-module-avahi'
author 'stahnma'
license 'Apache License, Version 2.0'
-summary 'UNKNOWN'
-description 'UNKNOWN'
-project_page 'UNKNOWN'
+summary 'Zeroconf avahi setup for Linux'
+description 'Setup avahi in simple ways'
+project_page 'https://github.com/stahnma/puppet-module-avahi'
## Add dependencies, if any:
-dependency 'cprice404-inifile', '>= 1.2.0'
+dependency 'cprice404-inifile', '>= 0.0.3'
diff --git a/README b/README
index 64ce0b5..563dcb3 100644
--- a/README
+++ b/README
@@ -1,6 +1,13 @@
-avahi
+# avahi
+With this avahi module you'll be able to hit other nodes on your local network using zeroconf. This includes connecting to Macs and other Linux systems.
-This is the avahi module.
+You'll often be able to see other systems as something.local.
+
+ avahi-browse -a
+
+is the normal way to see what's available via zeroconf.
+
+See also: [Zeroconf](http://en.wikipedia.org/wiki/Zero_configuration_networking)
License
-------
@@ -14,4 +21,4 @@ stahnma@fedoraproject.org
Support
-------
-none
+[File issues](https://github.com/stahnma/puppet-module-avahi/issues)
diff --git a/manifests/init.pp b/manifests/init.pp
index 39b88eb..187705e 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -1,13 +1,12 @@
# == Class: avahi
#
-# This module sets up avahi on EL based systems.
+# This module sets up avahi on EL/Debian based systems.
#
+# Tested on EL6 and Wheezy
#
# Requirements:
# cprice404-inifile >= 0.0.3
#
-# === Parameters
-#
# === Examples
#
# class { avahi: }
@@ -26,10 +25,12 @@ class avahi inherits avahi::params {
package { $avahi_main:
ensure => installed,
}
+
package { $avahi_tools:
ensure => installed,
require => Package[$avahi_main]
}
+
package { $avahi_mdns:
ensure => installed,
require => Package[$avahi_main]