summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Migrating the apt and dpkg tests to rspec.Luke Kanies2008-10-026-303/+346
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I left the aptitude and aptrpm tests as an exercise for the reader. Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | Update change log with RBAC rolesAndrew Shafer2008-10-011-0/+2
| | | | |
| * | | | Add role support to user type and an implementionAndrew Shafer2008-10-015-49/+484
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | modify user type: add ensure = role logic add roles property add manages_solaris_rbac feature refactored 'list' property to reuse logic for groups in roles
| * | | | Some small clarifying refactors and change to objectadd to allow subclasses ofAndrew Shafer2008-10-012-49/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with a uid not need to be a single class us use modify I don't like logic about subclasses in a parent class, but not in a position to address.
| * | | | Adding user_attr util to parse attributes on solarisAndrew Shafer2008-10-012-0/+68
| | | | | | | | | | | | | | | | | | | | read /etc/user_attr and makes a hash based on the file contents
| * | | | Fixed #1586 - Specifying "fully qualified" package names in GentooJames Turnbull2008-10-022-1/+3
| | | | |
| * | | | Fixed #791 - You should now be able to create and find a user/group in one ↵Luke Kanies2008-10-024-194/+268
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | transaction. The real problem was that the 'gid' and 'uid' methods didn't handle the case where 'get_posix_field' didn't return a value, and the subsequent 'get_posix_field' calls couldn't handle that. This commit moves the tests for Posix to spec, and fixes the specific bug. Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | Refactoring and adding tests to the file group property.Luke Kanies2008-10-022-46/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drastically simplified the class, removing a lot of obsolete code and adding tests for nearly the whole class. Signed-off-by: Luke Kanies <luke@madstop.com>
| * | | | 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>