summaryrefslogtreecommitdiff
path: root/bin/puppetca
AgeCommit message (Collapse)AuthorFilesLines
2008-11-20Fixed #1668 - puppetca can't clean unsigned certsJames Turnbull1-5/+6
2008-09-25Fixed #1588 - Fixed puppetca --clean --allJames Turnbull1-0/+1
2008-06-16issue 1183Andrew Shafer1-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
2008-04-15Fixed #1189 and added support for --all to puppetca --cleanJames Turnbull1-12/+29
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-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-10-03Removing the Id tags from all of the filesLuke Kanies1-1/+0
2007-09-22Renaming the 'Puppet::Util::Config' class toLuke Kanies1-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".
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-05-06Fixing #206 and #422. Executables will still look for the deprecated config ↵luke1-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
2007-04-17Adding a --version argument to puppetcaluke1-0/+7
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2391 980ebf18-57e1-0310-9a29-db15c13687c0
2007-02-07Moving some of the stand-alone classes into the util/ subdirectory, to clean ↵luke1-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
2007-01-22updating docs with new location for reference infoluke1-1/+1
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2074 980ebf18-57e1-0310-9a29-db15c13687c0
2006-12-27Closing #362. Case-insensitivity is handled by downcasing all host names.luke1-11/+12
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1971 980ebf18-57e1-0310-9a29-db15c13687c0
2006-12-19Fixing #385. Puppetca correctly exits with non-zero exit code if there are ↵luke1-1/+5
no certs to sign. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1955 980ebf18-57e1-0310-9a29-db15c13687c0
2006-11-16Fixing #346 -- on some scripts I accidentally used "feature" instead of ↵luke1-1/+1
"features" git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1886 980ebf18-57e1-0310-9a29-db15c13687c0
2006-11-08Merging the code over from the oscar branch. I will now be doing all ↵luke1-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
2006-09-19Fix trac #282 (Change URL to configref, mention --genconfig)lutter1-1/+5
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1630 980ebf18-57e1-0310-9a29-db15c13687c0
2006-09-19Fixing #280; added a warning and exiting if no hosts are specified to cleanluke1-0/+4
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1624 980ebf18-57e1-0310-9a29-db15c13687c0
2006-09-18Better documentation around certificate revocation and mgmtlutter1-2/+5
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1619 980ebf18-57e1-0310-9a29-db15c13687c0
2006-09-15Specifically rescuing Exception, since apparently the default does not ↵luke1-1/+1
rescue LoadErrors and everything else git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1604 980ebf18-57e1-0310-9a29-db15c13687c0
2006-09-14Catching all errors encountered during loading, not just LoadError, to fix ↵luke1-1/+1
ongoing problems with rdoc/usage. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1593 980ebf18-57e1-0310-9a29-db15c13687c0
2006-08-23Certificate revocation through puppetca. Keep a simple text inventory of all ↵lutter1-9/+40
certificates ever issued. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1485 980ebf18-57e1-0310-9a29-db15c13687c0
2006-06-29changing the #!ruby lines to #!env rubyluke1-1/+1
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1338 980ebf18-57e1-0310-9a29-db15c13687c0
2006-06-13A round of bug-fixing in preparation for the next release.luke1-0/+3
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1256 980ebf18-57e1-0310-9a29-db15c13687c0
2006-04-26adding "clean" mode to puppetcaluke1-9/+20
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1140 980ebf18-57e1-0310-9a29-db15c13687c0
2006-04-12Fixing puppetca so it does not call chuser; instead, it is configured to ↵luke1-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
2006-02-07There is now full support for configuration files, and the entire system has ↵luke1-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
2006-01-10Adding some extra feedbackluke1-0/+6
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@797 980ebf18-57e1-0310-9a29-db15c13687c0
2005-10-21Made tweaks here and there to get it running better on my local network. I ↵luke1-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
2005-09-07all tests now pass on solaris 10x86; i had to do some stupid hacking with ↵luke1-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
2005-08-29adding RDoc::usage documentation to all executablesLuke Kanies1-38/+116
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@595 980ebf18-57e1-0310-9a29-db15c13687c0
2005-08-23Moving all files into a consolidated trunk. All tests pass except the ↵Luke Kanies1-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