summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Removing mid-transaction resources from the catalog.Luke Kanies2008-11-052-1/+15
| | | | | | | | | | | | This basically just cleans up dynamic resources. Signed-off-by: Luke Kanies <luke@madstop.com>
* | Adding a method to Checksums to extract the sum typeLuke Kanies2008-11-053-0/+186
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Aliasing "must_not" just like we alias "must"Luke Kanies2008-11-051-0/+1
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Deduplicating slashes in the fileserving codeLuke Kanies2008-11-043-3/+8
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Fixing the augeas type tests to work when augeas is missingLuke Kanies2008-11-041-88/+98
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Reducing the number of calls to terminus() to reduce interference with cachingLuke Kanies2008-11-041-2/+3
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Switched all value management in props/params to internal classes.Luke Kanies2008-11-048-889/+928
| | | | | | | | | | | | | | | | | | | | | | This is a significant refactor of some very murky code, and it's all much cleaner and more readable now. All of the 'newvalue' methods and any value-related code is in a ValueCollection class. This puts us in a good position to refactor the Property and Parameter classes more completely. Signed-off-by: Luke Kanies <luke@madstop.com>
* | Fixing #1677 - fixing the selinux tests in master.Luke Kanies2008-11-041-0/+6
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Changing the meaning of the unused Puppet::Type#parameter method to return ↵Luke Kanies2008-11-042-7/+20
| | | | | | | | | | | | | | | | | | | | an instance rather than a value. This parallels and largely obviates the 'property' method. Signed-off-by: Luke Kanies <luke@madstop.com>
* | Moving a file purging test to rspecLuke Kanies2008-11-042-42/+49
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Fixing #1641 - file recursion now only passes original parameters to child ↵Luke Kanies2008-11-042-24/+39
| | | | | | | | | | | | | | | | | | resources. Previously, parameter values provided by remote sources or default values were all passed to children, which provided strange state maintenance. Signed-off-by: Luke Kanies <luke@madstop.com>
* | Removing obsolete methods and tests:Luke Kanies2008-11-042-101/+0
| | | | | | | | | | | | | | | | | | Removing obsolete handleignore method Removing obsolete FileSource class Removing a now-obsolete test/unit test Removing a now-obsolete recursive filebucket test Signed-off-by: Luke Kanies <luke@madstop.com>
* | Making it so (once again) files with sources set can still be deletedLuke Kanies2008-11-045-50/+48
| | | | | | | | | | | | (which I think is kinda stupid, but apparently people want it). Signed-off-by: Luke Kanies <luke@madstop.com>
* | Fixing and migrating more file tests.Luke Kanies2008-11-047-581/+312
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an unfortunately messy commit; I should have tried harder to separate the different tasks into different commits, but it's not worth going back and doing now. This is the first commit in the long road of fixing the existing file tests, and in the process refactoring and better testing the code. The refactoring in this commit is mostly around the 'stat' instance variable that tests whether the file exists (and provides its metadata if it does) and the 'insync?' method in the source property. Signed-off-by: Luke Kanies <luke@madstop.com>
* | Adding a starting point for spec tests for tidy.Luke Kanies2008-11-042-12/+12
| | | | | | | | | | | | | | | | | | | | So far it just validates that lstat is used instead of stat. Signed-off-by: Luke Kanies <luke@madstop.com> Conflicts: spec/unit/type/tidy.rb
* | Setting puppetmasterd up to serve all indirected classes.Luke Kanies2008-11-031-1/+3
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Retrieving the CA certificate before the client certificate.Luke Kanies2008-11-033-13/+38
| | | | | | | | | | | | | | | | | | | | | | We have to have a CA cert first, because the host will start using the client cert as soon as it's available, but it's not functional without a CA cert. Also removing extra stupid stuff from wait_for_cert -- the connection is now always recycled, which is much simpler. Signed-off-by: Luke Kanies <luke@madstop.com>
* | Handling the case where a symbol (e.g., :ca) is used for a certificate name.Luke Kanies2008-11-032-3/+3
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Fixing :bindaddress setting to work with the new server subsystem.Luke Kanies2008-11-032-3/+26
| | | | | | | | | | | | | | It now automatically switches values depending on server type, while still allowing overriding. Signed-off-by: Luke Kanies <luke@madstop.com>
* | Fixing CertificateRequest#save to accept arguments.Luke Kanies2008-11-032-1/+8
| | | | | | | | | | | | This happens when called over REST. Signed-off-by: Luke Kanies <luke@madstop.com>
* | Fixing forward-compatibility issues resulting from no global resourcesLuke Kanies2008-10-312-6/+3
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Fixing a test I broke when fixing a reporting bugLuke Kanies2008-10-311-4/+0
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Merge branch '0.24.x'Luke Kanies2008-10-3149-867/+1074
|\| | | | | | | | | | | Conflicts: CHANGELOG
| * Added unit tests for the augeas type and providerBryan Kearney2008-10-303-2/+344
| |
| * Fix #1402 - Allow multiline commentsBrice Figureau2008-10-294-1/+51
| | | | | | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
| * Fix #857 - Multiple class of the same name don't append codeBrice Figureau2008-10-294-1/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following manifest wasn't working: class one { notice('class one') } class one { notice('second class one') } include one It all boiled down to class code not being arrays. Encapsulating code in ASTArray when needed is enough to append code, because of the property of ASTArray to evaluate all their members in turn. Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
| * Fixed augeas examples in typeJames Turnbull2008-10-291-2/+2
| |
| * Merge branch 'augeas' into 0.24.xJames Turnbull2008-10-293-0/+341
| |\
| | * Merge branch 'augeas' of git@github.com:bkearney/puppet into augeasBryan Kearney2008-10-281-200/+0
| | |\ | | | | | | | | | | | | | | | | | | | | Conflicts: lib/puppet/type/augeas.rb
| | | * Beginning provider split, need help on the voodooBryan Kearney2008-10-272-181/+211
| | | |
| | * | Split Augeas up into a provider and a type.Bryan Kearney2008-10-283-161/+410
| | |/
| | * Added augeas type and featureJames Turnbull2008-10-242-0/+292
| | |
| * | Fixed #1710 - Spurious output in test runJames Turnbull2008-10-292-6/+2
| | |
| * | Fixing #1669 - The dump parameter can now be changed on mounts.Luke Kanies2008-10-292-1/+30
| | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * | Fix #1682 - ASTArray should flatten product of evaluation of its childrenBrice Figureau2008-10-292-2/+67
| | | | | | | | | | | | | | | If the ASTArray contains children that evaluate to arrays themselves, they aren't flattened.
| * | Fixing #1667 - regex automatic value documentation is now readable.Luke Kanies2008-10-292-2/+4
| | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * | Fixed #1692 - k5login fails to set mode when file is createdJames Turnbull2008-10-282-1/+3
| | |
| * | Fixing #1660 - Adding specifically supported values for tidy recursion.Luke Kanies2008-10-283-0/+79
| | | | | | | | | | | | | | | | | | Basically just copied the code for the recurse parameter from 'file'. Signed-off-by: Luke Kanies <luke@madstop.com>
| * | Fixing #1698 - all logs again show up in the report.Luke Kanies2008-10-283-62/+3
| | |
| * | Fixed #1661 - Type reference: tidy should specify manditory parametersJames Turnbull2008-10-282-1/+6
| | |
| * | Removing all mention of EPM, RPM, or Sun packages.Luke Kanies2008-10-281-13/+0
| | | | | | | | | | | | | | | | | | | | | You should upgrade your build library from http://github.com/lak/reductive-build/tree/master too. Signed-off-by: Luke Kanies <luke@madstop.com>
| * | Merge branch 'l' into 0.24.xJames Turnbull2008-10-282-4/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: conf/redhat/puppet.spec
| * | | Fixed #1104 - Classes and nodes should set $name variablesBrice Figureau2008-10-283-1/+21
| | | | | | | | | | | | | | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
| * | | Updated Red Hat spec file for 0.24.6 and removed conf/debian directory.James Turnbull2008-10-2423-774/+80
| | |/ | |/| | | | | | | | | | | | | To build a new debian package use: apt-get source puppet; cd puppet-<curver>; uupdate ../puppet-<newver>.tgz
* | | Merge branch '0.24.x'Luke Kanies2008-10-2229-969/+1788
|\ \ \ | | |/ | |/| | | | | | | | | | Conflicts: lib/puppet/type/user.rb
| * | Updated to version 0.24.6Luke Kanies2008-10-231-1/+1
| | |
| * | Updated to version 0.24.6Luke Kanies2008-10-231-1/+1
| | |
| * | Merge branch '0.24.x' of git://github.com/jamtur01/puppet into 0.24.xLuke Kanies2008-10-2317-79/+717
| |\|
| | * Improve the inline documentation for SELinux types and parametersSean E. Millichamp2008-10-233-15/+38
| | |
| | * Fixes #1663 - added Symbol check and additional testSean E. Millichamp2008-10-232-1/+14
| | |