summaryrefslogtreecommitdiffstats
path: root/lib/puppet
Commit message (Collapse)AuthorAgeFilesLines
...
* The package name must match at the beginning of a line; otherwise we might ↵lutter2007-01-031-2/+2
| | | | | | get fooled by other yum spewage git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2025 980ebf18-57e1-0310-9a29-db15c13687c0
* Not saving tags right away. This seems to cause postgres to explode.luke2007-01-031-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2024 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #401. Transactions were trying to trigger every resource, even those ↵luke2007-01-031-1/+2
| | | | | | that did not respond to the specified callback. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2022 980ebf18-57e1-0310-9a29-db15c13687c0
* Not setting the graphdir to the puppet user, since it is only used by puppetdluke2007-01-031-5/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2021 980ebf18-57e1-0310-9a29-db15c13687c0
* Using text for parameter values, instead of string, so the fields support ↵luke2007-01-031-2/+2
| | | | | | larger amounts of text git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2020 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding postgres as a dbadapter optionluke2007-01-021-1/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2019 980ebf18-57e1-0310-9a29-db15c13687c0
* Fix trac #354, and some other oddities around installing multiple versions ↵lutter2007-01-021-4/+12
| | | | | | of the same package. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2018 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing "sourcematch" to "sourceselect"luke2007-01-021-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2017 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding sourcematch parameter to file.luke2007-01-022-3/+24
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2016 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the error thrown when a dependency cannot be retrieved, WRT to #395.luke2007-01-021-7/+9
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2015 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #396. Using the provider command instead of a direct exec, which ↵luke2007-01-021-17/+26
| | | | | | automatically captures stderr. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2014 980ebf18-57e1-0310-9a29-db15c13687c0
* Modifying the "Resource#set" method to simplifying adding new parametersluke2007-01-011-1/+8
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2013 980ebf18-57e1-0310-9a29-db15c13687c0
* A couple of small fixes to pass existing tests.luke2007-01-011-0/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2012 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing some failing tests on fedora.luke2007-01-012-1/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2011 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing graphing tests, and correctly only using storeconfigs in tests where ↵luke2007-01-011-1/+1
| | | | | | rails is available git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2009 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #369. I was not flushing changes to disk when ensure was out of ↵luke2007-01-011-2/+15
| | | | | | sync. This is going to become a common problem, and should probably be addressed by the framework rather than by individual types, but for now, it works. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2008 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #390. You can now add --graph to produce dot files, and you can then ↵luke2006-12-311-3/+29
| | | | | | produce pngs or whatever from those. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2007 980ebf18-57e1-0310-9a29-db15c13687c0
* Use Puppet::Util.sync instead of MonitorMixin to ensure that only one thread ↵mpalmer2006-12-311-7/+5
| | | | | | runs the executor at once git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2006 980ebf18-57e1-0310-9a29-db15c13687c0
* Fix a syntax error in lib/puppet/daemon.rb (That'll teach me to not run the ↵mpalmer2006-12-311-1/+1
| | | | | | test suite before committing) git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2005 980ebf18-57e1-0310-9a29-db15c13687c0
* Switch puppet/daemon.rb to use Pidlockmpalmer2006-12-311-25/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2003 980ebf18-57e1-0310-9a29-db15c13687c0
* Switch the run-lock to use Pidlock instead of the ad-hoc codempalmer2006-12-312-91/+21
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2002 980ebf18-57e1-0310-9a29-db15c13687c0
* Make Pidlock#lock return true if we currently hold the lockmpalmer2006-12-311-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2001 980ebf18-57e1-0310-9a29-db15c13687c0
* Add a Puppet::Util::Pidlock class, for use by locks and PID filesmpalmer2006-12-311-0/+68
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2000 980ebf18-57e1-0310-9a29-db15c13687c0
* Applying patch by rainhead from #392.luke2006-12-301-5/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1998 980ebf18-57e1-0310-9a29-db15c13687c0
* Add updated_at for all tablesshadoi2006-12-292-1/+10
| | | | | | | make sure it's removed from the resource hash that gets returned git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1997 980ebf18-57e1-0310-9a29-db15c13687c0
* Removing debuggingluke2006-12-292-4/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1996 980ebf18-57e1-0310-9a29-db15c13687c0
* Hopefully fixing tagging problemluke2006-12-291-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1995 980ebf18-57e1-0310-9a29-db15c13687c0
* Still trying to track down the tagging problemluke2006-12-291-3/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1994 980ebf18-57e1-0310-9a29-db15c13687c0
* adding a bit better error reporting when tags are badluke2006-12-292-1/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1993 980ebf18-57e1-0310-9a29-db15c13687c0
* Moving the tagging stuff to an "external" directory, instead of "lib".luke2006-12-297-6/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1991 980ebf18-57e1-0310-9a29-db15c13687c0
* Trying to clean up how rails is loadedluke2006-12-293-10/+10
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1989 980ebf18-57e1-0310-9a29-db15c13687c0
* Supporting arrays for the backup parameterluke2006-12-291-1/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1988 980ebf18-57e1-0310-9a29-db15c13687c0
* Features now load dynamically using method_missing, so that undefined ↵luke2006-12-291-2/+17
| | | | | | features never throw errors. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1987 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a bit more testing to mounts, and pulling a bit of the transaction ↵luke2006-12-291-13/+18
| | | | | | into a separate method to shorten the apply() method. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1986 980ebf18-57e1-0310-9a29-db15c13687c0
* Finally writing unit tests for Transaction#trigger, and drastically ↵luke2006-12-292-59/+47
| | | | | | simplifying the method in the process. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1985 980ebf18-57e1-0310-9a29-db15c13687c0
* *whew* Okay, simplified the splice method a bit, and I am actually somewhat ↵luke2006-12-291-42/+22
| | | | | | confident that the stronger testing is correct. I have had a lot of problems with tests usually passing but sometimes failing, mostly because of ordering problems related to multiple edges. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1984 980ebf18-57e1-0310-9a29-db15c13687c0
* Did a short-cut on the graphing, since we currently only support one type of ↵luke2006-12-293-13/+38
| | | | | | subscription. This solution still will not scale to all that many edges, but it works, although it will fail if we need to support different types of subcriptions. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1983 980ebf18-57e1-0310-9a29-db15c13687c0
* A couple of small bug fixesluke2006-12-294-9/+218
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1982 980ebf18-57e1-0310-9a29-db15c13687c0
* Some tweaks to graph splicing, although I do not think it will be enough to ↵luke2006-12-291-19/+37
| | | | | | handle some of the edge cases. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1981 980ebf18-57e1-0310-9a29-db15c13687c0
* Looks like providers work again on Solaris.luke2006-12-284-180/+11
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1980 980ebf18-57e1-0310-9a29-db15c13687c0
* I have not yet finished testing, but most of the providers now successfully ↵luke2006-12-2835-176/+197
| | | | | | pass arrays to execute() instead of strings, which means that the vast majority of execution problems are now gone. I will finish testing tomorrow, hopefully, and will also hopefully be able to verify that the execution-related bugs are fixed. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1979 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #387, hopefully.luke2006-12-282-27/+30
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1978 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #388. Paths now look a lot cleaner.luke2006-12-286-59/+51
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1977 980ebf18-57e1-0310-9a29-db15c13687c0
* A couple of small bug-fixesluke2006-12-287-23/+28
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1976 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #386.luke2006-12-271-0/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1974 980ebf18-57e1-0310-9a29-db15c13687c0
* Switching files to use a filebucket named "puppet" by default. Also, set up ↵luke2006-12-277-105/+149
| | | | | | MasterClient to create that default filebucket. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1973 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #365. I am not sure what the problem was in previous versions, ↵luke2006-12-273-9/+24
| | | | | | because the new graphing stuff changed the solution to this problem, but it all works now. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1972 980ebf18-57e1-0310-9a29-db15c13687c0
* Closing #362. Case-insensitivity is handled by downcasing all host names.luke2006-12-271-52/+54
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1971 980ebf18-57e1-0310-9a29-db15c13687c0
* Hopefully fixing #355. I could not actually reproduce the specific problem, ↵luke2006-12-272-125/+149
| | | | | | but I found a couple of issues around the problem and they are all gone now. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1970 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #348. Overrides now support an extra end-comma.luke2006-12-232-188/+188
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1969 980ebf18-57e1-0310-9a29-db15c13687c0