diff options
author | Leif Johansson <leifj@sunet.se> | 2014-10-26 21:05:36 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2014-10-26 21:05:36 +0100 |
commit | ec87ecc78b7c0cfb049401bd316ebeb7b1796185 (patch) | |
tree | 9515794971ff813487ac72583061e35ee33f6c3c /global/overlay/etc | |
parent | 72f76ee393265fef6cac8a9e066961efb857e5ca (diff) |
splitting off ssh access and ufw to a separate class
Diffstat (limited to 'global/overlay/etc')
-rw-r--r-- | global/overlay/etc/puppet/cosmos-modules.conf | 4 | ||||
-rw-r--r-- | global/overlay/etc/puppet/cosmos-rules.yaml | 9 | ||||
-rw-r--r-- | global/overlay/etc/puppet/manifests/cosmos-site.pp | 10 |
3 files changed, 18 insertions, 5 deletions
diff --git a/global/overlay/etc/puppet/cosmos-modules.conf b/global/overlay/etc/puppet/cosmos-modules.conf index 024613f..92fba47 100644 --- a/global/overlay/etc/puppet/cosmos-modules.conf +++ b/global/overlay/etc/puppet/cosmos-modules.conf @@ -17,8 +17,8 @@ hiera-gpg git://github.com/SUNET/hiera-gpg.git no sunet-* pound git://github.com/SUNET/puppet-pound.git yes sunet-* augeas git://github.com/SUNET/puppet-augeas.git yes sunet-* bastion git://github.com/SUNET/puppet-bastion.git yes sunet-* -wordpress hunner/wordpress no -mysql puppetlabs/mysql no +#wordpress hunner/wordpress no +#mysql puppetlabs/mysql no apache puppetlabs/apache no pyff git://github.com/samlbits/puppet-pyff.git yes puppet-pyff-* postgresql git://github.com/SUNET/puppetlabs-postgresql.git yes sunet-* diff --git a/global/overlay/etc/puppet/cosmos-rules.yaml b/global/overlay/etc/puppet/cosmos-rules.yaml index 4fe0137..34ccdfa 100644 --- a/global/overlay/etc/puppet/cosmos-rules.yaml +++ b/global/overlay/etc/puppet/cosmos-rules.yaml @@ -1,12 +1,15 @@ '^cdr\d+\.sunet\.se$': + sshaccess: sunet-cdr: sunetops: '\.swamid\.se$': + sshaccess: sunetops: swamidops: mailclient: domain: sunet.se '\.sunet\.se$': + sshaccess: sunetops: mailclient: domain: sunet.se @@ -27,8 +30,12 @@ mdx2.swamid.se: docker_signer: sto-tug-kvm2.swamid.se: dockerhost: +reep.tid.isoc.org: + sshaccess: + swamidops: + dockerhost: md-master.reep.refeds.org: - sunetops: + sshaccess: swamidops: '^random\d+\.nordu\.net$': entropyserver: diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index 47784c4..7676e61 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -96,6 +96,10 @@ node 'sto-fre-kvm1.swamid.se' { } +node 'reep.tid.isoc.org' { + +} + node 'docker.sunet.se' { docker::image {'registry': } docker::run {'registry': @@ -489,8 +493,7 @@ class sunet-dhcp-hosts { dhcp::host { 'mdx2.swamid': mac => "52:54:00:30:be:dd", ip => "130.242.125.92" } } -class sunetops { - +class sshaccess { package { ['openssh-server', 'emacs23-nox']: ensure => 'installed' } @@ -503,6 +506,9 @@ class sunetops { service { 'ssh': ensure => 'running', } +} + +class sunetops { sunet::server { 'sunet_server': } |