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-3.7.3-x64-mingw32 lib/puppet/rails/fact_value.rb
puppet-3.7.2 lib/puppet/rails/fact_value.rb
puppet-3.7.2-x86-mingw32 lib/puppet/rails/fact_value.rb
puppet-3.7.2-x64-mingw32 lib/puppet/rails/fact_value.rb
puppet-3.7.1 lib/puppet/rails/fact_value.rb
puppet-3.7.1-x86-mingw32 lib/puppet/rails/fact_value.rb
puppet-3.7.1-x64-mingw32 lib/puppet/rails/fact_value.rb
puppet-3.7.0 lib/puppet/rails/fact_value.rb
puppet-3.7.0-x86-mingw32 lib/puppet/rails/fact_value.rb
puppet-3.7.0-x64-mingw32 lib/puppet/rails/fact_value.rb
puppet-3.6.2 lib/puppet/rails/fact_value.rb
puppet-3.6.2-x86-mingw32 lib/puppet/rails/fact_value.rb
puppet-3.6.1 lib/puppet/rails/fact_value.rb
puppet-3.6.1-x86-mingw32 lib/puppet/rails/fact_value.rb
puppet-3.6.0 lib/puppet/rails/fact_value.rb
puppet-3.6.0-x86-mingw32 lib/puppet/rails/fact_value.rb
puppet-3.6.0.rc1 lib/puppet/rails/fact_value.rb
puppet-3.6.0.rc1-x86-mingw32 lib/puppet/rails/fact_value.rb
puppet-3.5.1 lib/puppet/rails/fact_value.rb
puppet-3.5.1-x86-mingw32 lib/puppet/rails/fact_value.rb