summaryrefslogtreecommitdiffstats
path: root/lib/puppet
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Change Puppet.name to Puppet.execname so rails 1.2 won't freak out.shadoi2007-02-164-6/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2202 980ebf18-57e1-0310-9a29-db15c13687c0
* Update relationshipsshadoi2007-02-165-25/+13
| | | | | | | | Remove dynamic class generation for now. Include the fact class git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2201 980ebf18-57e1-0310-9a29-db15c13687c0
* Revamping collections to get what is hopefully more reasonable behaviour ↵luke2007-02-162-24/+54
| | | | | | when they are used in combination with defined resource types. You should now be able to combine them in just about any way and get "correct" behaviour, which in this case means that you can have virtual definitions or definitions wrapping virtual resources and the resources will still all get realized. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2198 980ebf18-57e1-0310-9a29-db15c13687c0
* This works for me. Probably not the most universal fix.shadoi2007-02-151-0/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2195 980ebf18-57e1-0310-9a29-db15c13687c0
* Apparently using "gem" requires an environment we don't have.shadoi2007-02-151-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2194 980ebf18-57e1-0310-9a29-db15c13687c0
* Merge fact_names & fact_values, and param_names & param_values.shadoi2007-02-1511-49/+30
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2191 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing features to use the new feature locationluke2007-02-153-4/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2190 980ebf18-57e1-0310-9a29-db15c13687c0
* Applying patch from #502 by Joseluke2007-02-151-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2189 980ebf18-57e1-0310-9a29-db15c13687c0
* Applying patch by Jeff McCune from #496luke2007-02-121-26/+20
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2187 980ebf18-57e1-0310-9a29-db15c13687c0
* Applying patch from #474 by David Schmitt.luke2007-02-111-1/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2186 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #493.luke2007-02-111-1/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2184 980ebf18-57e1-0310-9a29-db15c13687c0
* Applying doc patch from #494.luke2007-02-113-5/+17
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2183 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #484. Moving unit tests at the same time.luke2007-02-081-1/+8
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2181 980ebf18-57e1-0310-9a29-db15c13687c0
* Okay, last file moves for the night. The test code has been moved to match ↵luke2007-02-084-4/+5
| | | | | | the lib directory, and I have moved a couple of things into network/ instead of network/server, since they did not belong as much. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2180 980ebf18-57e1-0310-9a29-db15c13687c0
* Moving all of the client and server code into a single network/ directory. ↵luke2007-02-0843-892/+831
| | | | | | In other words, more code structure cleanup. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2179 980ebf18-57e1-0310-9a29-db15c13687c0
* Moving some of the stand-alone classes into the util/ subdirectory, to clean ↵luke2007-02-0753-1523/+1509
| | | | | | up the top-level namespace a bit. This is a lot of file modifications, but most of them just change class names and file paths. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2178 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a libdir setting for puppet, so you can store your modifications to ↵luke2007-02-072-0/+22
| | | | | | puppet in a separate directory. This probably will still be somewhat limited because it will always depend somewhat on load order. For instance, if you add a new provider, it might not be available when you expect, since providers are all loaded as soon as a type is loaded, which might happen before the libdir is set. It should always work fine if you do not override it, but if you do override it, things might behave a bit strange. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2174 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a parameter to allow you to override how an exec refreshes itself.luke2007-02-071-4/+22
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2173 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing exec so that the checks apply to whether an exec is refreshed.luke2007-02-071-1/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2172 980ebf18-57e1-0310-9a29-db15c13687c0
* Disabling the netinfo mount providerluke2007-02-071-31/+31
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2171 980ebf18-57e1-0310-9a29-db15c13687c0
* Merging the state-rename branch. This includes the diff from version 2156 ↵luke2007-02-0752-1173/+1061
| | | | | | to 2168. All states should now be properties, with backward compatibility for the types that restricted themselves to the methods. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2169 980ebf18-57e1-0310-9a29-db15c13687c0
* Removing the default value for :ensure on mounts.luke2007-02-061-8/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2164 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing exec so it actually works when path is specified as an arrayluke2007-02-011-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2155 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #470, I think. I basically just threw away the validation and let ↵luke2007-02-011-39/+6
| | | | | | suidmanager do it all when running commands. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2150 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing executable tests to take new rundir into accountluke2007-02-011-1/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2145 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing selector tests to get rid of a lame hash ordering bug in the tests.luke2007-02-011-0/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2142 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing autogen so it passes on non-Darwin systems.luke2007-02-012-7/+19
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2140 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing a purging bug introduced by [2138]. I had to move the purge check to ↵luke2007-02-012-7/+19
| | | | | | the recurse method, rather than the localrecurse method, because the purge check needs to happen after sourcerecurse. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2139 980ebf18-57e1-0310-9a29-db15c13687c0
* Deleting the file even if a source is specified, as mentioned by Robert Nickel.luke2007-02-011-1/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2138 980ebf18-57e1-0310-9a29-db15c13687c0
* Renaming "pelement" to "resource". The old name is a holdover from before ↵luke2007-01-314-11/+11
| | | | | | we had settled on "resource" as a term. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2137 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing Files to work with the Resource server. Basically I just remove the ↵luke2007-01-311-0/+11
| | | | | | "target" value if it is a nullop, so that it does not cause a conflict with "contents" on the far side. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2136 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing rundir so that it is only set to be in /var if the process is named ↵luke2007-01-311-1/+3
| | | | | | puppetd or puppetmasterd. Otherwise the unit tests set it to /var/run/puppet, which has the chance to cause hangs. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2134 980ebf18-57e1-0310-9a29-db15c13687c0
* Removing all remnants of the old symlink typeluke2007-01-313-55/+8
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2133 980ebf18-57e1-0310-9a29-db15c13687c0
* Revert 2125, and instead change the way the 'latest' version is selected ↵mpalmer2007-01-312-6/+4
| | | | | | from the sorted list of versions git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2132 980ebf18-57e1-0310-9a29-db15c13687c0
* Providing a partial fix for #428. Resources can now be deleted as long as ↵luke2007-01-301-2/+3
| | | | | | all of their dependencies are also being deleted. This, combined with the fix to #433, means that you can now explicitly specify the order of deletion, and everything will work as long as all required objects are being removed, too. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2129 980ebf18-57e1-0310-9a29-db15c13687c0
* Partially fixing #460, take 3 -- fully-qualified classes can now be included.luke2007-01-302-474/+487
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2128 980ebf18-57e1-0310-9a29-db15c13687c0