From 2b48d67bb5bf25cb24146a77ec8c3ba79a30fe11 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Fri, 1 Nov 2013 09:24:55 +0100 Subject: dhcp 1st cut --- global/overlay/etc/puppet/manifests/cosmos-site.pp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index 9a0fa9d..23023e0 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -56,3 +56,17 @@ ufw::allow {"allow-ssh-tcp": port => 22, proto => 'tcp' } + +node sto-tug-kvm1.swamid.se { + class { 'dhcp': + nameservers => ['130.242.80.14','130.242.80.99'], + ntpservers => ['pool.ntp.org'], + interfaces => ['eth0'], + #pxeserver => '130.242.125.5', + #pxefilename => 'pxelinux.0' + } + + dhcp::host { + 'foo': mac => "00:50:56:00:00:01", ip => "10.0.1.51"; + } +} -- cgit v1.1