summaryrefslogtreecommitdiffstats
path: root/lib/puppet
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixing #423. Configurations now default to timing out after 30 seconds ↵luke2007-01-261-1/+27
| | | | | | (tunable with configtimeout). This only happens for remote configurations, not local configs compiled using puppet. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2095 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #418. The problem was that multiple objects might include Daemon, ↵luke2007-01-261-1/+4
| | | | | | which means that Daemon#shutdown can be called multiple times. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2094 980ebf18-57e1-0310-9a29-db15c13687c0
* Using Time instead of Time.to_i for compile time, because some versions of ↵luke2007-01-261-4/+3
| | | | | | ruby have trouble converting Bignum to yaml git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2093 980ebf18-57e1-0310-9a29-db15c13687c0
* adding client name to processing lineluke2007-01-261-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2092 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #445. Nodes can now inherit from default.luke2007-01-262-239/+250
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2091 980ebf18-57e1-0310-9a29-db15c13687c0
* changing selector error messageluke2007-01-261-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2090 980ebf18-57e1-0310-9a29-db15c13687c0
* Removing an extraneous debug message, and fixing the case where the server ↵luke2007-01-261-3/+4
| | | | | | compile fails in --test mode -- it resulted in an extra warning message. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2088 980ebf18-57e1-0310-9a29-db15c13687c0
* Applying patch from #457, as submitted by Jeff McCune.luke2007-01-251-23/+47
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2087 980ebf18-57e1-0310-9a29-db15c13687c0
* making yum the default packager for centosluke2007-01-241-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2086 980ebf18-57e1-0310-9a29-db15c13687c0
* Wrapping the resource generation methods in begin/rescue blocks so that ↵luke2007-01-231-2/+15
| | | | | | failures cannot kill the transaction. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2085 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing error-catching in resources.rbluke2007-01-231-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2084 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #415. Configuration parsing now removes trailing whitespace.luke2007-01-231-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2082 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #424. The configuration compile time is now cached in the yaml cache ↵luke2007-01-233-18/+33
| | | | | | file. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2081 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing rundir so that it does not throw an error when not running as rootluke2007-01-231-4/+10
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2080 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #437. Transactions now check whether graphs are cyclic, with a ↵luke2007-01-232-0/+18
| | | | | | somewhat-useful error message if they are. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2079 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #436. Also finally renamed pfile/uid.rb to match the state name.luke2007-01-233-22/+28
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2078 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #421 by changing the rundir to /var/puppet/run.luke2007-01-231-5/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2077 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #416. There is now an option (downcasefacts) that determines whether ↵luke2007-01-232-3/+11
| | | | | | facts are downcased by the client. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2076 980ebf18-57e1-0310-9a29-db15c13687c0
* Make rpm operations much faster by suppressing unneeded verificationlutter2007-01-221-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2075 980ebf18-57e1-0310-9a29-db15c13687c0
* Use a specific ActiveRecord subclass to check for the proper existence of AR ↵mpalmer2007-01-151-1/+4
| | | | | | in the Rails feature test, so that we don't kill everything if the machine has Rails installed, but it's an old version that doesn't support polymorphic associations git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2071 980ebf18-57e1-0310-9a29-db15c13687c0
* Make the version string optional in the dpkg-query output parsing regex ↵mpalmer2007-01-121-2/+2
| | | | | | (Fixes: #425) git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2070 980ebf18-57e1-0310-9a29-db15c13687c0
* Clear existing yumrepo instances befoer listing - assumes list should only ↵lutter2007-01-111-0/+1
| | | | | | return "is" instances git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2069 980ebf18-57e1-0310-9a29-db15c13687c0
* Enclose values in single, not double quotes; otherwise if values have $ in ↵lutter2007-01-101-3/+3
| | | | | | them, the manifest will be incorrect git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2068 980ebf18-57e1-0310-9a29-db15c13687c0
* 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