diff options
author | Leif Johansson <leifj@sunet.se> | 2013-11-01 09:24:55 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2013-11-01 09:24:55 +0100 |
commit | 2b48d67bb5bf25cb24146a77ec8c3ba79a30fe11 (patch) | |
tree | d1b6404d69e53d464c2d1bdd8778f04e2edc35c9 /global/overlay/etc/puppet/manifests | |
parent | 0106ed242481d0d169d9808a59008ca65a056641 (diff) |
dhcp 1st cutsunet-ops-2013-11-01-v05
Diffstat (limited to 'global/overlay/etc/puppet/manifests')
-rw-r--r-- | global/overlay/etc/puppet/manifests/cosmos-site.pp | 14 |
1 files changed, 14 insertions, 0 deletions
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"; + } +} |