diff options
author | Leif Johansson <leifj@sunet.se> | 2014-03-25 08:41:13 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2014-03-25 08:41:13 +0100 |
commit | 3d6690cec5be020c663b0cc46916dcdb9a42614b (patch) | |
tree | 876f3a5f770fc71d4f373e9c4d47db4f9a4efb77 | |
parent | ab9d6b2a1a105c52852c0c25b65db9f5fb82ce41 (diff) | |
parent | 10d9b18fb5285d4a5e1f41d37b9c9227e3d8ba85 (diff) |
Merge branch 'master' of git.nordu.net:sunet-ops
-rw-r--r-- | global/overlay/etc/cosmos/keys/ft-4030CCAD.pub | 47 | ||||
-rw-r--r-- | global/overlay/etc/puppet/manifests/cosmos-site.pp | 55 |
2 files changed, 60 insertions, 42 deletions
diff --git a/global/overlay/etc/cosmos/keys/ft-4030CCAD.pub b/global/overlay/etc/cosmos/keys/ft-4030CCAD.pub index 382e9aa..8b04a43 100644 --- a/global/overlay/etc/cosmos/keys/ft-4030CCAD.pub +++ b/global/overlay/etc/cosmos/keys/ft-4030CCAD.pub @@ -14,18 +14,37 @@ CACsroVddZd3IONomyLWEa6h2X/L5gF0N/VnSB+pXHqDETJ4u9UTC+be8pqlIhfA dkfPlQOxUbqXwXnjQy8UlnJAl0lFclugercS/Q1Ij1eEZi4UIadLlbAxw5HzpQsr 7+z2MJEpX8NW7ZEGhXbU6ULJV0+q5YKiAkrX1VTM/4yJ5lZLZSLfXAlBjmSqDBS5 uc5jG6E6ORkXUDlGwV17LY8b4pn3mCTN6vR6eGu9ZFgRzjbMcZVHW0wcA4e4eouK -HiaktvQ+qDSpefaCfj8aI7xHuQENBFKc1s0BCACXeL1RFvXY3AEhm+AtLvKJQNjo -cgEk/UZp+P3+e0MmVf9BR1O5+NW2mBH3mO6itUv0w2R2athJCdKR8MW4WLpJ1myi -nR7bBFOZS7XxZM5acN4WSN3b6d/E+7YUVWw4CM6IqWMUdVKtOAMCIuP4eU6QHGcb -yDTtBYUzEA1eP55pyFEKe46dJ8tdIgyGePo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+ZJDdheYD2A1yn+vI6ORyYtEeoyzpIOH+KFxT8rSoVyYQgvxFfDcoGJSJASUEGAEK +AA8CGwwFAlMwKlgFCQGAoYkACgkQJwczDUAwzK1Omwf/Y4pTFxjPp4qEhwvu4RRE +/TLJE2/OZ12juU7kU2DL7eVF+28dzVwewlK/vu8vHQrfb+eahTIwTf8N2MAkggIF +itzeR30HnnAGTzSkef2wiPYWzzYMHl8lTK5WFcaojk03tkR+SMOnUl4vPnIjvPIm +DDvEgw8luz9+oez5edUDbeEi4Ei+qDEoK95qUhJr37eO2E9PyjVpPPAnot0Y7Bm1 +hVErD/mUE9sEp9emGx1i7wjg99XQHqPedEjDEdY7trSxb3+Np0eALidh/EKsh35m +ZsB+AKFXZD13121o6uASwBzmyBTDgFOmU+blPhEIDLACmwWLMXaB5lMmUYXUI+St +mA== +=3gw+ -----END PGP PUBLIC KEY BLOCK----- diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index 909116c..4530f3e 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -51,7 +51,9 @@ node 'sto-tug-kvm1.swamid.se' { ntpservers => ['ntp1.nordu.net','ntp2.nordu.net','Time1.Stupi.SE'], interfaces => ['eth0'], #pxeserver => '130.242.125.5', - #pxefilename => 'pxelinux.0' + #pxefilename => 'pxelinux.0', + default_lease_time => '86400', + max_lease_time => '172800', } class { 'sunet-dhcp-hosts': } @@ -59,7 +61,7 @@ node 'sto-tug-kvm1.swamid.se' { } node 'sto-tug-kvm-lab1.swamid.se' { - + package {'python-vm-builder': ensure => 'installed', } -> @@ -164,34 +166,31 @@ class sunet-dhcp-hosts { # eduID TUG hosts - dhcp::host { 'kvmidp-tug-2_eth0': mac => "24:b6:fd:fe:fa:51", ip => "130.242.130.4", hostname => 'kvmidp-tug-2'; } - dhcp::host { 'kvmidp-tug-2_eth1': mac => "24:b6:fd:fe:fa:52", ip => "130.242.130.4", hostname => 'kvmidp-tug-2'; } - - dhcp::host { 'idp-tug-2a': mac => "52:54:00:01:00:01", ip => "130.242.130.5"; } - - dhcp::host { 'idp-tug-2b': mac => "52:54:00:01:00:02", ip => "130.242.130.6"; } + dhcp::host { 'kvmidp-tug-3_eth0': mac => "24:b6:fd:fe:fa:51", ip => "130.242.130.4", hostname => 'kvmidp-tug-3'; } + dhcp::host { 'kvmidp-tug-3_eth1': mac => "24:b6:fd:fe:fa:52", ip => "130.242.130.4", hostname => 'kvmidp-tug-3'; } - dhcp::host { 'auth-tug-2_eth0': mac => "f0:4d:a2:73:4e:9b", ip => "130.242.130.12", hostname => 'auth-tug-2'; } - dhcp::host { 'auth-tug-2_eth1': mac => "f0:4d:a2:73:4e:9c", ip => "130.242.130.12", hostname => 'auth-tug-2'; } + dhcp::host { 'idp-tug-3a': mac => "52:54:00:01:00:01", ip => "130.242.130.5"; } - dhcp::host { 'kvm-tug-2_eth0': mac => "f0:4d:a2:73:4f:82", ip => "130.242.130.20", hostname => 'kvm-tug-2'; } - dhcp::host { 'kvm-tug-2_eth1': mac => "f0:4d:a2:73:4f:83", ip => "130.242.130.20", hostname => 'kvm-tug-2'; } + dhcp::host { 'idp-tug-3b': mac => "52:54:00:01:00:02", ip => "130.242.130.6"; } - dhcp::host { 'db-tug-2_eth0': mac => "24:b6:fd:fe:fa:f0", ip => "130.242.130.21", hostname => 'db-tug-2'; } - dhcp::host { 'db-tug-2_eth1': mac => "24:b6:fd:fe:fa:f1", ip => "130.242.130.21", hostname => 'db-tug-2'; } + dhcp::host { 'auth-tug-3_eth0': mac => "f0:4d:a2:73:4e:9b", ip => "130.242.130.12", hostname => 'auth-tug-3'; } + dhcp::host { 'auth-tug-3_eth1': mac => "f0:4d:a2:73:4e:9c", ip => "130.242.130.12", hostname => 'auth-tug-3'; } - dhcp::host { 'mq-tug-2': mac => "52:54:00:03:00:22", ip => "130.242.130.22"; } + dhcp::host { 'kvm-tug-3_eth0': mac => "f0:4d:a2:73:4f:82", ip => "130.242.130.20", hostname => 'kvm-tug-3'; } + dhcp::host { 'kvm-tug-3_eth1': mac => "f0:4d:a2:73:4f:83", ip => "130.242.130.20", hostname => 'kvm-tug-3'; } - dhcp::host { 'worker-tug-2': mac => "52:54:00:03:00:23", ip => "130.242.130.23"; } + dhcp::host { 'db-tug-3_eth0': mac => "24:b6:fd:fe:fa:f0", ip => "130.242.130.21", hostname => 'db-tug-3'; } + dhcp::host { 'db-tug-3_eth1': mac => "24:b6:fd:fe:fa:f1", ip => "130.242.130.21", hostname => 'db-tug-3'; } - dhcp::host { 'signup-tug-2': mac => "52:54:00:03:00:24", ip => "130.242.130.24"; } + dhcp::host { 'mq-tug-3': mac => "52:54:00:03:00:22", ip => "130.242.130.22"; } + dhcp::host { 'worker-tug-3': mac => "52:54:00:03:00:23", ip => "130.242.130.23"; } + dhcp::host { 'signup-tug-3': mac => "52:54:00:03:00:24", ip => "130.242.130.24"; } + dhcp::host { 'helpdesk-tug-3': mac => "52:54:00:03:00:25", ip => "130.242.130.25"; } + dhcp::host { 'www-tug-3': mac => "52:54:00:03:00:26", ip => "130.242.130.26"; } + dhcp::host { 'monitor-tug-3': mac => "52:54:00:03:00:27", ip => "130.242.130.27"; } - dhcp::host { 'helpdesk-tug-2': mac => "52:54:00:03:00:25", ip => "130.242.130.25"; } - - dhcp::host { 'www-tug-2': mac => "52:54:00:03:00:26", ip => "130.242.130.26"; } - - dhcp::host { 'dashboard-tug-2_eth0': mac => "f0:4d:a2:73:4f:0d", ip => "130.242.130.30", hostname => 'dashboard-tug-2'; } - dhcp::host { 'dashboard-tug-2_eth1': mac => "f0:4d:a2:73:4f:0e", ip => "130.242.130.30", hostname => 'dashboard-tug-2'; } + dhcp::host { 'kvmapp-tug-3_eth0': mac => "f0:4d:a2:73:4f:0d", ip => "130.242.130.30", hostname => 'kvmapp-tug-3'; } + dhcp::host { 'kvmapp-tug-3_eth1': mac => "f0:4d:a2:73:4f:0e", ip => "130.242.130.30", hostname => 'kvmapp-tug-3'; } # eduID FRE hosts @@ -223,8 +222,8 @@ class sunet-dhcp-hosts { # eduID LLA hosts - dhcp::host { 'db-lla-2_eth0': mac => "f0:4d:a2:73:4e:08", ip => "130.242.130.148", hostname => 'db-lla-2'; } - dhcp::host { 'db-lla-2_eth1': mac => "f0:4d:a2:73:4e:09", ip => "130.242.130.148", hostname => 'db-lla-2'; } + dhcp::host { 'db-lla-3_eth0': mac => "f0:4d:a2:73:4e:08", ip => "130.242.130.148", hostname => 'db-lla-3'; } + dhcp::host { 'db-lla-3_eth1': mac => "f0:4d:a2:73:4e:09", ip => "130.242.130.148", hostname => 'db-lla-3'; } @@ -347,7 +346,7 @@ node 'samltest.swamid.se' { user => 'root', name => 'roland.hedberg@adm.umu.se' } - + } class swamidops { @@ -370,7 +369,7 @@ class swamidops { key => 'AAAAB3NzaC1yc2EAAAADAQABAAABAQC1fzNy2/nmIwyrHX2FJhjmkfc0BKqVMBKJoM+NyNI9T0tWe/Vmpa4xnRwZ/qBZgk1Gh2ttjY+PiT9Y1VXQLJ7YMNJezoD5xT3MmOlj5vQPP2d6ZC+pqADatBUpdnI65GQZfXSbiYVpc3b/WzieYKoGo8wk1JuXF1McEH5oXViUW96R4PuB+nXowSE1a7lmLXIiWov/qHa+5LwZQ8l8Xw46gh6AOtnvKJeUsgUvGMC/SnSBiZrfruyQCvNrzdjFQHKW79sWRPRBfU356583QmuqYprQ5gINA4zVbwfT1xaFYqsb+/IUX+Hcw5wlWdfTxhzvzelgg0qVVvRrqEhwMtgN', ensure => present, user => 'root', - name => 'fredrik.aslund@umu.se/epass2003/130409' + name => 'fredrik.aslund@umu.se/epass2003/130409' } } @@ -381,7 +380,7 @@ node 'dane.lab.sunet.se' { node 'wp.sunet.se' { package {'libapache2-mod-php5': ensure => 'latest'} package {'php5-mysql': ensure => 'latest'} - class {'apache': + class {'apache': mpm_module => 'prefork', default_vhost => false } |