| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |\| |
|
| | | |
|
| | | |
|
| |\|
| | |
| | |
| | |
| | |
| | | |
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!'.
|
| | |
| | |
| | |
| | |
| | | |
since it's stupid to have a class named after
a verb.
|
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | | |
no network
|
| | |
| | |
| | |
| | | |
deprecation. :env parameter sets new :environment parameter. Changed instances of :env to :environment for consistency with other types. Added tests for new parameters. This cimmit fixes ticket 1007.
|
| | |\ |
|
| | | | |
|
| | |\| |
|
| | | | |
|
| | |/
| | |
| | |
| | | |
longer ignored. (Cherry-picked from master.)
|
| | |
| | |
| | |
| | |
| | |
| | | |
classes for managing how the tokens work.
I also moved they tests to RSpec, but I didn't rewrite all of them.
|
| | |
| | |
| | |
| | |
| | | |
and one that somehow slipped through when I removed the GRATR
code.
|
| | |
| | |
| | |
| | | |
longer ignored.
|
| |\| |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
references. This should have gotten rid of all of them,
and now it's just a question of fixing a few hopefully unrelated
failing tests.
|
| | |
| | |
| | |
| | |
| | | |
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.
|
|/
|
|
| |
of stripping extra and trailing slashes.
|
|
|
|
|
|
|
| |
caused other problems.
This whole thing will hopefully get *drastically* easier once we
get rid of global resources.
|
|
|
|
| |
managed resources.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
ssl issues.
|
|
|
|
| |
name so the stupid ssl checks pass during the test.
|
| |
|
|
|
|
| |
matching in the tidy type.
|
|
|
|
| |
set the 'node_terminus' setting to 'exec'.
|
|
|
|
|
|
| |
correctly searching for the host, so it was creating
a new host on each run, which is what was causing the
conflict.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
AST code now correctly finds the resource. It's getting
lost in the configuration translation, though, so I
need to fix that, too.
|