summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Finishing the rename of FileBase => Base.Luke Kanies2008-08-266-40/+237
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Git did something really strange, in that it apparently didn't add the new base.rb files even though I used 'git mv'. Also fixing some other failing tests I hadn't previously tracked down because of the magical tuple of autotest's suckiness and my laziness. Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | Adding weights to network formats, and sorting them based on the weight.Luke Kanies2008-08-266-12/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This way the new hackish RAW format will only ever be used if it's specifically chosen. Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | Renaming FileServing::FileBase to FileServing::Base.Luke Kanies2008-08-267-224/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also fixing a set of tests I broke last night. I'm looking at replacing autotest with rspactor, because my FSEvents hack to autotest means it's harder for me to rerun autotest. Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | Adding a hackish raw format.Luke Kanies2008-08-262-1/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As the comment in the file says, we don't really have enough data to know what a good design would look like, and I think this format will be a bit of a one-off, so I'm just throwing up some barriers to keep people from doing silly things with it. Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | Adding suitability as a requirement for a format being supported.Luke Kanies2008-08-262-1/+7
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | Removing the yaml conversion code from FileContent.Luke Kanies2008-08-264-46/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also fixing some integration tests that were failing because of the change to the terminus selection code for file serving. Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | Causing the Indirection to fail if a terminus selection hook does not return ↵Luke Kanies2008-08-262-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a value. Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | Correcting whitespace in a testLuke Kanies2008-08-261-3/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | Spell-correcting a commentLuke Kanies2008-08-261-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | Cleaning up an exception.Luke Kanies2008-08-261-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only adding option information when options are present. Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | FileServing Configurations now expect unqualified files.Luke Kanies2008-08-263-21/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fits in with the fact that the indirection requests split URIs and set the request key to an unqualified path rather than a fully-qualified path. The whole system is unqualified end-to-end, now, except when you're specifically asking for a full, local file name. Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | Fixing whitespace in docs of some tests.Luke Kanies2008-08-261-4/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | Fixing the fileserving terminus selection hook.Luke Kanies2008-08-262-100/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It now uses the fact that the indirection request does URI parsing, rather than doing the parsing on its own. Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | Special-casing 'file' URIs in the indirection requests.Luke Kanies2008-08-262-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These just get converted to full file paths, since we know they will never pass over the wire. Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | Dividing server/port configuration responsibility between the REST terminus ↵Luke Kanies2008-08-264-46/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and the indirection request. Previously, the REST terminus did all of the configuration, but it required rewriting the request key if it was a URI because you can't have a uri in a uri (i.e., you can't use http://host/puppet://host/dist/file). Now the request parses the URI and sets host/port/key/protocol appropriately, and the REST terminus has its own overrides and defaults so that subclasses like certificate classes can provide specific values. Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | Fixing a test that relied on hash ordering.Luke Kanies2008-08-261-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | | | | Removing files that git wasn't smart enough to remote during a merge.Luke Kanies2008-09-235-904/+0
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | | | | Merge branch '0.24.x'Luke Kanies2008-09-2353-2464/+3825
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | Removing some code in Parameter that is unnecessary.Luke Kanies2008-09-233-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's duplicated in Property, but was only ever called if the instance was Property -- in other words, the base class new about its subclass, but the subclass overrode that method any way. Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | Fixed #1595 - Internally, Property#retrieve is no longer calledLuke Kanies2008-09-235-23/+57
| | | | | | | | | | | | | | | | when no 'should' value is available for a resource.
| * | | Only apply splay the first runAndrew Shafer2008-09-212-8/+50
| | | | | | | | | | | | | | | | Issue 1491
| * | | fix failing hpux user specsAndrew Shafer2008-09-201-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | feature 1508 Not sure these tests ever passed on any platform. Added some mocking to support the two tests.
| * | | Add rspec unit test for the append operatorBrice Figureau2008-09-216-1/+133
| | | | | | | | | | | | | | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
| * | | Add an append (+=) variable operator:Brice Figureau2008-09-215-716/+760
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The append variable operator can be used to append something to a variable defined in a parent scope, containing either a string or an array. The main use is to append array elements in classes to a variable globally defined in a node. Example: $ssh_users = ['brice', 'admin1'] class backup { $ssh_users += ['backup_operator'] ... } Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
| * | | Bug #1550 - Rework to avoid regressing rspec tests, add new rspec tests for ↵Paul Nasrat2008-09-204-13/+43
| | | | | | | | | | | | | | | | | | | | | | | | templatedir as a path Signed-off-by: Paul Nasrat <pnasrat@googlemail.com>
| * | | Allow a templatedir to be colon separated.Thom May2008-09-201-3/+15
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Thom May <thom@clearairturbulence.org> Signed-off-by: Paul Nasrat <pnasrat@googlemail.com>
| * | | Fixed #1500 - puppetrun host regressionAndrew Shafer2008-09-192-1/+3
| | | |
| * | | Fixed #1579 and #1580 - errors in the Puppet RPM spec fileJames Turnbull2008-09-192-3/+11
| | | |
| * | | Fixed #1521 -- ldap user and group are now used with the default connectionLuke Kanies2008-09-173-1/+26
| | | | | | | | | | | | | | | | | | | | | | | | when available. Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | Fixed #1572 -- file purging now fails if remote sources do not exist.Luke Kanies2008-09-163-0/+17
| | | | | | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | Fixing #1576 - moving all of the Puppet::Type code back into type.rb.Luke Kanies2008-09-1512-2124/+2101
| | | | | | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | Fixed issues with file descriptors leaking into subprocessesJames Turnbull2008-09-132-2/+11
| | | |
| * | | Fixed #1571 - Puppet::Util::binary returns incorrect resultsJames Turnbull2008-09-131-8/+3
| | | |
| * | | Fixed #1553 - Puppet and Facter cannot both install the plist module into ↵James Turnbull2008-09-136-476/+12
| | | | | | | | | | | | | | | | two different locations
| * | | Fixed #1568 - createpackage.shJames Turnbull2008-09-131-1/+1
| | | |
| * | | Adjusted hpuxuseradd user provider to confine to HP-UX and fixed HP-UX user ↵James Turnbull2008-09-132-3/+6
| | | | | | | | | | | | | | | | provider path regression
| * | | Fixed #1566 - changed password property of the user typeJames Turnbull2008-09-132-0/+12
| | | |
| * | | Fixed debug messages in package type - thanks to Todd Zullinger for this fixJames Turnbull2008-09-122-2/+4
| | | |
| * | | Sync with latest Fedora/EPEL specfileJames Turnbull2008-09-091-0/+2
| | | |
| * | | Fixes #1455 - Adds HP-UX support for user typeJames Turnbull2008-09-063-0/+60
| | | |
| * | | Fixes #1551 puppetmaster.freshness xmlrpc call returns incorrect typeNigel Kersten2008-09-052-1/+3
| | | |
| * | | Fixes #1554 - Fix exception for undefined hostnameJames Turnbull2008-09-052-2/+6
| | | |
| * | | Fixed #1533 - changed permissions for man directoryJames Turnbull2008-08-292-1/+3
| | | |
| * | | Runit service providerBrice Figureau2008-08-293-0/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This provider manages daemons running supervised by Runit[1]. It tries to detect the service directory, with by order of preference: * /service * /var/service * /etc/service The daemon directory should be placed in a directory that can be by default in: * /etc/sv * /var/lib/service or this can be overriden in the service resource parameters: service { "myservice": provider => "runit", path => "/path/to/daemons"; } This provider supports out of the box: * start/stop * enable/disable * restart * status [1]: http://smarden.sunsite.dk/runit/
| * | | Daemontools service providerBrice Figureau2008-08-292-0/+278
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This provider manages daemons running supervised under D.J.Bernstein daemontools. It tries to detect the service directory, with by order of preference: * /service * /etc/service * /var/lib/svscan The daemon directory should be placed in a directory that can be by default in: * /var/lib/service * /etc or this can be overriden in the service resource parameters: service { "myservice": provider => "daemontools", path => "/path/to/daemons"; } This provider supports out of the box: * start/stop (mapped to enable/disable) * enable/disable * restart * status Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
| * | | Fixes tests broken by 95aa085James Turnbull2008-08-271-0/+10
| | | |
* | | | Merge commit 'turnbull/0.24.x'Luke Kanies2008-08-2620-239/+282
|\| | |
| * | | Fixed #1488 - Moved individual functions out of functions.rb intoJames Turnbull2008-08-2614-217/+211
| | | | | | | | | | | | | | | | | | | | the lib/puppet/parser/functions directory. New functions should be created in this directory.
| * | | Fixed #1457 - case insensitive match for errorJames Turnbull2008-08-242-1/+3
| | | |
| * | | Removed spec color option for buildbotJames Turnbull2008-08-241-1/+1
| | | |