summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Add parser for arbitrary expressionsBrice Figureau2008-10-018-649/+1116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The expressions can be used in if 'test' and in the right side of assignements. The expressions can contain any number of sub-expressions combined by either arithmetic operators, comparison operators, or boolean operators. Random Usage Examples: $result = ((( $two + 2) / $one) + 4 * 5.45) - (6 << 7) + (0x800 + -9) or if ($a < 10) and ($a + 10 != 200) { ... }
* | | | Add arithmetic operators to ASTBrice Figureau2008-09-307-0/+248
| | | | | | | | | | | | | | | | | | | | This changeset adds +,-,/,*,<< and >> computation and AST parse nodes.
* | | | Add not operator to ASTBrice Figureau2008-09-303-0/+50
| | | |
* | | | Add comparison operators (< > == != <= >=) to ASTBrice Figureau2008-09-303-0/+90
| | | |
* | | | Add boolean operators to ASTBrice Figureau2008-09-303-0/+102
| | | |
* | | | Add warning and forcibly set to :md5 fixing #1564Paul Nasrat2008-09-303-0/+14
| | | |
* | | | Fix metadata class for cases when checksum_type setPaul Nasrat2008-09-302-4/+20
| | | |
* | | | Fixed #1603 - Added support for running Puppet inside a Rack applicationJames Turnbull2008-09-305-0/+283
| | | |
* | | | Fix ticket 1596 in new fileset code, use tmpdir in fileserver tests.Paul Nasrat2008-09-304-2/+13
| | | |
* | | | Make fileserver use fileset for recursion and handle dangling links by ↵Paul Nasrat2008-09-302-42/+25
| | | | | | | | | | | | | | | | ignoring them fixing #1544
* | | | Add tests for FileServer::Mount list for #1544Paul Nasrat2008-09-301-0/+133
|/ / /
* | | Fixed #1610 - Raise "Filebucketed" messages to Notice priorityJames Turnbull2008-09-262-2/+4
| | |
* | | Added a number of confines to package providersJames Turnbull2008-09-257-2/+18
| | |
* | | Fixed #1609 - Added confines for the Gentoo, FreeBSD and SMF (Solaris) ↵James Turnbull2008-09-254-0/+9
| | | | | | | | | | | | service providers
* | | Fixed #1608 - Added ubuntu to defaultfor for apt providerJames Turnbull2008-09-252-1/+3
| | |
* | | Fixed #1607 - Added ubuntu to defaultfor for Debian service providerJames Turnbull2008-09-252-1/+4
| | |
* | | Fixed #1588 - Fixed puppetca --clean --allJames Turnbull2008-09-252-2/+5
| | |
* | | Fixed #1472 -- defined, exported resources in the current compile now get ↵Luke Kanies2008-09-253-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | expanded correctly. This was working for defined resources in the db, but not in the current compile. I just had to mark the resources as non-exported.
* | | Fixed #1045 - Multiple metaparams all get added to resources.Luke Kanies2008-09-243-1/+13
| | | | | | | | | | | | | | | | | | | | | The problem was that I was using a 'return' in a loop where I should have been using a 'next'. Signed-off-by: Luke Kanies <luke@madstop.com>
* | | 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
| | |
* | | 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
| | |