We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c1e4c8f + f951bf6 commit 6010b0cCopy full SHA for 6010b0c
tasks/hostname.sh
@@ -1,6 +1,6 @@
1
#!/bin/bash
2
3
-hostname=$(/usr/bin/hostnamectl --transient)
+hostname=$(/usr/bin/hostname -f)
4
5
# Output a JSON result for ease of Task usage in Puppet Task Plans
6
echo '{ "hostname": "'$hostname'" }'
0 commit comments