summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | New and improved tests for file type SELinux contextsSean E. Millichamp2008-10-083-28/+83
| | | |
* | | | Fix regression when templatedir doesn't exist.Brice Figureau2008-10-083-8/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When searching for a module template and if the default templatedir is inexistant, puppet was raising an error without trying the modules templates directories. Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* | | | Fix #1202 - Collection attribute matching doesn't parse arraysBrice Figureau2008-10-083-1/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch allows to do this: User <| groups == leads |> @user { "foo": ensure => "present", groups => ["bar","baz","leads"] } Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* | | | Fixed #1633 - Added support for --detailed-exits to bin/puppetLuke Kanies2008-10-082-3/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | which causes puppet to produce different exit codes depending on whether there were changes or failures in the transaction. Signed-off-by: Luke Kanies <luke@madstop.com>
* | | | Adding an array indexer method to Puppet::Util::Metric as requested in #1633.Luke Kanies2008-10-082-0/+18
| | | | | | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | | | Adding partial spec tests for Puppet::Util::Metric.Luke Kanies2008-10-082-9/+100
| | | | | | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | | | Fixed #1473 - Rescue Timeout::Error in xmlrpc clientsAndrew Shafer2008-10-073-4/+20
| | | | | | | | | | | | | | | | | | | | Added a rescue block for Timeout::Error (which isn't a subclass of StandardError) Removed a Dev Error conditional to facilitate testing
* | | | Fxied #1354 - yum provider problems with RHEL 3James Turnbull2008-10-073-14/+106
| | | |
* | | | Fix #1109 - allow empty if or else branchesBrice Figureau2008-10-077-563/+692
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changesets allow empty if or else branches: if true { } else { } It works by emitting on the parser stack an AST node that doesn't do anything (a no-op). This allows the less intrusive code as no part of the if evaluation code has been touched.
* | | | Fixed documentation, typo and added CHANGELOG entryFrancois Deppierraz2008-10-072-3/+5
| | | |
* | | | Fix #1530: Correctly parse ssh type 1 keysFrancois Deppierraz2008-10-072-0/+9
| | | | | | | | | | | | | | | | | | | | This doesn't implies that puppet can managed SSH type 1 keys, it only ignores them.
* | | | Fixed additional environments testsJames Turnbull2008-10-052-4/+3
| | | |
* | | | Rspec Tests for #381.Brice Figureau2008-10-055-29/+156
| | | | | | | | | | | | | | | | Moved part of the old resource reference tests to rspec.
* | | | Fix #381 - Allow multiple resource overrides or referencesBrice Figureau2008-10-054-390/+383
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow this syntax: Resource[title1,title2] { param => value } as a compact form of Resource[title1] { param => value } Resource[title2] { param => value } This patch also introduces for free the possibility to group class references by type: exec { test: require => File["file1","file2","File3"] } which is completely equivalent to: exec { test: require => [ File["file1"],File["file2"],File["File3"] ] }
* | | | Minor test fix for #1614James Turnbull2008-10-041-1/+1
| | | |
* | | | Fixing #1098 - Multiline strings now correctly increment the line countLuke Kanies2008-10-043-0/+26
| | | | | | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | | | Doing some simple refactorings on Puppet::LogLuke Kanies2008-10-041-14/+7
| | | | | | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | | | Fixing #1089 - Log messages are now tagged with the log level,Luke Kanies2008-10-043-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | making it easier to match messages in the 'tagmail' report. Signed-off-by: Luke Kanies <luke@madstop.com>
* | | | Adding rspec tests for the Puppet::Util::Log class.Luke Kanies2008-10-043-75/+163
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also using Puppet::Util::Tagging to handle the tagging, rather than custom methods. Signed-off-by: Luke Kanies <luke@madstop.com>
* | | | Fixed #981 - Removed 'Adding aliases' info messageLuke Kanies2008-10-042-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | | | Fix failing tests dependent on /etc/user_attr file existingAndrew Shafer2008-10-041-3/+3
| | | |
* | | | Fixing #947 - pluginsync no longer fails poorly when no plugins existLuke Kanies2008-10-034-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | Note that it still fails -- it's just a more reasonable failure. Signed-off-by: Luke Kanies <luke@madstop.com>
* | | | Fixing the Node class to no longer validate environmentsLuke Kanies2008-10-032-22/+1
| | | | | | | | | | | | | | | | | | | | | | | | since #1614 removed that validation. Signed-off-by: Luke Kanies <luke@madstop.com>
* | | | Add SELinux context reset after file writes in Puppet::Util::FileTypeSean E. Millichamp2008-10-031-0/+7
| | | |
* | | | Add new support for :selrange SELinux file propertySean E. Millichamp2008-10-032-1/+12
| | | |
* | | | Add detected defaults for existing SELinux file propertiesSean E. Millichamp2008-10-031-0/+3
| | | |
* | | | Refactor SELinux commands to utility moduleSean E. Millichamp2008-10-032-32/+126
| | | |
* | | | Clean up of SELinux rspec tests so all passSean E. Millichamp2008-10-031-0/+9
| | | |
* | | | Merged fsweetser's selinux patch against HEADBrett Lentz2008-10-037-0/+445
| | | |
* | | | Fixed #1613 - The client environment will be substituted when looking up ↵Luke Kanies2008-10-033-3/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | settings. This won't be perfect, because it still requires that the caller pass in an environment, but for every case that an environment is passed in, that environment will be substituted into settings when possible. Signed-off-by: Luke Kanies <luke@madstop.com>
* | | | Fixing #1614 - Environments no longer have to be listed out.Luke Kanies2008-10-034-75/+4
| | | | | | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | | | Fixed #1628 - Changed node search to use certname rather than Facter hostnameJames Turnbull2008-10-032-3/+6
| | | |
* | | | Updated puppet binary documentationJames Turnbull2008-10-032-5/+7
| | | |
* | | | Fixed error message typoJames Turnbull2008-10-031-1/+1
| | | |
* | | | Adding a rake task for sending emails to the dev listLuke Kanies2008-10-021-0/+36
| | | | | | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | | | Fixing package provider tests to use the new Transaction::Change interfaceLuke Kanies2008-10-022-4/+3
| | | | | | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | | | 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>