| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
used to be done.
|
| |
|
|
| |
instead of pre-extracting the configuration.
|
| |
|
|
| |
switch to git, and refactoring the evaluate_classes method on the compile object so I can use resources as intermediaries, thus making classes do late-binding evaluation.
|
| | |
|
| |
|
|
| |
life. This commit is mostly a bug-fix commit, resulting from the difference between real-life testing and unit testing.
|
| |
|
|
| |
various bug fixes around the network tree.
|
| |
|
|
| |
environments, including the parser having an environment setting. I have also created my first spec-based tests, for the interpreter (and deleted the old test/unit tests).
|
| |
|
|
| |
retrieved from the normal Puppet configuration, so it is set via puppet.conf or the cli, rather than being a normal fact.
|
| |
|
|
| |
There are still failing tests, but apparently only those that are also failing in trunk.
|
| |
|
|
| |
client, just like it expects, and fixing how the resource handler calls the master type.
|
| |
|
|
| |
down to tests that (yay!) fail in trunk.
|
| |
|
|
| |
unfortunately had to stop being so assiduous in my rewriting of tests, but I am in too much of a time crunch to do this "right". The basic structure is definitely in place, though, and from here it is a question of making the rest of the tests work and hopefully writing some sufficient new tests, rather than making the code itself work.
|
| |
|
|
| |
serving and such
|
| |
|
|
| |
interpreter
|
| |
|
|
| |
and the interpreter.
|
| |
|
|
| |
to convert the interpreter to use SimpleNode objects, then continue with the Configuration object.
|
| | |
|
| |
|
|
|
| |
and knows how to retrieve data from those sources. Now I just need to fix
the language stuff to use this handler instead of the existing node stuff.
|
| |
|
|
|
|
|
|
| |
This has required splitting the interpreter up considerably, which is much
cleaner but is a large project. There is now a 'nodes' handler, but it is
currently non-functional, although all the support structure is there. It just
needs to have the individual methods fleshed out, and it needs to be connected
to the 'facts' handler.
|
| |
|
|
| |
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2768 980ebf18-57e1-0310-9a29-db15c13687c0
|
| |
|
|
| |
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2752 980ebf18-57e1-0310-9a29-db15c13687c0
|
| |
|
|
|
|
| |
catching clients without certs
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2728 980ebf18-57e1-0310-9a29-db15c13687c0
|
| |
|
|
|
|
| |
to be a CA
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2727 980ebf18-57e1-0310-9a29-db15c13687c0
|
| |
|
|
|
|
| |
filebucket, so it is much harder to lose content. This does not yet back up crontab contents, though.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2679 980ebf18-57e1-0310-9a29-db15c13687c0
|
| |
|
|
| |
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2673 980ebf18-57e1-0310-9a29-db15c13687c0
|
| |
|
|
| |
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2671 980ebf18-57e1-0310-9a29-db15c13687c0
|
| |
|
|
|
|
| |
autoload looks for them there. You can now easily download any reloadable file to your clients.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2669 980ebf18-57e1-0310-9a29-db15c13687c0
|
| |
|
|
| |
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2661 980ebf18-57e1-0310-9a29-db15c13687c0
|
| |
|
|
|
|
| |
in the Puppet mongrel server, and I call daemonize on the Puppet class, rather than the Mongrel http server
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2659 980ebf18-57e1-0310-9a29-db15c13687c0
|
| |
|
|
|
|
| |
so any timeouts will just throw an error and skip the run, rather than failing and killing the daemon. This is not the best approach, since really, each method should be wrapped, but it is sufficient.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2658 980ebf18-57e1-0310-9a29-db15c13687c0
|
| |
|
|
|
|
| |
than the module name
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2653 980ebf18-57e1-0310-9a29-db15c13687c0
|
| |
|
|
| |
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2652 980ebf18-57e1-0310-9a29-db15c13687c0
|
| |
|
|
|
|
| |
problems, but it did not seem to hurt anything, either.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2649 980ebf18-57e1-0310-9a29-db15c13687c0
|
| |
|
|
| |
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2637 980ebf18-57e1-0310-9a29-db15c13687c0
|
| |
|
|
|
|
|
|
|
| |
each file isn't being read on every connection. Also,
added londo's patch from #678 to avoid reading entire files
into memory.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2629 980ebf18-57e1-0310-9a29-db15c13687c0
|
| |
|
|
| |
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2616 980ebf18-57e1-0310-9a29-db15c13687c0
|
| |
|
|
|
|
| |
key does not match the csr. We have been getting a lot of instances of this, so this should cut down that problem.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2612 980ebf18-57e1-0310-9a29-db15c13687c0
|
| |
|
|
| |
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2611 980ebf18-57e1-0310-9a29-db15c13687c0
|
| |
|
|
|
|
| |
local modulepath, whereas 'puppetd' goes to the default server
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2610 980ebf18-57e1-0310-9a29-db15c13687c0
|
| |
|
|
|
|
| |
for testing.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2602 980ebf18-57e1-0310-9a29-db15c13687c0
|
| |
|
|
| |
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2601 980ebf18-57e1-0310-9a29-db15c13687c0
|
| |
|
|
|
|
| |
out, rather than removing it
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2561 980ebf18-57e1-0310-9a29-db15c13687c0
|
| |
|
|
|
|
| |
problem with yaml on 1.8.1.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2560 980ebf18-57e1-0310-9a29-db15c13687c0
|
| |
|
|
|
|
| |
header used to store the client SSL dn.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2558 980ebf18-57e1-0310-9a29-db15c13687c0
|
| |
|
|
| |
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2554 980ebf18-57e1-0310-9a29-db15c13687c0
|
| |
|
|
|
|
| |
port problems
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2553 980ebf18-57e1-0310-9a29-db15c13687c0
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
listing existing provider instances. The class method on both
class heirarchies has been renamed to 'instances', to start. Providers
are now expected to return provider instances, instead of creating
resources, and the resource's 'instances' method is expected to
find the matching resource, if any, and set the resource's
provider appropriately. This *significantly* reduces the reliance on
effectively global state (resource references in the resource classes).
This global state will go away soon.
Along with this change, the 'prefetch' class method on providers now
accepts the list of resources for prefetching. This again reduces
reliance on global state, and makes the execution path much easier
to follow.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2551 980ebf18-57e1-0310-9a29-db15c13687c0
|
| |
|
|
|
|
|
|
| |
problem only occurred when reparsing a configuration file that was also being managed (which was common) and only whent the manifest was up to date (the combination was uncommon). Reparsing would find the existing file object and use it to check permissions and such, then it would remove all of the internal data in the object, for cleanup; the problem is, the client still had a reference to the object, so when it went to run its configuration, this broken reference was used.
The solution I chose was to remove all objects from memory after every run. It is negligible to reload them from the cache, and it saves ram for the 99% of the time that the client is just sitting there. And it makes this problem go away. :)
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2545 980ebf18-57e1-0310-9a29-db15c13687c0
|
| |
|
|
|
|
| |
running under --test
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2528 980ebf18-57e1-0310-9a29-db15c13687c0
|
| |
|
|
|
|
| |
merging of the transaction-refactor branch
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2517 980ebf18-57e1-0310-9a29-db15c13687c0
|