Please review pull request #751: (#3909) Strip trailing dot from default FQDN opened by (hkenney)
Description:
In Facter pull request 200 the default domian can no longer end
with a trailing '.'. This modifies Puppet's defaults to mirror
that change.
- Opened: Wed May 09 23:51:13 UTC 2012
- Based on: puppetlabs:master (5582168fa5911a4761db0cd4f025d805cb2ff933)
- Requested merge: hkenney:ticket/master/3909_strip_trailing_dot_from_default_fqdn (90935e08f3e7477562854fdf928256b919c3181c)
Diff follows:
diff --git a/lib/puppet/defaults.rb b/lib/puppet/defaults.rb
index fae41d9..4941208 100644
--- a/lib/puppet/defaults.rb
+++ b/lib/puppet/defaults.rb
@@ -376,6 +376,7 @@ module Puppet
else
fqdn = hostname
end
+ fqdn.gsub(/\.$/, '')
Puppet.define_settings(
-- You received this message because you are subscribed to the Google Groups "Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
