summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)AuthorFilesLines
2008-02-13Removing obsolete references (they're in the indirectionLuke Kanies1-4/+14
reference), and adding error handling to puppetdoc.
2008-02-07Applying patch by Jay to fix #989 -- missing crl files areLuke Kanies1-1/+1
correctly ignored, and you now use 'false' instead of 'none' to explicitly ignore them.
2008-01-28Fixed #1006 - changed ldapnodes to node_terminusJames Turnbull1-1/+1
2008-01-13Fixes ticket #1004 - documentation fixes for ralsh and puppetrunJames Turnbull2-12/+13
2007-12-21Further fixes toward #965. Turned out that the previous fixLuke Kanies1-0/+2
caused other problems. This whole thing will hopefully get *drastically* easier once we get rid of global resources.
2007-12-19Fixing parseonly with a modified version of jay'sLuke Kanies1-0/+2
patch from #968.
2007-12-19Adding a --print option to puppetca that just prints the full-text version of aLuke Kanies1-5/+50
certificate, and --verify, which uses the external openssl command to verify the cert against the CA cert (I could not find an option to the builtin Ruby libraries to do this).
2007-12-19Entirely refactoring http keep-alive. There's nowLuke Kanies1-2/+4
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.
2007-12-11Renaming 'configuration' to 'catalog', fixing #954.Luke Kanies2-8/+8
2007-12-10Fixing #951 -- external nodes work again, but you have toLuke Kanies1-6/+2
set the 'node_terminus' setting to 'exec'.
2007-11-28Fixing puppetca so it passes its tests, duh. ApparentlyLuke Kanies1-6/+8
wyvern's patch broke things a bit and I was stupid enough not to run the tess right before accepting.
2007-11-27Applying patches from #823 by wyvernLuke Kanies1-4/+12
2007-11-27Fixing #796 -- the fileserver can now start with noLuke Kanies1-12/+1
configuration file (it creates both default mount points if it does) and puppetmasterd no longer requires the configuration file to exist.
2007-11-23Fixing #886 -- the problem was the I had changed the baseLuke Kanies1-27/+27
class for Parameter, which apparently lost the 'nodoc' method for that class.
2007-10-15Reorganizing the file structure for indirection terminus types.Luke Kanies1-2/+2
Previously, for example, the configuration terminus that was a subclass of 'code' would have been stored at lib/puppet/indirector/code/configuration and would have had to have been named 'configuration'. Now, the subclass can be named however the author prefers, and it must be stored at lib/puppet/indirector/configuration/<name>.rb, where <name> is the name you've chosen for the terminus type. The name only matters insomuch as it is used to load the file from disk and find the appropriate class when asked. The additional restriction is that the class constant for the terminus type must have its name as the last word, and the indirection must be the second to last word. Thus, in our example, we can choose any class constant that ends with Configuration::Code; given that there's only one Configuration class at this point, it makes the most sense to define the class as Puppet::Node::Configuration::Code. This is somewhat awkward, because of the class's location on disk, but the only other real option is to autogenerate a Puppet::Indirector::Configuration class constant, which is, I think, uglier.
2007-10-09Merge branch 'master' of git://michaelobrien.info/puppet into michaelLuke Kanies2-34/+48
2007-10-08All tests should now pass again.Luke Kanies2-1/+4
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-05Moving the webrick/mongrel "servers" over to HTTPServer module instead of ↵Rick Bradley2-6/+6
Server. Using Server as the master class for client connections. Server (former RESTServer) will instantiate the appropriate subclass based upon Puppet configurator setting. There are now tests broken in the network section which I can't seem to figure out yet. Not a happy place to be.
2007-10-05Adding a :code setting for specifying code to runLuke Kanies1-1/+1
instead of a manifest, and removing all of the ambiguity around whether an interpreter gets its own file specified or uses the central setting. Most of the changes are around fixing existing tests to use this new system.
2007-10-05This commit is focused on getting the 'puppet' executableLuke Kanies1-34/+45
to work. As a result, it involves a lot of integration-level testing, and a lot of small design changes to make the code actually work. In particular, indirections can now have default termini, so that configurations and facts default to their code terminus Also, I've removed the ability to manually control whether ast nodes are used. I might need to add it back in later, but if so it will be in the form of a global setting, rather than the previous system of passing it through 10 different classes. Instead, the parser detects whether there are AST nodes defined and requires them if so or ignores them if not. About 75 tests are still failing in the main set of tests, but it's going to be a long slog to get them working -- there are significant design issues around them, as most of the failures are a result of tests trying to emulate both the client and server sides of a connection, which normally would have different fact termini but in this case must have the same terminus just because they're in the same process and are global. The next step, then, is to figure that process out, thus finding a way to make this all work.
2007-10-03Removing the Id tags from all of the filesLuke Kanies7-7/+0
2007-10-03Merge branch 'master' of git://michaelobrien.info/puppetLuke Kanies2-52/+37
2007-10-03Fixing #814 -- when files are missing, the exceptions shouldLuke Kanies1-3/+3
now be more reasonable.
2007-10-03Fixed #832. Added the '--no-daemonize' option to puppetd and puppetmasterd.Michael V. O'Brien2-52/+37
The default behavior of 'verbose' and 'debug' no longer cause puppetd and puppetmasterd to not daemonize.
2007-09-25Fixing ralsh to use a configuration instead of a componentLuke Kanies1-4/+3
2007-09-22Renaming the 'Puppet::Util::Config' class toLuke Kanies7-20/+20
'Puppet::Util::Settings'. This is to clear up confusion caused by the fact that we now have a 'Configuration' class to model host configurations, or any set of resources as a "configuration".
2007-09-17This is basically another intermediate commit. I feel likeLuke Kanies1-2/+2
I've gone too far down the rabbit hole to turn back now, but the code is clearly getting more centralized around the Configuration class, which is the goal. Things are currently a bit muddy between recursion, dynamic resource generation, transactions, and the configuration, and I don't expect to be able to clear it up much until we rewrite all of the tests for the Transaction class, since that is when we'll actually be setting its behaviour. At this point, Files (which are currently the only resources that generate other resources) are responsible for adding their edges to the relationship graph. This puts them knowing more than I would like about how the relationship graph works, but it'll have to do for now. There are still failing tests, but files seem to work again. Now to go through the rest of the tests and make them work.
2007-09-06Fixing #806. Resources correctly look up their fully qualified definition ↵Luke Kanies1-1/+5
type, just like resource references do, which causes the resource and reference to again agree on the full name of a given defined type.
2007-08-27Adding support for providing a diff when files are being changed. Currently ↵Luke Kanies2-0/+11
uses a local diff binary, but could easily be changed to use the ruby diff/lcs library. Modified puppet and puppetd to automatically show file diffs when in noop mode, but can otherwise be enabled using --show_diff. This only works when running interactively, because the diffs are printed on stdout.
2007-07-30Applying patch my emerose to fix #652.luke1-0/+1
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2729 980ebf18-57e1-0310-9a29-db15c13687c0
2007-07-18Fixing #719 -- the filebucket docs now only mention filebucket, not pbucketluke1-5/+5
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2704 980ebf18-57e1-0310-9a29-db15c13687c0
2007-07-17Applying a slightly modified patch by Dean Wilson -- puppetca now exits with ↵luke1-0/+10
a non-zero code when it cannot find certs to clean. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2702 980ebf18-57e1-0310-9a29-db15c13687c0
2007-07-08Making sure that #686 is fixed -- I specifically included the Daemon module ↵luke1-5/+6
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
2007-06-15Moving puppetd and puppetmasterd back to bin. Damn. Reverting the fix to #323.luke2-0/+751
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2594 980ebf18-57e1-0310-9a29-db15c13687c0
2007-06-13Updating ralsh with more functionality: You can now perform work on the ↵luke1-6/+69
command line, with commands like "sudo ralsh file /etc/passwd ensure=absent". This makes ralsh a bit more interactive. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2573 980ebf18-57e1-0310-9a29-db15c13687c0
2007-06-01Change pi to list properties instead of stateslutter1-2/+2
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2548 980ebf18-57e1-0310-9a29-db15c13687c0
2007-05-20Fixing #323 -- puppetd and puppetmasterd are now in sbin; packages still ↵luke2-751/+0
need to be fixed git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2529 980ebf18-57e1-0310-9a29-db15c13687c0
2007-05-18Fixing #501 -- there is now a splay option, disabled by default and when ↵luke1-0/+1
running under --test git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2528 980ebf18-57e1-0310-9a29-db15c13687c0
2007-05-18fixing a documentation bugajax1-1/+1
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2526 980ebf18-57e1-0310-9a29-db15c13687c0
2007-05-16Making sure there is an editor set for ralshluke1-0/+1
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2519 980ebf18-57e1-0310-9a29-db15c13687c0
2007-05-10Fixing the to_trans method and ralsh a bit so ralsh now works with the new ↵luke1-7/+13
lack of "is" method git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2503 980ebf18-57e1-0310-9a29-db15c13687c0
2007-05-08Intermediate commit of more reference work, including making provider ↵luke1-4/+19
suitable more introspectable. I am about to significantly change the output format of the providers reference, so i want to get this committed before that change. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2485 980ebf18-57e1-0310-9a29-db15c13687c0
2007-05-08The result of .compact.join("\n") isn't assigned to anything. Fix.josb1-3/+3
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2484 980ebf18-57e1-0310-9a29-db15c13687c0
2007-05-07Adding a dynamic? option for references, so those are not stored in tracluke1-1/+4
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2480 980ebf18-57e1-0310-9a29-db15c13687c0
2007-05-07First run at moving references to lib/puppet instead of puppetdocluke1-514/+27
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2477 980ebf18-57e1-0310-9a29-db15c13687c0
2007-05-06Fixing #206 and #422. Executables will still look for the deprecated config ↵luke8-23/+35
files and load them using the old parse method, but they now prefer a single configuration file, and files can set parameters (owner, mode, group) in brackets on the same line. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2464 980ebf18-57e1-0310-9a29-db15c13687c0
2007-05-04Correcting function reference markupluke1-1/+2
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2462 980ebf18-57e1-0310-9a29-db15c13687c0
2007-05-04Applying patch to puppetrun docs from JosBluke1-2/+5
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2461 980ebf18-57e1-0310-9a29-db15c13687c0
2007-05-03Committing all the work that josb did, plus a couple of small changesluke1-20/+74
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2454 980ebf18-57e1-0310-9a29-db15c13687c0
2007-05-02Applying patch to puppetd from Jos Backusluke1-9/+8
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2453 980ebf18-57e1-0310-9a29-db15c13687c0