summaryrefslogtreecommitdiff
path: root/global/overlay
diff options
context:
space:
mode:
Diffstat (limited to 'global/overlay')
-rw-r--r--global/overlay/etc/puppet/manifests/cosmos-site.pp12
1 files changed, 7 insertions, 5 deletions
diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp
index c886cf1..67ae10f 100644
--- a/global/overlay/etc/puppet/manifests/cosmos-site.pp
+++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp
@@ -7,7 +7,6 @@ Exec {
include sunet::tools
include sunet::motd
include sunet::ntp
-include cosmos::rngtools
include ufw
include apt
include cosmos
@@ -27,9 +26,16 @@ class sshaccess {
}
}
+class mailclient ($domain) {
+ sunet::preseed_package {"postfix": ensure => present, options => {domain => $domain}}
+}
+
# you need a default node, all nodes need ssh + ufw
node default {
include sshaccess
+ if $::hostname !~ /random/ {
+ include sunet::simple_entropy
+ }
}
class dockerhost {
@@ -59,10 +65,6 @@ class webserver {
}
}
-class mailclient ($domain) {
- sunet::preseed_package {"postfix": ensure => present, options => {domain => $domain}}
-}
-
node 'sto-tug-kvm1.swamid.se' {
package {'python-vm-builder':