summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Ticket 1780 - Solaris RBAC roles should be autorequiredAndrew Shafer2008-12-011-0/+11
| | | | Autorequire the roles that belong to the user so they will be created first
* Feature 1696 Add support for branded zonesAndrew Shafer2008-12-012-4/+15
| | | | Applied the patch from the ticket and wrote tests with the changes
* Bug #1778 - Solaris RBAC profiles should maintain orderAndrew Shafer2008-12-013-3/+31
| | | | | | Created OrderedList property Added to profile property small refactor in List to make inheriting easier
* Bug # 1680 Now you can set the hashed passwords on solarisAndrew Shafer2008-12-011-11/+18
| | | | Straight /etc/shadow hackery
* Feature #1783 - Add ZFS supportAndrew Shafer2008-12-014-0/+273
| | | | Types and providers to manage zfs and zpool
* Handle password when user is createdAndrew Shafer2008-12-011-1/+6
| | | | strip out the -p and call password= after the thing is done
* == is not =Andrew Shafer2008-12-011-1/+1
|
* Solaris doesn't have a native tool to set hashed passwordsAndrew Shafer2008-12-011-5/+30
| | | | | | | Added support for passwords by directly editing /etc/shadow (I tried to make it work with libshadow, but considering it is not packaged for Solaris and adds little benefit, I decided against it) password and password= are now defined on the default Solaris provider
* type/mcx.rb Feature #1026 - MCX TypeJeffrey McCune2008-12-012-0/+313
| | | | | | | | Added new MCX type and base test. This type manages MCX settings on DirectoryService nodes. These settings take the form of plist XML documents attached to Users, Groups, and Computers in DirectoryService.
* Simplify launchd service provider and add testsNigel Kersten2008-12-012-21/+24
|
* Fixed #1695 - Solaris 10 zone provider doesn't properly handle unknown zone ↵James Turnbull2008-12-011-0/+1
| | | | attributes in newer releases
* Fixing #1749 - Splay now hopefully behaves "better" for small values.Luke Kanies2008-12-011-1/+1
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Fix #1741 - Add inline_template functionBrice Figureau2008-11-291-0/+21
|
* Fix #1741 - refactor TemplateWrapper, test for template functionBrice Figureau2008-11-292-24/+33
|
* Fix #1741 - Puppet::Parser::Functions rmfunctions and unit testBrice Figureau2008-11-291-0/+14
|
* Fixes #1773 - no longer check for absolute pathsThom May2008-11-291-1/+1
|
* make sure only types that have passwords search for the passwordNigel Kersten2008-11-281-1/+3
|
* fix bug with numeric uid/gid in directoryservice provider. doc string cleanupsNigel Kersten2008-11-283-22/+23
|
* Documentation fix for runit providerJames Turnbull2008-11-281-3/+5
|
* Documentation fix for daemontools providerJames Turnbull2008-11-281-3/+4
|
* Fixed #1776 - Trivial fix for gentoo service providerJames Turnbull2008-11-281-1/+1
|
* Rename migration so it's still appliedThom May2008-11-261-0/+0
|
* Slight denormalisation to store a host's environment as a first classThom May2008-11-263-0/+14
| | | | | object in the database Fixes: #1392
* Fixing #1743 - defined types get catalogs too.Luke Kanies2008-11-261-0/+1
| | | | | | | I wasn't adding the catalog to the defined types when creating the transportable objects. Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixing #1755 - handling fully qualified classes correctly.Luke Kanies2008-11-262-4/+5
| | | | | | | This involves lexing '::class' tokens along with correctly looking them up from the Resource::Reference class. Signed-off-by: Luke Kanies <luke@madstop.com>
* Lots of DirectoryService work. New Computer Type. Users now use password ↵Nigel Kersten2008-11-265-35/+198
| | | | hashes. Groups now support setting members as attributes of the group for OS X.
* launchd service providerNigel Kersten2008-11-262-1/+189
|
* Refactoring the thread-safety in Puppet::Util a bit.Luke Kanies2008-11-261-21/+27
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixing #1683 - accessing and changing settings is now thread-safe.Luke Kanies2008-11-261-140/+144
| | | | | | Applying patch by Matt Palmer. Signed-off-by: Luke Kanies <luke@madstop.com>
* Partially fixing #1772 - fixing tidy code I broke.Luke Kanies2008-11-261-1/+1
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Partially fixing #1772 - broken 'resources' tests.Luke Kanies2008-11-262-0/+4
| | | | | | | | The main problem was that the directory_services user provider was returning a string for its uid instead of an integer. I also began a 'resources' spec file. Signed-off-by: Luke Kanies <luke@madstop.com>
* Removing the included testing gems; you must now install them yourself.Luke Kanies2008-11-251-1/+3
| | | | | | Everything passes, but autotest doesn't include color. Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixing #1708 - user groups specified as names are now detected correctly.Luke Kanies2008-11-241-0/+10
| | | | | | | | There was a bug when groups were specified by name -- the group was always compared to the current gid, rather than being converted to an integer and comparing that way. This is now fixed. Signed-off-by: Luke Kanies <luke@madstop.com>
* Revert "Fixing #1755 - File modes (and other strange properties) will now ↵James Turnbull2008-11-221-2/+2
| | | | | | display correctly" This reverts commit ed4c4050a8ac46c509b20031814646a49ba86e54.
* Fixing #1764 - a property's 'sync' method is never considered a no-op.Luke Kanies2008-11-217-76/+23
| | | | | | | | | | | | | | | | *This is a behaviour change.* If the property does not return an event name, then one is generated based on the property name. Previously, the 'sync' method could return nil and it would be considered a noop, but if you need a noop, then you need to modify your 'insync?' method to return 'true' in the noop cases. Also modifying all of the builtin types that didn't handle this explicitly or returned nil in 'sync'. There should be no behaviour change in any of them. Signed-off-by: Luke Kanies <luke@madstop.com>
* Refactoring the file/owner property to be simpler and cleaner.Luke Kanies2008-11-211-64/+32
| | | | | | | | It now looks almost exactly like the group property, and has a much more current data flow (e.g., sync is never no-op, and the sync method doesn't check whether the file is present). Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixing #1755 - File modes (and other strange properties) will now display ↵Luke Kanies2008-11-211-2/+2
| | | | | | | | correctly in ralsh and generated manifests. Signed-off-by: Luke Kanies <luke@madstop.com>
* Fix #1759 - Comparison operator was using string comparison for numbersBrice Figureau2008-11-201-0/+4
| | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Fixed #1751 - Mac OS X DirectoryService nameservice provider support for ↵James Turnbull2008-11-191-100/+127
| | | | plist output and password hash fil
* Fixed #1752 - Add an optional argument to Puppet::Util.execute to determine ↵James Turnbull2008-11-191-2/+7
| | | | whether stderr and stdout are combined in the output
* Fix the init service type to cope with an array for defpath and if defpath ↵Nigel Kersten2008-11-191-17/+23
| | | | does not exist
* Added versionable feature to the RPM providerJames Turnbull2008-11-181-0/+2
|
* Moved RRD feature from util/metric.rb to feature/base.rbJames Turnbull2008-11-172-5/+3
|
* Manifest documentation generationBrice Figureau2008-11-175-0/+2621
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* Move function existance test to parser evaluationBrice Figureau2008-11-171-12/+16
| | | | | | | | The aim is to let --parseonly succeeds even if the function is not (yet) present. This is usefull in commit-hooks and for the inline documentation generation system. Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Add a doc attribute to AST nodes and fill it with the last seen commentsBrice Figureau2008-11-1717-111/+252
| | | | | | | | | | | | | The lexer maintains a stack of last seen comments. On blank lines the lexer flush the comments. On each opening brace the lexer enters a new stack level. On each block AST nodes, the stack is popped. Each AST nodes has a doc property that is filled with the last seen comments on node creation (in fact only on important node creation representing statements). Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Fixed #1735 and #1747 - Fixes to confine systemJames Turnbull2008-11-161-1/+12
|
* Fixed #1718 - Added preseed to apt uninstall and purgeJames Turnbull2008-11-161-0/+6
|
* Fixing the provider's confine subsystem so the logs are more useful.Luke Kanies2008-11-134-4/+10
| | | | | | | | | I apparently lost some context in these logs when I switched to this separate subsystem. Note that this also fixes some of the informational issues in Signed-off-by: Luke Kanies <luke@madstop.com>
* Removed extra 'end' from yum.rbJames Turnbull2008-11-141-1/+0
|