aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/facter/alt_fqdns.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/facter/alt_fqdns.rb b/lib/facter/alt_fqdns.rb
index 8a4d59b..89c4b6a 100644
--- a/lib/facter/alt_fqdns.rb
+++ b/lib/facter/alt_fqdns.rb
@@ -14,9 +14,9 @@
# under the License.
[
'external',
- 'internalapi',
+ 'internal_api',
'storage',
- 'storagemgmt',
+ 'storage_mgmt',
'tenant',
'management',
].each do |network|
@@ -24,7 +24,7 @@
setcode do
external_hostname_parts = [
Facter.value(:hostname),
- network,
+ network.gsub('_', ''),
Facter.value(:domain),
].reject { |part| part.nil? || part.empty? }
external_hostname_parts.join(".")