Skip to content

Instantly share code, notes, and snippets.

@cprice404
Created March 23, 2012 21:31
Show Gist options
  • Save cprice404/2175277 to your computer and use it in GitHub Desktop.
Save cprice404/2175277 to your computer and use it in GitHub Desktop.
config files on acceptance vms
HOSTS:
pe-ubuntu-lucid:
roles:
- master
platform: ubuntu-10.04-i386
pe-centos6:
roles:
- agent
platform: el-6-i386
CONFIG:
filecount: 12
nfs_server: 192.168.97.1
pe_nfs_mount: /mnt/ro/pe
[root@pe-centos6 ~]# rpm -qa |grep -i avahi
avahi-0.6.25-11.el6.i686
avahi-libs-0.6.25-11.el6.i686
[root@pe-centos6 ~]# hostname
pe-centos6
[root@pe-centos6 ~]# facter fqdn
pe-centos6.local
[root@pe-centos6 ~]#
root@pe-ubuntu-lucid:~# dpkg -l |grep -i avahi
ii avahi-daemon 0.6.25-1ubuntu6.2 Avahi mDNS/DNS-SD daemon
ii libavahi-common-data 0.6.25-1ubuntu6.2 Avahi common data files
ii libavahi-common3 0.6.25-1ubuntu6.2 Avahi common library
ii libavahi-core6 0.6.25-1ubuntu6.2 Avahi's embeddable mDNS/DNS-SD library
root@pe-ubuntu-lucid:~# hostname -f
pe-ubuntu-lucid.local
root@pe-ubuntu-lucid:~# hostname -s
pe-ubuntu-lucid
root@pe-ubuntu-lucid:~# facter fqdn
pe-ubuntu-lucid.local
root@pe-ubuntu-lucid:~#
# Configuration file for /sbin/dhclient, which is included in Debian's
# dhcp3-client package.
#
# This is a sample configuration file for dhclient. See dhclient.conf's
# man page for more information about the syntax of this file
# and a more comprehensive list of the parameters understood by
# dhclient.
#
# Normally, if the DHCP server provides reasonable information and does
# not leave anything out (like the domain name, for example), then
# few changes must be made to this file, if any.
#
option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
send host-name "<hostname>";
#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
#send dhcp-lease-time 3600;
#supersede domain-name "fugue.com home.vix.com";
supersede domain-name "local";
#prepend domain-name-servers 127.0.0.1;
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, domain-search, host-name,
netbios-name-servers, netbios-scope, interface-mtu,
rfc3442-classless-static-routes, ntp-servers;
#require subnet-mask, domain-name-servers;
#timeout 60;
#retry 60;
#reboot 10;
#select-timeout 5;
#initial-interval 2;
#script "/etc/dhcp3/dhclient-script";
#media "-link0 -link1 -link2", "link0 link1";
#reject 192.33.137.209;
#alias {
# interface "eth0";
# fixed-address 192.5.5.213;
# option subnet-mask 255.255.255.255;
#}
#lease {
# interface "eth0";
# fixed-address 192.33.137.200;
# medium "link0 link1";
# option host-name "andare.swiftmedia.com";
# option subnet-mask 255.255.255.0;
# option broadcast-address 192.33.137.255;
# option routers 192.33.137.250;
# option domain-name-servers 127.0.0.1;
# renew 2 2000/1/12 00:00:01;
# rebind 2 2000/1/12 00:00:01;
# expire 2 2000/1/12 00:00:01;
#}
supersede domain-name "local";
# HEADER: This file was autogenerated at Fri Mar 09 10:37:37 -0800 2012
# HEADER: by puppet. While it can still be managed manually, it
# HEADER: is definitely not recommended.
127.0.0.1 pe-centos6.local pe-centos6 localhost localhost.local
192.168.228.1 cosmicshame
192.168.228.128 pe-ubuntu-lucid
127.0.0.1 pe-ubuntu-lucid.local pe-ubuntu-lucid localhost
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
192.168.100.238 cosmicshame
192.168.228.131 pe-centos6.local pe-centos6
192.168.228.128 pe-ubuntu-lucid
NETWORKING=yes
HOSTNAME=pe-centos6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment