| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Rename all the spec tests to follow the rspec convention of *_spec.rb rather
than unadorned *.rb; this also makes it easier to work with them consistently
without using the Rakefile support that customizes that.
|
|
|
|
|
|
| |
Because we pull in spec_helper in individual tests, we need to use a
consistent path or Ruby will evaluate it multiple times. Make the path
consistent by expanding it before require.
|
| |
|
|
|
|
|
| |
We can now warn messages that will be passed to Kernel.warn if
debugging is enabled.
|
|
|
|
| |
fact's value when collection has not being yet initialized.
|
|
|
|
| |
Signed-off-by: Luke Kanies <luke@madstop.com>
|
| |
|
|
|
|
|
| |
Facter no longer knows anything about Puppet, so there's
no inter-dependency issue.
|
|
|
|
|
| |
This should make it possible to move all facts to separate
files and only load them on demand.
|
|
|
|
|
| |
It's used by iClassify, and maybe others. I haven't
made Facter enumerable again, but the collection is.
|
|
|
|
|
|
|
|
| |
There's now no @@facts instance variable; instead, there's
a collection, and it's responsible for keeping references
to all of the facts.
All of the old interface methods just delegate to the collection.
|
|
|
|
|
| |
This allows the Facter class to become a module, and it
is now much simpler.
|
|
|
|
|
| |
The Confine and Resolution classes are now in separate files, and I've
got tests for Confine.
|
|
of small test failures.
|