Sha256: 3c02b58cf5f3160ae9e7d4d491ce3f63db906d06b9b71a233af25c6f99ac34af

Contents?: true

Size: 175 Bytes

Versions: 89

Compression:

Stored size: 175 Bytes

Contents

require 'active_record'

class Puppet::Rails::FactValue < ActiveRecord::Base
  belongs_to :fact_name
  belongs_to :host

  def to_label
    "#{self.fact_name.name}"
  end
end

Version data entries

89 entries across 89 versions & 2 rubygems

Version Path
puppet-retrospec-0.12.2 vendor/gems/puppet-3.7.3/lib/puppet/rails/fact_value.rb
puppet-3.8.7 lib/puppet/rails/fact_value.rb
puppet-3.8.7-x86-mingw32 lib/puppet/rails/fact_value.rb
puppet-3.8.7-x64-mingw32 lib/puppet/rails/fact_value.rb
puppet-3.8.6 lib/puppet/rails/fact_value.rb
puppet-3.8.6-x86-mingw32 lib/puppet/rails/fact_value.rb
puppet-retrospec-0.12.1 vendor/gems/puppet-3.7.3/lib/puppet/rails/fact_value.rb
puppet-3.8.6-x64-mingw32 lib/puppet/rails/fact_value.rb
puppet-retrospec-0.12.0 vendor/gems/puppet-3.7.3/lib/puppet/rails/fact_value.rb
puppet-3.8.5 lib/puppet/rails/fact_value.rb
puppet-3.8.5-x86-mingw32 lib/puppet/rails/fact_value.rb
puppet-3.8.5-x64-mingw32 lib/puppet/rails/fact_value.rb
puppet-3.8.4 lib/puppet/rails/fact_value.rb
puppet-3.8.4-x86-mingw32 lib/puppet/rails/fact_value.rb
puppet-3.8.4-x64-mingw32 lib/puppet/rails/fact_value.rb
puppet-retrospec-0.11.0 vendor/gems/puppet-3.7.3/lib/puppet/rails/fact_value.rb
puppet-retrospec-0.10.0 vendor/gems/puppet-3.7.3/lib/puppet/rails/fact_value.rb
puppet-retrospec-0.9.1 vendor/gems/puppet-3.7.3/lib/puppet/rails/fact_value.rb
puppet-retrospec-0.9.0 vendor/gems/puppet-3.7.3/lib/puppet/rails/fact_value.rb
puppet-retrospec-0.8.1 vendor/gems/puppet-3.7.3/lib/puppet/rails/fact_value.rb