summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-11-17 23:42:45 -0500
committerJesse Luehrs <doy@tozt.net>2018-11-17 23:42:45 -0500
commit3805989ff79484c3e6696824358b2b6219cd89bb (patch)
tree43f7b13da20b57f5a79aff726c1eaee872fa1a80
parentf2bf0a43d851086a62175eb588822c0a6ff1c3a9 (diff)
downloadpuppet-tozt-3805989ff79484c3e6696824358b2b6219cd89bb.tar.gz
puppet-tozt-3805989ff79484c3e6696824358b2b6219cd89bb.zip
also accept just the bare hostname
not entirely sure how this is determined, but tozt at least fails on the initial puppet run if this doesn't exist
-rw-r--r--manifests/partofme.pp2
-rw-r--r--manifests/tozt.pp2
2 files changed, 2 insertions, 2 deletions
diff --git a/manifests/partofme.pp b/manifests/partofme.pp
index 978a666..22ebfbe 100644
--- a/manifests/partofme.pp
+++ b/manifests/partofme.pp
@@ -1,4 +1,4 @@
-node 'partofme.localdomain' {
+node 'partofme', 'partofme.localdomain' {
# we don't want to store anything system-related on the persistent disk,
# since we want it to be encrypted, and we can't really access it at boot
# time to type in a password
diff --git a/manifests/tozt.pp b/manifests/tozt.pp
index 3c36818..3eb4f23 100644
--- a/manifests/tozt.pp
+++ b/manifests/tozt.pp
@@ -1,4 +1,4 @@
-node 'tozt.localdomain' {
+node 'tozt', 'tozt.localdomain' {
$persistent_data = '/media/persistent'
include tozt::persistent
Class['tozt::persistent'] -> Class['base']