summaryrefslogtreecommitdiff
path: root/code
diff options
context:
space:
mode:
authorBenjamin Schlüter <bschlueter@posteo.de>2018-04-18 16:08:38 +0200
committerBenjamin Schlüter <bschlueter@posteo.de>2018-04-18 16:08:38 +0200
commit268bee680b2d078cf90d758881ed1a9cebc3e9e5 (patch)
tree6c721d64d26d348dc69aaf778ffc5173c0a70304 /code
parentb440eaec270d922f5756b2b54139dbd57c55ec0c (diff)
downloadpuppet.KATH-268bee680b2d078cf90d758881ed1a9cebc3e9e5.tar.gz
puppet.KATH-268bee680b2d078cf90d758881ed1a9cebc3e9e5.tar.bz2
puppet.KATH-268bee680b2d078cf90d758881ed1a9cebc3e9e5.zip
Change regex in node definition to a more optimized expression.
Diffstat (limited to 'code')
-rw-r--r--code/environments/production/manifests/site.pp14
1 files changed, 7 insertions, 7 deletions
diff --git a/code/environments/production/manifests/site.pp b/code/environments/production/manifests/site.pp
index 85043c6..87fd0dd 100644
--- a/code/environments/production/manifests/site.pp
+++ b/code/environments/production/manifests/site.pp
@@ -208,7 +208,7 @@ node "bibserv.intern" {
# Notebooks in den Medienwagen
-node /mw.*.intern$/ {
+node /^mw.*\.intern$/ {
class { 'anacron_on_battery': }
class { 'ssh_pubkeys_admins': }
class { 'ssh_pubkeys_firedadmins': }
@@ -218,7 +218,7 @@ node /mw.*.intern$/ {
class { 'itzks_systems_common': }
}
-node /nbw.*.intern$/ {
+node /^nbw.*\.intern$/ {
class { 'anacron_on_battery': }
class { 'ssh_pubkeys_admins': }
class { 'ssh_pubkeys_firedadmins': }
@@ -228,7 +228,7 @@ node /nbw.*.intern$/ {
class { 'itzks_systems_common': }
}
-node /net.*.intern$/ {
+node /^net.*\.intern$/ {
class { 'anacron_on_battery': }
class { 'ssh_pubkeys_admins': }
class { 'ssh_pubkeys_firedadmins': }
@@ -238,7 +238,7 @@ node /net.*.intern$/ {
class { 'itzks_systems_common': }
}
-node /snb.*.intern$/ {
+node /^snb.*\.intern$/ {
class { 'anacron_on_battery': }
class { 'ssh_pubkeys_admins': }
class { 'ssh_pubkeys_firedadmins': }
@@ -248,7 +248,7 @@ node /snb.*.intern$/ {
class { 'itzks_systems_common': }
}
-node /t410.*.intern$/ {
+node /^t410.*\.intern$/ {
class { 'anacron_on_battery': }
class { 'ssh_pubkeys_admins': }
class { 'ssh_pubkeys_firedadmins': }
@@ -258,7 +258,7 @@ node /t410.*.intern$/ {
class { 'itzks_systems_common': }
}
-node /t61.*.intern$/ {
+node /^t61.*\.intern$/ {
class { 'anacron_on_battery': }
class { 'ssh_pubkeys_admins': }
class { 'ssh_pubkeys_firedadmins': }
@@ -268,7 +268,7 @@ node /t61.*.intern$/ {
class { 'itzks_systems_common': }
}
-node /tp.*.intern$/ {
+node /^tp.*\.intern$/ {
class { 'anacron_on_battery': }
class { 'ssh_pubkeys_admins': }
class { 'ssh_pubkeys_firedadmins': }