summaryrefslogtreecommitdiffstats
path: root/bin/puppetca
Commit message (Collapse)AuthorAgeFilesLines
* Moved of puppetd, puppetca, puppetmasterd, puppetrun binary from bin to sbinJames Turnbull2009-03-211-100/+0
|
* Move puppetca to the Application Controller paradigmBrice Figureau2009-02-161-101/+2
| | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Merge branch '0.24.x'Luke Kanies2008-07-021-2/+3
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: CHANGELOG spec/unit/node/catalog.rb spec/unit/type/package.rb spec/unit/type/schedule.rb spec/unit/type/service.rb spec/unit/util/settings.rb
| * issue 1183Andrew Shafer2008-06-161-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added environment awareness to --configprint Pulled the logic for --configprint --genconfig and --genmanifest out of puppet.rb Put the logic in lib/puppet/util/settings.rb and refactored it a bit Added specs for the behavior Reformated the whole spec file to use nested describe Added the new method to the executables The old behavior should be preserved, except for the env is now used
* | Merge branch '0.24.x'Luke Kanies2008-04-211-2/+4
|\| | | | | | | | | | | Conflicts: bin/puppetca
| * Fixed #1189 and added support for --all to puppetca --cleanJames Turnbull2008-04-151-12/+29
| |
* | Fixing puppetca so it uses the :local ca setting.Luke Kanies2008-04-191-0/+2
| | | | | | | | | | This causes it to use both the :ca_file and :file terminus types.
* | Added an Interface class to the CA to model puppetca's usage.Luke Kanies2008-04-191-168/+19
|/ | | | | | | | | | This class provides all of the semantics from puppetca, and appears to entirely duplicate the behaviour of the existing executable, with basically all of the code in a library file, instead of the executable. As such, I've deleted the test for the executable. We should have one, but it's not nearly as important.
* Adding a --print option to puppetca that just prints the full-text version of aLuke Kanies2007-12-191-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).
* Fixing puppetca so it passes its tests, duh. ApparentlyLuke Kanies2007-11-281-6/+8
| | | | | wyvern's patch broke things a bit and I was stupid enough not to run the tess right before accepting.
* Applying patches from #823 by wyvernLuke Kanies2007-11-271-4/+12
|
* Removing the Id tags from all of the filesLuke Kanies2007-10-031-1/+0
|
* Renaming the 'Puppet::Util::Config' class toLuke Kanies2007-09-221-2/+2
| | | | | | | '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".
* Applying a slightly modified patch by Dean Wilson -- puppetca now exits with ↵luke2007-07-171-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
* Fixing #206 and #422. Executables will still look for the deprecated config ↵luke2007-05-061-3/+1
| | | | | | 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
* Adding a --version argument to puppetcaluke2007-04-171-0/+7
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2391 980ebf18-57e1-0310-9a29-db15c13687c0
* Moving some of the stand-alone classes into the util/ subdirectory, to clean ↵luke2007-02-071-2/+2
| | | | | | up the top-level namespace a bit. This is a lot of file modifications, but most of them just change class names and file paths. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2178 980ebf18-57e1-0310-9a29-db15c13687c0
* updating docs with new location for reference infoluke2007-01-221-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2074 980ebf18-57e1-0310-9a29-db15c13687c0
* Closing #362. Case-insensitivity is handled by downcasing all host names.luke2006-12-271-11/+12
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1971 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #385. Puppetca correctly exits with non-zero exit code if there are ↵luke2006-12-191-1/+5
| | | | | | no certs to sign. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1955 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #346 -- on some scripts I accidentally used "feature" instead of ↵luke2006-11-161-1/+1
| | | | | | "features" git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1886 980ebf18-57e1-0310-9a29-db15c13687c0
* Merging the code over from the oscar branch. I will now be doing all ↵luke2006-11-081-12/+1
| | | | | | development in the trunk again, except for larger changes, which will still get their own branch. This is a merge of the changes from revision 1826 to revision 1834. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1835 980ebf18-57e1-0310-9a29-db15c13687c0
* Fix trac #282 (Change URL to configref, mention --genconfig)lutter2006-09-191-1/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1630 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #280; added a warning and exiting if no hosts are specified to cleanluke2006-09-191-0/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1624 980ebf18-57e1-0310-9a29-db15c13687c0
* Better documentation around certificate revocation and mgmtlutter2006-09-181-2/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1619 980ebf18-57e1-0310-9a29-db15c13687c0
* Specifically rescuing Exception, since apparently the default does not ↵luke2006-09-151-1/+1
| | | | | | rescue LoadErrors and everything else git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1604 980ebf18-57e1-0310-9a29-db15c13687c0
* Catching all errors encountered during loading, not just LoadError, to fix ↵luke2006-09-141-1/+1
| | | | | | ongoing problems with rdoc/usage. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1593 980ebf18-57e1-0310-9a29-db15c13687c0
* Certificate revocation through puppetca. Keep a simple text inventory of all ↵lutter2006-08-231-9/+40
| | | | | | certificates ever issued. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1485 980ebf18-57e1-0310-9a29-db15c13687c0
* changing the #!ruby lines to #!env rubyluke2006-06-291-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1338 980ebf18-57e1-0310-9a29-db15c13687c0
* A round of bug-fixing in preparation for the next release.luke2006-06-131-0/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1256 980ebf18-57e1-0310-9a29-db15c13687c0
* adding "clean" mode to puppetcaluke2006-04-261-9/+20
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1140 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing puppetca so it does not call chuser; instead, it is configured to ↵luke2006-04-121-2/+0
| | | | | | create all of the files with the correct permissions and ownership (using Config#write and Config#writesub). git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1111 980ebf18-57e1-0310-9a29-db15c13687c0
* There is now full support for configuration files, and the entire system has ↵luke2006-02-071-27/+34
| | | | | | been modified to expect their new behaviour. I have not yet run the test across all test hosts, though. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@873 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding some extra feedbackluke2006-01-101-0/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@797 980ebf18-57e1-0310-9a29-db15c13687c0
* Made tweaks here and there to get it running better on my local network. I ↵luke2005-10-211-0/+8
| | | | | | am inches away from that happening. All tests pass. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@720 980ebf18-57e1-0310-9a29-db15c13687c0
* all tests now pass on solaris 10x86; i had to do some stupid hacking with ↵luke2005-09-071-1/+1
| | | | | | base64 for it to work, and i am working getting a much better base class for all test classes git-svn-id: https://reductivelabs.com/svn/puppet/trunk@635 980ebf18-57e1-0310-9a29-db15c13687c0
* adding RDoc::usage documentation to all executablesLuke Kanies2005-08-291-38/+116
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@595 980ebf18-57e1-0310-9a29-db15c13687c0
* Moving all files into a consolidated trunk. All tests pass except the ↵Luke Kanies2005-08-231-0/+127
known-failing certificate test, but there appear to be some errors that are incorrectly not resulting in failurs. I will track those down ASAP. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@576 980ebf18-57e1-0310-9a29-db15c13687c0