summaryrefslogtreecommitdiffstats
path: root/lib/puppet/rails/inventory_fact.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/rails/inventory_fact.rb')
-rw-r--r--lib/puppet/rails/inventory_fact.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/puppet/rails/inventory_fact.rb b/lib/puppet/rails/inventory_fact.rb
index ecb6e41ee..aa6334eef 100644
--- a/lib/puppet/rails/inventory_fact.rb
+++ b/lib/puppet/rails/inventory_fact.rb
@@ -1,6 +1,5 @@
-require 'puppet/rails/inventory_host'
+require 'puppet/rails/inventory_node'
class Puppet::Rails::InventoryFact < ::ActiveRecord::Base
- belongs_to :host, :class_name => "Puppet::Rails::InventoryHost"
- serialize :value
+ belongs_to :node, :class_name => "Puppet::Rails::InventoryNode"
end