summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Okay, last file moves for the night. The test code has been moved to match ↵luke2007-02-0820-23/+24
| | | | | | 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-0883-1109/+1025
| | | | | | 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-07102-1808/+1785
| | | | | | 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-074-0/+80
| | | | | | 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-072-4/+52
| | | | 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-072-1/+43
| | | | 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
* Reorganizing some of the tests.luke2007-02-0736-95/+54
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2170 980ebf18-57e1-0310-9a29-db15c13687c0
* Merging the state-rename branch. This includes the diff from version 2156 ↵luke2007-02-0787-1496/+1658
| | | | | | 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
* fixing the cookbook link fixluke2007-02-061-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2165 980ebf18-57e1-0310-9a29-db15c13687c0
* Removing the default value for :ensure on mounts.luke2007-02-062-10/+9
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2164 980ebf18-57e1-0310-9a29-db15c13687c0
* changing the cookbook linkluke2007-02-061-3/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2161 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing exec so it actually works when path is specified as an arrayluke2007-02-013-1/+25
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2155 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.22.1luke2007-02-011-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2153 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.22.1luke2007-02-011-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2152 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.22.1luke2007-02-011-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2151 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #470, I think. I basically just threw away the validation and let ↵luke2007-02-012-39/+29
| | | | | | suidmanager do it all when running commands. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2150 980ebf18-57e1-0310-9a29-db15c13687c0
* The resolve functionality in "test" is almost working...luke2007-02-013-41/+118
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2149 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding note about removing mounts netinfo providerluke2007-02-011-0/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2148 980ebf18-57e1-0310-9a29-db15c13687c0
* Oops, that last commit seems to have broken the rakefile. Works again.luke2007-02-013-18/+27
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2147 980ebf18-57e1-0310-9a29-db15c13687c0
* Trying to get the functionality I had in previous tests. Mostly I wantluke2007-02-013-1/+116
| | | | | | | | | | | | | | | | | | to be able to load many files but run just a couple of methods, which test/unit supports via -n, selectively enabling -d. I now can do this with the Rakefile, using 'TESTOPTS="-n <method> -d" rake <blah>, although I find that a bit kludgy (certainly more so than 'rake -n <blah> -d <blah>'). However, I also want to be able to automatically determine which test suites conflict (meaning something in one suite causes a failure in another), which too-often happens. So, I'm going to mess around some with 'test' until I get that, and then see if I can move that functionality to the rakefile. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2146 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing executable tests to take new rundir into accountluke2007-02-013-2/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2145 980ebf18-57e1-0310-9a29-db15c13687c0
* Filenames for test must _end_ with '.rb'lutter2007-02-011-1/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2144 980ebf18-57e1-0310-9a29-db15c13687c0
* Fix to make running tests work in ruby 1.8.5lutter2007-02-011-3/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2143 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing selector tests to get rid of a lame hash ordering bug in the tests.luke2007-02-012-2/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2142 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing rails test to take into account the fact that resources now do not ↵luke2007-02-011-2/+2
| | | | | | always return arrays git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2141 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing autogen so it passes on non-Darwin systems.luke2007-02-013-9/+22
| | | | 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-013-15/+27
| | | | | | 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-012-1/+29
| | | | 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-316-24/+24
| | | | | | 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
* Adding explicit umasks to these tests.ajax2007-01-313-0/+10
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2135 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-313-7/+5
| | | | | | from the sorted list of versions git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2132 980ebf18-57e1-0310-9a29-db15c13687c0
* Updating changelog for 0.22.1, although I am not quite ready to commit yet.luke2007-01-301-0/+26
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2131 980ebf18-57e1-0310-9a29-db15c13687c0
* Puppet can now read files on stdin. This means you can put "#!/usr/bin/env ↵luke2007-01-302-1/+27
| | | | | | puppet" in the first line of a puppet manifest and then execute the manifest normally. Yay! git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2130 980ebf18-57e1-0310-9a29-db15c13687c0
* Providing a partial fix for #428. Resources can now be deleted as long as ↵luke2007-01-302-4/+13
| | | | | | 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-304-476/+494
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2128 980ebf18-57e1-0310-9a29-db15c13687c0
* Partially fixing #460, take 2 -- fully-qualified definitions can now be used.luke2007-01-306-404/+434
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2127 980ebf18-57e1-0310-9a29-db15c13687c0
* Partially fixing #460 -- fully-qualified class names can be used as parent ↵luke2007-01-303-266/+297
| | | | | | classes. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2126 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #462. The package sort order was always resulting in the ↵luke2007-01-303-1/+4
| | | | | | lowest-version package being first, rather than highest, so I inverted the sort order. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2125 980ebf18-57e1-0310-9a29-db15c13687c0
* Applying patch in #465.luke2007-01-301-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2124 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing #427. Facts now timeout, both in loading and downloadingluke2007-01-301-21/+25
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2123 980ebf18-57e1-0310-9a29-db15c13687c0
* splitting the tagmail report into multiple methods and adding test codeluke2007-01-305-46/+179
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2122 980ebf18-57e1-0310-9a29-db15c13687c0
* Not creating the listening server at all if --onetime is enabled.luke2007-01-301-5/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2121 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #440, albeit with a slightly hackish fix.luke2007-01-301-0/+15
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2120 980ebf18-57e1-0310-9a29-db15c13687c0
* Moving code from external sources into an external/ directoryluke2007-01-3033-39/+39
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2119 980ebf18-57e1-0310-9a29-db15c13687c0
* Moving the switch that disables the certificate authority into the main ↵luke2007-01-302-4/+7
| | | | | | library, so they can be disabled in the configuration file. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2118 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #433. I basically just added checks to all the places where I add ↵luke2007-01-305-12/+69
| | | | | | edges, to make sure automatic relationships lose out to explicit ones. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2117 980ebf18-57e1-0310-9a29-db15c13687c0