summaryrefslogtreecommitdiffstats
path: root/lib/puppet
Commit message (Collapse)AuthorAgeFilesLines
...
* Allow listing of yumreposlutter2007-01-101-0/+20
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2067 980ebf18-57e1-0310-9a29-db15c13687c0
* Last round of fixes before the next releaseluke2007-01-053-5/+8
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2058 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding #408.luke2007-01-053-6/+85
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2055 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a bit more comments to the :template functionluke2007-01-051-1/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2053 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing a few testing bugs that have crept in, and fixing a self-reference ↵luke2007-01-059-21/+27
| | | | | | problem when configuring, graphing, and setting graphdir manually. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2052 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #411.luke2007-01-051-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2051 980ebf18-57e1-0310-9a29-db15c13687c0
* Further work on #407. I forgot to actually connect it to the interpreter ↵luke2007-01-051-0/+4
| | | | | | internals. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2050 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #407. You can use external_node to specify a command to retrieve ↵luke2007-01-051-1/+49
| | | | | | your node information. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2049 980ebf18-57e1-0310-9a29-db15c13687c0
* Don't rely on the type to store the actual NVR of the package; breaks in the ↵lutter2007-01-051-3/+10
| | | | | | provider tests since they call the provider slightly differntly git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2048 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a timeout to execs. This is not really a sufficient solution, since ↵luke2007-01-041-4/+41
| | | | | | it needs to be added throughout the system, but this is a good start. The default timeout is 5 minutes. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2047 980ebf18-57e1-0310-9a29-db15c13687c0
* Applying patch by mccune from #409.luke2007-01-042-5/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2045 980ebf18-57e1-0310-9a29-db15c13687c0
* Regressing to always creating files/directories as root, rather than trying ↵luke2007-01-041-11/+13
| | | | | | to do it as the right user. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2044 980ebf18-57e1-0310-9a29-db15c13687c0
* Throwing warnings instead of exceptions when dpkg-query produces info we ↵luke2007-01-041-3/+5
| | | | | | cannot understand git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2043 980ebf18-57e1-0310-9a29-db15c13687c0
* Trying to fix #364. Somewhat used the patch provided by nslm.luke2007-01-042-3/+20
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2040 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing filebuckets so that only the client bucket is created on clientsluke2007-01-041-2/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2039 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing tests so they now include descriptions with all config options, which ↵luke2007-01-041-0/+1
| | | | | | is now required. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2038 980ebf18-57e1-0310-9a29-db15c13687c0
* Creating two filebuckets by default, one for the client and one for the serverluke2007-01-043-3/+8
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2037 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #403.luke2007-01-041-2/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2036 980ebf18-57e1-0310-9a29-db15c13687c0
* #398 is already fixed, but this will fix things so it cannot happen againluke2007-01-041-0/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2035 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #391. Keeping track of times of compile and freshness checks.luke2007-01-044-3/+20
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2034 980ebf18-57e1-0310-9a29-db15c13687c0
* Setting up specific allowed types for sshkeyluke2007-01-042-0/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2033 980ebf18-57e1-0310-9a29-db15c13687c0
* Handle continuation lines in inifiles properly; stick a little closer to how ↵lutter2007-01-041-9/+17
| | | | | | python's ConfigParser parses git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2032 980ebf18-57e1-0310-9a29-db15c13687c0
* Explicitly require puppet/filetype; otherwise, tests for this module faillutter2007-01-041-0/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2031 980ebf18-57e1-0310-9a29-db15c13687c0
* Fix yum update breakage - query should not change the name the user gave us; ↵lutter2007-01-031-9/+9
| | | | | | instead, the fully versioned pacakge name is now stored in the instance parameter git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2029 980ebf18-57e1-0310-9a29-db15c13687c0
* Tone down the debug spewage from yumlutter2007-01-031-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2028 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding extra connection statements and enabling concurrency support in ↵luke2007-01-034-2/+8
| | | | | | rails, hopefully fixing #399. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2027 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #394. LoadedFile was not checking to see if files went missing.luke2007-01-031-1/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2026 980ebf18-57e1-0310-9a29-db15c13687c0
* 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