Module: OctofactsUpdater

Defined in:
lib/octofacts_updater/fact.rb,
lib/octofacts_updater.rb,
lib/octofacts_updater/cli.rb,
lib/octofacts_updater/plugin.rb,
lib/octofacts_updater/fixture.rb,
lib/octofacts_updater/version.rb,
lib/octofacts_updater/fact_index.rb,
lib/octofacts_updater/service/enc.rb,
lib/octofacts_updater/service/ssh.rb,
lib/octofacts_updater/service/base.rb,
lib/octofacts_updater/service/github.rb,
lib/octofacts_updater/service/puppetdb.rb,
lib/octofacts_updater/service/local_file.rb

Overview

This class represents a fact, either structured or unstructured. The fact has a name and a value. The name is a string, and the value can either be a string/integer/boolean (unstructured) or a hash (structured). This class also has methods used to deal with structured facts (in particular, allowing representation of a structure delimited with ::).

Defined Under Namespace

Modules: Service Classes: CLI, Fact, FactIndex, Fixture, Plugin

Constant Summary collapse

VERSION =
File.read(File.expand_path("../../.version", File.dirname(__FILE__))).strip