Luke Kanies
7e45553448
Fixed #997 -- virtual defined types are no longer evaluated.
...
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.
2008-02-12 14:57:24 -06:00
Luke Kanies
d24c1ccc56
All tests should now pass again.
...
This is the first real pass towards using caching. The `puppet`
executable actually uses the indirection work, instead of
handlers and such (and man! is it cleaner).
Most of this work was a result of trying to get the client-side
story working, with correct yaml caching of configurations, which
means this commit also covers converting configurations to yaml,
which was a much bigger PITA than it needed to be.
I still need to write integration tests, and I also need to cover
the server-side story of a normal configuration retrieval.
2007-10-08 19:12:39 -05:00
Luke Kanies
86dde63473
All tests now pass in this configuration branch, which means
...
it's time to merge it back into the indirection branch.
Considering that this work was what drove me to create the
indirection branch in the first place, i should now be able to
merge both back in the master branch.
2007-09-22 14:25:17 -05:00
luke
0c07125397
Fixing #615 (subclasses with similar names) by getting rid of the class "type" and "fqname", and instead using "classname" everywhere. You should no longer see unqualified class/definition names anywhere. Also, rewriting how snippet tests work, to avoid creating all of the files, since the point was the parsing tests, not functional tests.
...
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2458 980ebf18-57e1-0310-9a29-db15c13687c0
2007-05-03 20:45:25 +00:00
luke
0a62369718
Partially fixing #460 , take 3 -- fully-qualified classes can now be included.
...
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2128 980ebf18-57e1-0310-9a29-db15c13687c0
2007-01-30 18:43:39 +00:00
luke
788a74e80c
Partially fixing #460 , take 2 -- fully-qualified definitions can now be used.
...
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2127 980ebf18-57e1-0310-9a29-db15c13687c0
2007-01-30 18:39:21 +00:00
luke
239727c4dd
Re-enabling the dirchmod test and fixing its syntax
...
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2041 980ebf18-57e1-0310-9a29-db15c13687c0
2007-01-04 20:59:20 +00:00
luke
a3ce917ca1
Fixing #348 . Overrides now support an extra end-comma.
...
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1969 980ebf18-57e1-0310-9a29-db15c13687c0
2006-12-23 17:06:53 +00:00
luke
2742995c03
Fixing #343 . Collections and definition evaluation both now happen on every iterative evaluation, with collections being evaluated first. This way collections can find resources that either are inside defined types or are the types themselves.
...
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1967 980ebf18-57e1-0310-9a29-db15c13687c0
2006-12-23 06:26:39 +00:00
luke
85b19c4815
Fixing #349 . Doing some hackery so defined types can now (again) be used as dependencies.
...
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1966 980ebf18-57e1-0310-9a29-db15c13687c0
2006-12-23 05:19:52 +00:00
luke
72f8b32052
Reworking the package tests. Now providers are tested individually
...
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1921 980ebf18-57e1-0310-9a29-db15c13687c0
2006-12-14 19:53:47 +00:00
luke
a05b8f5116
Adding a "realize" function that can be used to make one or more resource non-virtual. It is just syntactic sugar for a collection by title.
...
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1808 980ebf18-57e1-0310-9a29-db15c13687c0
2006-10-18 04:45:55 +00:00
luke
f1ebef038b
Fixing virtual object collection. I apparently broke it when I added rails collection back, and I never created any end-to-end tests.
...
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1805 980ebf18-57e1-0310-9a29-db15c13687c0
2006-10-18 00:22:45 +00:00
luke
28cee40689
Merging the changes from the override-refactor branch. This is a significant rewrite of the parser, but it has little affect on the rest of the code tree.
...
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1726 980ebf18-57e1-0310-9a29-db15c13687c0
2006-10-04 18:24:24 +00:00