| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | |
| | |
| | | |
with the rest of the checksums we're likely to use,
and adding tests, which I somehow missed when I wrote
this file.
|
| | |
| | |
| | |
| | |
| | | |
'file' and 'filebucket'. This should have been done
years ago.
|
| | |
| | |
| | |
| | |
| | | |
the in-degree sometimes resulted in a lower number than the
number of in-edges.
|
| |\| |
|
| | |
| | |
| | |
| | | |
a good start. Autotest still doesn't work, though.
|
| |\|
| | |
| | |
| | |
| | |
| | | |
Conflicts:
CHANGELOG
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
NOTE: This introduces a behaviour change, in that you previously
could realize a resource within a virtual defined resource, and now
you must realize the entire defined resource, rather than just
the contained resource.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
*sworn* I did this weekend). In the process, I fixed
a couple of bugs related to differentiating between
nodes and classes, and then cleaned up quite a few
error messages.
|
| | |
| | |
| | |
| | | |
removing the bangs from 'add_vertex!' and 'add_edge!'.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
for validating that a given resource is unique
within the catalog. This no longer allows any
duplication, even with Execs.
|
| | |
| | |
| | |
| | |
| | | |
since it's stupid to have a class named after
a verb.
|
| | |
| | |
| | |
| | |
| | | |
and the AST::Node class to match that to
the definitions and AST classes.
|
| | |
| | |
| | |
| | |
| | | |
be more internally consistent (switched store_resource
to add_resource, and store_override to add_override).
|
| | |
| | |
| | |
| | |
| | |
| | | |
refactored, fixing this problem and making the whole interplay
between the classes, definitions, and nodes, and the Compile class much
cleaner.
|
| | |
| | |
| | |
| | |
| | | |
as its resource container, instead of having its own behaviour
around resource uniqueness.
|
| | |
| | |
| | |
| | |
| | |
| | | |
rspec, so I can refactor the class to more heavily rely
on a Node::Catalog instead of doing its own resource
container management.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
just returns a resource from its evaluate() method, and
all of the work is done in the evaluate_code method. This
makes the code cleaner, because it means 1) evaluate() has
the same prototype as all of the other AST classes,
2) evaluate() is no longer called indirectly through
the Parser Resource class, and 3) the classes themselves
are responsible for creating the resources, rather than
it being done in the Compile class.
|
| | |
| | |
| | |
| | |
| | |
| | | |
all of the evaluate() methods only ever accepted a scope,
and sometimes one other option, so I switched them all to
use named arguments instead of a hash.
|
| | |
| | |
| | |
| | | |
file values that are false.
|
| | |
| | |
| | |
| | | |
using a regular expression that matches only up to the first square bracket.
|
| | |
| | |
| | |
| | |
| | |
| | | |
classes for managing how the tokens work.
I also moved they tests to RSpec, but I didn't rewrite all of them.
|
| | |
| | |
| | |
| | | |
class skip any resources that are already in memory.
|
| | |
| | |
| | |
| | |
| | |
| | | |
the class parts are now added as tags. I've also
created a Tagging module that we should push throughout
the rest of the system that uses tags.
|
| | |
| | |
| | |
| | | |
and specs can be directly executed again.
|
| |\| |
|
| | | |
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | | |
referenced by Puppet::Network::Server
|
| | | |
| | | |
| | | |
| | | |
| | | | |
up in the relationship graph, which only stores the vertices, not
the resource table.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The only remaining failures are more complicated ones (which I'll
need to not be on a plane to debug, for battery reasons) or those
related to the broken directory_service providers.
|
| |_|/
|/| |
| | |
| | |
| | |
| | | |
We still have about 60 failing tests, but some of them are
the failing directory service tests (probably 20 or so),
and most are simple fixes to the tests themselves.
|
| | |
| | |
| | |
| | | |
from the system, and implemented my own topsort method.
|
| | |
| | |
| | |
| | | |
times.
|
| | |
| | |
| | |
| | | |
done this but I must not have committed it.
|
| | |
| | |
| | |
| | | |
that the fstab file exist.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
I use Naginator to parse and generate the files, with
ParsedFile to handle record management and the like.
Note that each resource type itself is just a call to
a Factory method, since everything is just based on Naginator.
Given that, all of the tests are in a single unit/ral/types/nagios.rb
file, since I used a factory to generate them, too. This is probably
either unnecessary or insufficient, but it's as far as I'm
willing to go in testing them, and it did actually catch a few
bugs.
|
|/ /
| |
| |
| |
| |
| | |
and Naginator providers. This is basically all of
the code that's necessary to create all of the needed
Nagios types.
|
| |
| |
| |
| |
| |
| |
| | |
caused other problems.
This whole thing will hopefully get *drastically* easier once we
get rid of global resources.
|
| |
| |
| |
| | |
since it didn't work and is now unnecessary.
|
| |
| |
| |
| |
| |
| |
| |
| | |
a central module responsible for managing the http pool
(Puppet::Network::HttpPool), and it also handles
setting certificate information. This gets rid of
what were otherwise long chains of method calls,
and it makes the code paths much clearer.
|
| |
| |
| |
| | |
against 0.24.0 servers.
|
| |
| |
| |
| |
| | |
a new connection is requested, and closing all connections
at the end of each run.
|
| |
| |
| |
| |
| |
| | |
Hosts were keeping the export bit on all resources,
even when they'd collected another host's resources,
which caused a duplicate copy that was still exported.
|
| | |
|
| |
| |
| |
| | |
requested in #960.
|
| |
| |
| |
| |
| | |
the Facter terminus until I have a better solution.
This problem was discovered becomes of #958.
|
| |
| |
| |
| | |
and I had to make a few small changes to make them work.
|
| | |
|