summaryrefslogtreecommitdiffstats
path: root/lib/puppet/network/handler
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-03-19 17:43:58 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-03-19 17:43:58 +0000
commit531136ef9ef7bfa1626fb967708e7289be7fb23e (patch)
treed117a6839de937c1a291aeec4d909666dae1f1be /lib/puppet/network/handler
parent0153a0618396847dc1ecb05be4745adad9c34a45 (diff)
downloadpuppet-531136ef9ef7bfa1626fb967708e7289be7fb23e.tar.gz
puppet-531136ef9ef7bfa1626fb967708e7289be7fb23e.tar.xz
puppet-531136ef9ef7bfa1626fb967708e7289be7fb23e.zip
Updating the config generation stuff a bit, mostly just cleanup, but also changing the servername fact to be the fqdn of the server.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2321 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/network/handler')
-rw-r--r--lib/puppet/network/handler/master.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/network/handler/master.rb b/lib/puppet/network/handler/master.rb
index 2b0a215d0..c728638b2 100644
--- a/lib/puppet/network/handler/master.rb
+++ b/lib/puppet/network/handler/master.rb
@@ -24,7 +24,7 @@ class Puppet::Network::Handler
facts["serverversion"] = Puppet.version.to_s
# And then add the server name and IP
- {"servername" => "hostname",
+ {"servername" => "fqdn",
"serverip" => "ipaddress"
}.each do |var, fact|
if obj = Facter[fact]