summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)AuthorFilesLines
2009-02-06Revert "This is work that I've decided not to keep"Luke Kanies1-8/+5
This reverts commit f57a5e88229578747dde2c90af3a696ad0172e72.
2009-02-06This is work that I've decided not to keepLuke Kanies1-5/+8
so I'm just applying it here so it continues to show up in the history in case I ever want to look at it again. Signed-off-by: Luke Kanies <luke@madstop.com>
2009-02-01Revert "Fixed #1916 - Added environment option to puppetd"James Turnbull1-13/+3
This reverts commit 8d0086b3cb877765857b7ff0dee454b14417430a.
2009-01-31Fixed #1916 - Added environment option to puppetdJames Turnbull1-3/+13
2008-12-18Fixing #1729 - puppetmasterd can now read certs at startupLuke Kanies1-1/+13
The main aspect of this solution is to create a site-wide Puppet::SSL::Host instance to cache ssl key and certificate, so that by the time we've switched UIDs, we've got the key and cert in memory. Then webrick just uses that, rather than creating a new Host instance. Signed-off-by: Luke Kanies <luke@madstop.com>
2008-12-18Renaming Puppet::Node::Catalog to Puppet::Resource::CatalogLuke Kanies2-2/+2
Signed-off-by: Luke Kanies <luke@madstop.com>
2008-12-09Merge branch '0.24.x'Luke Kanies1-1/+3
Conflicts: CHANGELOG lib/puppet/type/tidy.rb spec/unit/type/file/ensure.rb spec/unit/type/tidy.rb
2008-12-06Fix #1483 - use REST to transmit reports over the wireBrice Figureau1-0/+2
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
2008-12-06Make ralsh behave more sanely for non-existent objects and property valuesNigel Kersten1-1/+3
2008-12-02Merge branch '0.24.x'Luke Kanies1-15/+109
Conflicts: bin/puppetca lib/puppet/type/group.rb lib/puppet/type/tidy.rb lib/puppet/util/settings.rb Also edited the following files so tests will pass: lib/puppet/type/component.rb spec/unit/ssl/certificate_request.rb spec/unit/type/computer.rb spec/unit/type/mcx.rb spec/unit/type/resources.rb spec/unit/util/settings.rb spec/unit/util/storage.rb test/ral/type/zone.rb
2008-11-20Fixed #1668 - puppetca can't clean unsigned certsJames Turnbull1-5/+6
2008-11-17Manifest documentation generationBrice Figureau1-15/+109
There is currently two type of documentation generation for manifests (module or modulepath): * RDoc HTML generation for modules and global manifests * console output for sole manifest Both version handles classes, defines, nodes, global variable assignements, and resources when --all is used. The usage is the following: For the rdoc variant: $ puppetdoc --mode rdoc --outputdir doc It uses the puppet.conf configuration file to get the modulepath and manifestdir settings. Those are overridable on the command line with --modulepath and --manifestdir. For the console output version: $ puppetdoc /path/to/manifests Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
2008-11-03Setting puppetmasterd up to serve all indirected classes.Luke Kanies1-1/+3
Signed-off-by: Luke Kanies <luke@madstop.com>
2008-11-03Retrieving the CA certificate before the client certificate.Luke Kanies1-1/+1
We have to have a CA cert first, because the host will start using the client cert as soon as it's available, but it's not functional without a CA cert. Also removing extra stupid stuff from wait_for_cert -- the connection is now always recycled, which is much simpler. Signed-off-by: Luke Kanies <luke@madstop.com>
2008-10-17Merge branch '0.24.x' Removed the 'after' blocks that call Type.clear,Luke Kanies1-11/+32
since that method is deprecated. Conflicts: CHANGELOG bin/puppetca lib/puppet/file_serving/fileset.rb lib/puppet/network/xmlrpc/client.rb lib/puppet/type/file/selcontext.rb spec/unit/file_serving/metadata.rb spec/unit/type/file.rb
2008-10-08Fixed #1633 - Added support for --detailed-exits to bin/puppetLuke Kanies1-3/+23
which causes puppet to produce different exit codes depending on whether there were changes or failures in the transaction. Signed-off-by: Luke Kanies <luke@madstop.com>
2008-10-03Fixed #1628 - Changed node search to use certname rather than Facter hostnameJames Turnbull1-3/+4
2008-10-03Updated puppet binary documentationJames Turnbull1-5/+5
2008-09-25Fixed #1588 - Fixed puppetca --clean --allJames Turnbull1-0/+1
2008-09-23Merge branch 'feature/master/1481'Luke Kanies1-1/+0
This merges in the new fileserving code -- we're now using REST to do fileserving, rather than xmlrpc. Conflicts: lib/puppet/parameter.rb lib/puppet/type/file.rb spec/unit/type/file.rb
2008-09-23Merge branch '0.24.x'Luke Kanies1-1/+1
Conflicts: lib/puppet/metatype/container.rb lib/puppet/metatype/instances.rb lib/puppet/metatype/metaparams.rb lib/puppet/metatype/relationships.rb lib/puppet/metatype/schedules.rb
2008-09-19Fixed #1500 - puppetrun host regressionAndrew Shafer1-1/+1
2008-08-26Removing mention of an obselete class.Luke Kanies1-1/+0
Signed-off-by: Luke Kanies <luke@madstop.com>
2008-08-18Merge branch '0.24.x'Luke Kanies1-7/+15
Conflicts: CHANGELOG test/util/posixtest.rb
2008-08-17Add the -P/--ping option to puppetrun, fixes #1501AJ Christensen1-7/+15
Turns on the ICMP echo testing against the target host. Defaults to off. 111111111
2008-08-07puppetd now uses the Indirected SSL.Luke Kanies1-4/+4
This means it now uses REST for certificate saving and retrieval, which is awesome. Signed-off-by: Luke Kanies <luke@madstop.com>
2008-07-29Merge branch '0.24.x' into mergingLuke Kanies1-1/+1
Conflicts: test/ral/type/filesources.rb
2008-07-10Fixing #1408 - --loadclasses works again.Luke Kanies1-1/+1
The problem was that the mechanism I was using for passing the node to the compiler was conflicting with the Indirector::Request's method of handling node authentication. Signed-off-by: Luke Kanies <luke@madstop.com>
2008-07-04Merge branch '0.24.x'Luke Kanies2-2/+5
Conflicts: lib/puppet/util/settings.rb spec/integration/defaults.rb spec/unit/node/catalog.rb spec/unit/type/interface.rb spec/unit/type/ssh_authorized_key.rb
2008-07-04Merge branch 'ticket/0.24.x/1391' of git://github.com/littleidea/puppet into ↵James Turnbull1-2/+3
0.24.x
2008-07-03Adding changes to config print that were missed in fix for 1183Andrew Shafer1-2/+3
2008-07-03Fixed 1240 - puppet will function more like puppetd if graphingLuke Kanies1-0/+2
or reporting are enabled.
2008-07-02Merge branch '0.24.x'Luke Kanies5-52/+18
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
2008-07-01Fixed #1006 - puppetrun --class works again. I added the classLuke Kanies1-43/+5
membership testing to the Ldap node terminus, and added tests,
2008-06-17Fixed #1371 - Updated bin/puppet to use Node.findJames Turnbull1-1/+1
2008-06-16issue 1183Andrew Shafer4-8/+12
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-06-14Merge branch '0.24.x'Luke Kanies1-29/+3
Also added the fixes to make the certhandler tests pass even when certs exist; I'll deal with the conflict later. Conflicts: CHANGELOG bin/puppetd lib/puppet/network/http/handler.rb lib/puppet/network/http/mongrel/rest.rb spec/integration/indirector/rest.rb spec/integration/network/server/mongrel.rb spec/integration/network/server/webrick.rb spec/unit/network/http/webrick.rb
2008-06-10Try againAndrew Shafer1-30/+3
Add the class to handle certs, specs and modify puppetd should fix 1190, 1199, 1200
2008-05-20Merge branch '0.24.x'Luke Kanies2-3/+7
Conflicts: CHANGELOG spec/integration/defaults.rb spec/integration/node/catalog.rb spec/unit/rails.rb spec/unit/type/mount.rb
2008-05-17Updated puppetd documentation which fixes ticket #1227James Turnbull1-2/+6
2008-05-07The master and client now successfully speak xmlrpc using the new system.Luke Kanies2-5/+18
The server is actually serving REST, but the client can't use it until we resolve the format and security issues that REST hasn't yet tackled.
2008-05-05The master is now functionally serving REST and xmlrpc.Luke Kanies1-1/+5
...as far as I can tell. The client, however, is broken, since it used the old http_pool/ssl_support stuff, which no longer works. I have to port puppetd over to using the new ssl stuff, then I'll at least be able to verify that the master can still speak xmlrpc.
2008-05-05Update to man pages, fix to ralsh help text and fix for #1211James Turnbull1-1/+1
2008-05-02Switched puppetmasterd to use the new-style server plumbing.Luke Kanies1-102/+20
The code is much cleaner, and it seems to be mostly functional, but we have to pick a strategy for signing the host's certificate on first startup. Also, I haven't actually done end-to-end testing yet, which needs the certs working first.
2008-04-21Merge branch '0.24.x'Luke Kanies1-2/+4
Conflicts: bin/puppetca
2008-04-19Fixing puppetca so it uses the :local ca setting.Luke Kanies1-0/+2
This causes it to use both the :ca_file and :file terminus types.
2008-04-19Added an Interface class to the CA to model puppetca's usage.Luke Kanies1-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.
2008-04-15Fixed #1189 and added support for --all to puppetca --cleanJames Turnbull1-12/+29
2008-04-08Fixing the executables to use the new indirection api.Luke Kanies1-1/+1
2008-03-28Fixes #1148 - replaces #!/usr/bin/ruby with #!/usr/bin/env ruby.Paul Lathrop2-2/+2