summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Merge branch 'tickets/0.24.x/1622' into 0.24.xJames Turnbull2008-10-0210-163/+303
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: CHANGELOG
| | * | | | Modified the group and zone resource types to no longer callLuke Kanies2008-09-305-16/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'currentpropvalues' as a means of setting all values to absent. There should be no behaviour change from this change. Signed-off-by: Luke Kanies <luke@madstop.com>
| | * | | | Modified the behaviour of resource-level 'retrieve' -- it onlyLuke Kanies2008-09-303-26/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | calls 'retrieve' on each property if the resource exists. Signed-off-by: Luke Kanies <luke@madstop.com>
| | * | | | Updating changelog for #1622Luke Kanies2008-09-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| | * | | | Adding tests for the user retrieve methodLuke Kanies2008-09-302-2/+25
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| | * | | | Removing commented code from the user type from about 2005Luke Kanies2008-09-301-23/+0
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| | * | | | The Netinfo and DirectoryService providers can now create user and group ↵Luke Kanies2008-09-302-5/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | simultaneously. This required selectively using property#sync if a 'should' value is present, so that the user's gid property can do the conversion if necessary. Signed-off-by: Luke Kanies <luke@madstop.com>
| | * | | | Fixing #1622 - The user type only looks up groups when necessary.Luke Kanies2008-09-302-58/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also added a bunch of tests to the user type, and refactored as necessary for this to work. Signed-off-by: Luke Kanies <luke@madstop.com>
| | * | | | Aliasing the rspec 'should' method to 'must'Luke Kanies2008-09-301-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so it does not conflict with the RAL 'should' method. Signed-off-by: Luke Kanies <luke@madstop.com>
| | * | | | Rewriting the user tests, in preparation for enhancing themLuke Kanies2008-09-301-41/+9
| | | |_|/ | | |/| | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | Fixed #1620 - Add 'sles' to Puppet confines when 'suse' is usedJames Turnbull2008-10-013-3/+5
| | | | |
| * | | | 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>
* | | | Adding comments to Puppet::Util::CacherLuke Kanies2008-10-151-2/+26
| | | | | | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | | | Removing obselete code from the file type.Luke Kanies2008-10-031-69/+0
| | | | | | | | | | | | | | | | | | | | | | | | Also shows that #674 is fixed. Signed-off-by: Luke Kanies <luke@madstop.com>
* | | | Merged fsweetser's selinux patch against HEADBrett Lentz2008-09-257-0/+445
| | | |
* | | | Merge branch 'feature/master/1481'Luke Kanies2008-09-2360-979/+1980
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | Removing the old, obsolete recursion methods.Luke Kanies2008-08-291-168/+0
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | As far as I can tell, recursion is working entirely.Luke Kanies2008-08-292-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | W00t! Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | Removing insanely stupid default property behaviour.Luke Kanies2008-08-291-11/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Basically, I had the [] method on resources returning the 'should' value if one was available, but if one wasn't available, it would retrieve the current value from the resource. This resulted in all kinds of completely ridiculous behaviours. Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | Source recursion is nearly working.Luke Kanies2008-08-295-25/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It works, but you have to run it multiple times, and there are still a couple of strangenesses with the parameter values, such as the mode not getting set on the first run. Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | Files now use the Indirector to recurse locally.Luke Kanies2008-08-283-10/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I don't yet have integration tests for remote recursion or link recursion, but we're nearly there. Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | Fixing filesets to allow nil ignore values.Luke Kanies2008-08-282-0/+9
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | Recursion using REST seems to almost work.Luke Kanies2008-08-282-252/+348
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I think this is the bulk of the work, I just need to write some integration tests to hunt down a couple of small issues. Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | Mostly finishing refactoring file recursion to use REST.Luke Kanies2008-08-274-19/+250
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have the majority of the work done (and it's a *lot* less code). We just have six more tests we need to implement the code for. Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | Fixing FileServing::Base so that it can recurse on a single file.Luke Kanies2008-08-274-1/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was throwing exceptions if you tried to use it on a file instead of a directory. Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | Fixing the terminus helper so it correctly catches options passed from ↵Luke Kanies2008-08-262-1/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clients via REST. Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | The file source is now refactored and uses REST.Luke Kanies2008-08-264-65/+125
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | Removing mention of an obselete class.Luke Kanies2008-08-261-1/+0
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | One third done refactoring file[:source] -- retrieve() is done.Luke Kanies2008-08-262-112/+238
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It now uses the FileServing::Metadata indirection and is about 100x cleaner to boot. Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | Adding a "source" attribute to fileserving instances.Luke Kanies2008-08-262-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will be used to cache the source that was used to retrieve the instance. Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | Aliasing RSpec's :should method to :must.Luke Kanies2008-08-261-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows us to still use the method in the RAL, where 'should' is already taken. Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | Adding automatic attribute collection to the new fileserving code.Luke Kanies2008-08-2618-74/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Basically, this just includes a consistent method for collecting info (either content or metadata) and then calls that method when returning instances via the indirector. It's such a large commit mostly because of small changes in the normal code and large changes in the testing to accomodate those small changes. Signed-off-by: Luke Kanies <luke@madstop.com>