summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-03-01 01:46:37 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-03-01 01:46:37 +0100
commitb386fec44c055706133bca972fb7727ef944c6fc (patch)
tree4bc3e99bea301482dd097a5e675de02078bca173
parentTransient config to unhost ourself. (diff)
downloadprofiles-b386fec44c055706133bca972fb7727ef944c6fc.tar.gz
profiles-b386fec44c055706133bca972fb7727ef944c6fc.tar.xz
Revert "Transient config to unhost ourself."
This reverts commit 548b35a2caa178c0c97b39493e07bc06c55e1678.
-rw-r--r--manifests/common.pp7
1 files changed, 0 insertions, 7 deletions
diff --git a/manifests/common.pp b/manifests/common.pp
index ff801e5..8b933fe 100644
--- a/manifests/common.pp
+++ b/manifests/common.pp
@@ -8,13 +8,6 @@ class profiles::common (
content => "${::hostname}\n",
}
- file_line { 'transient config to unhost ourself':
- ensure => absent,
- match => $::fqdn,
- path => '/etc/hosts',
- multiple => true,
- match_for_absence => true,
- } ->
file_line { 'hosts ourself':
ensure => present,
line => "::1\t${::fqdn}\t${::hostname}",