| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |\ \ |
|
| | | |
| | | |
| | | |
| | | | |
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.
|
| | |
|
| |
| |
| |
| | |
set the 'node_terminus' setting to 'exec'.
|
| |
| |
| |
| |
| |
| | |
except that I was not passing the interpolated value in
to the hook, which meant the libdir was set to something
like $vardir/lib.
|
|/
|
|
|
| |
when the configuration file is parsed. The bug is still
there, but I'm getting closer.
|
| |
|
|
|
|
| |
host are no longer marked as not exported.
|
| |
|
|
|
|
| |
different version of ruby
|
| |
|
|
|
|
|
|
|
| |
are running), and #918 (service tests fail when hddtemp is not installed).
Mostly, I just rewrote the service tests, but I cleaned up the cruft from the
Service class, too.
|
|\ |
|
| |
| |
| |
| | |
compatibility
|
|/
|
|
| |
and old client
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
there were enough problems fixing it that I decided something
more drastic needed to be done.
This uses the new Puppet::ResourceReference class to canonize
what a resource reference looks like and how to retrieve resources
via their references. Specifically, it guarantees that resource types
are always capitalized, even when they include '::' in them.
While many files are modified in this commit, the majority of changes are
quite small, and most of the changes are fixing the tests to use
capitalized types.
As we look at consolidating some of our resource types, we could consolidate
the ResourceReference stuff at the same time, but at least the
Puppet::Parser::ResourceReference class subclasses the main Puppet::ResourceReference
class.
|
|
|
|
| |
else can use to canonize how we refer to resources. Finally.
|
|
|
|
|
|
|
|
|
|
| |
what transportable resources get converted to, so
different names don't throw it off.
I also got rid of the Puppet::Type#merge method, which
has been deprecated for ages but was still in there. I
had to fix a few tests that weren't cleaning up after themselves
as a result.
|
|
|
|
| |
by rewriting the schedule tests entirely.
|
|
|
|
| |
after the test.
|
|
|
|
|
| |
rspec version. It's not perfect, in that it only tests
the :ensure state, but that's where 90% of the behaviour is.
|
| |
|
| |
|
|
|
|
|
|
| |
already migrated all of the tests into rspec but forgot about these
tests -- they were only in the rails/ subdir because people kept
not running the parser/ tests after modifying the Rails code.
|
|\
| |
| |
| |
| |
| | |
Conflicts:
CHANGELOG
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
mount, fixing #891. The patch was ported to the current
code by David Schmitt, I applied the rest of Matt's
patches, and I then fixed all of the code so that the
tests passed.
The primary change I had to make to the patch was reenabling
host expansion in paths -- his patch had disabled it.
|
| |
| |
| |
| | |
log level.
|
|\ \ |
|
| | | |
|
| | | |
|
| | | |
|