summaryrefslogtreecommitdiffstats
path: root/lib/puppet
Commit message (Collapse)AuthorAgeFilesLines
...
* One last try at getting the config and mode stuff working. The tests were ↵luke2007-03-081-6/+4
| | | | | | passing because "mode" is a valid config option in the tests, but not in the real configuration. So, now the Config class correctly only tries to set the meta params if they are valid options, otherwise they get skipped. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2272 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the config path to use Puppet[:name] rather than Puppet.nameluke2007-03-081-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2271 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing a bug related to link recursion that caused link directoriesluke2007-03-082-3/+8
| | | | | | | to always be considered out of sync. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2269 980ebf18-57e1-0310-9a29-db15c13687c0
* Looks like [2265] was not a complete solution -- it resulted in failures ↵luke2007-03-082-5/+9
| | | | | | when the config set modes via integers. Everything is working now, and tested more completely. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2268 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding some more testing on the @should values for :groups on users, and ↵luke2007-03-082-27/+3
| | | | | | fixing a bug that often made :groups think it was out of sync. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2267 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #489. I was unnecessarily converting to octal in config.rbluke2007-03-081-1/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2265 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #531 and #414. This includes pretty much a complete redesignluke2007-03-081-149/+215
| | | | | | | | | | of the AuthStore class, with (hopefully) all of the edge cases removed, the code is now much cleaner, the tests are (I think) complete, and everything is just generally better. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2262 980ebf18-57e1-0310-9a29-db15c13687c0
* Fix typo in default config and add simple test to check default config sanitylutter2007-03-071-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2261 980ebf18-57e1-0310-9a29-db15c13687c0
* Turning a failure into an error when, for some reason, pfiles do not have ↵luke2007-03-071-3/+5
| | | | | | paths set. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2260 980ebf18-57e1-0310-9a29-db15c13687c0
* Merging the webserver_portability branch from version 2182 to version 2258.luke2007-03-0654-1352/+1488
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2259 980ebf18-57e1-0310-9a29-db15c13687c0
* Apparently the include function was not failing when it could not find ↵luke2007-03-012-1/+2
| | | | | | asked-for classes. Now it does. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2250 980ebf18-57e1-0310-9a29-db15c13687c0
* Allowing trailing commas in selectorsluke2007-03-012-151/+155
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2247 980ebf18-57e1-0310-9a29-db15c13687c0
* Committing patch by Dennis Jacobfeuerborn to only use the domain name if it ↵luke2007-02-283-3/+17
| | | | | | is set. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2246 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding "ignorecache" option to always force a recompile of the configurationluke2007-02-281-3/+8
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2245 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #464 and #515.luke2007-02-282-2/+10
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2244 980ebf18-57e1-0310-9a29-db15c13687c0
* Applying patch in #528 by ask.luke2007-02-281-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2243 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #467. It is a hackish solution, because I just reordered the ↵luke2007-02-281-20/+22
| | | | | | definition of the params, but it works for now, anyway. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2242 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing at least part of #514. This does not get rid of all errors, but at ↵luke2007-02-281-11/+18
| | | | | | least it fixes the spurious warning git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2241 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing a problem with the splice! method on the graphing. The problem was ↵luke2007-02-281-2/+12
| | | | | | another issue with hash ordering, where it would usually work but sometimes start failing. The solution was to splice the containers in topological-sort order. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2240 980ebf18-57e1-0310-9a29-db15c13687c0
* Applying a modified form of the patch by cstorey from #523. The ↵luke2007-02-282-16/+43
| | | | | | modifications were mostly around the fact that Strscan does not set $1 and its ilk. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2239 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #526. Implemented as a period of "never", rather than adding a new ↵luke2007-02-281-1/+3
| | | | | | parameter. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2238 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #477. setvar() can now accept the file and line info from callers.luke2007-02-282-3/+10
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2237 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #199 and moving service tests (which are completely atrocious) around.luke2007-02-271-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2236 980ebf18-57e1-0310-9a29-db15c13687c0
* Applying patch by cstorey from #521luke2007-02-271-3/+16
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2235 980ebf18-57e1-0310-9a29-db15c13687c0
* Make up2date the default for RHEL <= 4, and confine it to RHEL; make yum the ↵lutter2007-02-272-2/+4
| | | | | | default for RHEL >= 5. Fixes trac #478 git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2233 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #142. As expected, trivial.luke2007-02-271-0/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2232 980ebf18-57e1-0310-9a29-db15c13687c0
* Applying patch by DavidS from #522, along with test code and a small bit of ↵luke2007-02-273-38/+14
| | | | | | code cleanup. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2231 980ebf18-57e1-0310-9a29-db15c13687c0
* Redoing some aspects of the graphing in hopes of helping hte performance a bit.luke2007-02-272-12/+12
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2230 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing file backup defaults to correctly use the puppet filebucket by default.luke2007-02-271-1/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2229 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing the log messages for source and content properties to mention the ↵luke2007-02-272-2/+8
| | | | | | md5 sum of the new content git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2228 980ebf18-57e1-0310-9a29-db15c13687c0
* More code related to #517. Oops.luke2007-02-274-12/+48
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2227 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #517 and more. Classes now support more than one namespace in their ↵luke2007-02-271-0/+8
| | | | | | search path, parent classes automatically have their namespaces added to subclass namespaces, and (huzzah) there is a "search" function that can be used to add new namespaces into their search path. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2226 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #524. Functions, both statements and rvalues, now support no ↵luke2007-02-272-475/+510
| | | | | | arguments as long as you use parens. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2225 980ebf18-57e1-0310-9a29-db15c13687c0
* Actually commit the changes to lib/puppet that were supposed to be part of ↵mpalmer2007-02-264-9/+25
| | | | | | [2223] (Fuck svn and it's partial-repository-by-default behaviour) git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2224 980ebf18-57e1-0310-9a29-db15c13687c0
* Fix #516, 'Cached manifests get unescaped twice'mpalmer2007-02-231-6/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2222 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #472. Apparently this has been broken since I did the parser ↵luke2007-02-223-6/+27
| | | | | | redesign. I had to fix the scope trees so that subclass scopes are subscopes of the parent scopes, which used to be the case but was far more complicated. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2220 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #505, #508, and #513.luke2007-02-222-17/+34
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2219 980ebf18-57e1-0310-9a29-db15c13687c0
* Allow 'key=' to be the only thing on a line (livna uses this)lutter2007-02-211-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2218 980ebf18-57e1-0310-9a29-db15c13687c0
* I believe this fixes the issues in ticket #469shadoi2007-02-211-0/+1
| | | | | | | My testing on mysql shows connections being reaped. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2217 980ebf18-57e1-0310-9a29-db15c13687c0
* Applying patch from #495.luke2007-02-201-14/+14
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2216 980ebf18-57e1-0310-9a29-db15c13687c0
* Removing extraneous debuggingluke2007-02-182-6/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2215 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing a problem in collecting exported resources. Virtual resources worked ↵luke2007-02-182-3/+15
| | | | | | fine, but exported resources resulted in an essentially infinite loop. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2213 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the default dbadapter back to sqlite3luke2007-02-171-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2212 980ebf18-57e1-0310-9a29-db15c13687c0
* Applying patch from #510 by curzonj. Note that the right solution to this ↵luke2007-02-171-4/+4
| | | | | | problem is to use the ruby API, but it does not appear to be stable yet. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2211 980ebf18-57e1-0310-9a29-db15c13687c0
* Re-add the filesshadoi2007-02-174-0/+45
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2210 980ebf18-57e1-0310-9a29-db15c13687c0
* Undo the param_name param_value mergeshadoi2007-02-176-51/+46
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2209 980ebf18-57e1-0310-9a29-db15c13687c0
* Renamed Puppet.name to Puppet.execname so rails 1.2 doesn't freak outshadoi2007-02-171-5/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2208 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing date to datetime in the databaseluke2007-02-161-11/+11
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2205 980ebf18-57e1-0310-9a29-db15c13687c0
* Trying to fix problem of locks lying aroundluke2007-02-161-0/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2204 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding hook to update timestamp when a report is runluke2007-02-161-0/+13
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2203 980ebf18-57e1-0310-9a29-db15c13687c0