summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/site_config')
-rw-r--r--puppet/modules/site_config/lib/facter/ip_interface.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/puppet/modules/site_config/lib/facter/ip_interface.rb b/puppet/modules/site_config/lib/facter/ip_interface.rb
index 2a4a6b50..45764bfc 100644
--- a/puppet/modules/site_config/lib/facter/ip_interface.rb
+++ b/puppet/modules/site_config/lib/facter/ip_interface.rb
@@ -3,7 +3,7 @@ require 'facter/util/ip'
Facter::Util::IP.get_interfaces.each do |interface|
ip = Facter.value("ipaddress_#{interface}")
if ip != nil
- Facter.add(ip + "_interface" ) do
+ Facter.add("interface_" + ip ) do
setcode do
interface
end