Skip to content

Instantly share code, notes, and snippets.

@apple-corps
Created July 21, 2014 18:22
Show Gist options
  • Save apple-corps/ca358e5cd6e11ca221ac to your computer and use it in GitHub Desktop.
Save apple-corps/ca358e5cd6e11ca221ac to your computer and use it in GitHub Desktop.
Cannot install puppet module maestrodev-avahi-1.1.0
puppet apply -e maestrodev-avahi-1.1.0
Error: Could not parse for environment production: Syntax error at '.' at line 1 on node rhel1.local
@apple-corps
Copy link
Author

Jul 21 12:16:42 rhel1 avahi-daemon[5284]: SO_REUSEPORT failed: Protocol not available
Jul 21 12:16:42 rhel1 avahi-daemon[5284]: Failed to create server: No suitable network protocol available

@apple-corps
Copy link
Author

sudo rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-6.noarch.rpm

rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

yum install puppet

puppet module install 'maestrodev-avahi'

puppet apply -e 'include avahi'

sed -i 's|^#(disallow-other-stacks=)no|\1yes|g' /etc/avahi/avahi-daemon.conf

avahi-autoipd -D

@apple-corps
Copy link
Author

Can install it now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment