summaryrefslogtreecommitdiffstats
path: root/lib/puppet
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Partially fixing #460, take 2 -- fully-qualified definitions can now be used.luke2007-01-302-404/+390
| | | | 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-302-266/+289
| | | | | | 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-301-0/+3
| | | | | | 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-302-46/+69
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2122 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-3032-38/+38
| | | | 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-301-0/+2
| | | | | | 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-304-12/+36
| | | | | | 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
* Fixing a problem that occurs when puppetd starts with an up-to-date ↵luke2007-01-291-6/+11
| | | | | | configuration -- the default schedules and filebucket were not being created. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2115 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #463. I redid all the autogen stuff so it can handle autogenerating ↵luke2007-01-295-76/+43
| | | | | | string values for stupid os x. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2114 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #438.luke2007-01-291-3/+9
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2112 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #444. I was losing the list of sources when creating new children.luke2007-01-291-1/+10
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2111 980ebf18-57e1-0310-9a29-db15c13687c0
* A couple small bug-fixesluke2007-01-292-1/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2110 980ebf18-57e1-0310-9a29-db15c13687c0
* Doing more work on #113. Mostly, just making sure remounts do not happen ↵luke2007-01-295-19/+23
| | | | | | spuriously very often. They will still have extra remounts when changing the value of "ensure", but that is not currently avoidable (similar to #199). git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2109 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing info around newtype optionsluke2007-01-291-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2108 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #113. I added support in the transaction for self-refreshing, which ↵luke2007-01-284-4/+51
| | | | | | just creates a special trigger for resources that have self-refreshing enabled. Logging is a bit different for them, so it is clear why they are refreshing. I still need to verify the remount methods work in the providers. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2107 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a "self_refresh" option, so resources can refresh themselves if they ↵luke2007-01-282-1/+15
| | | | | | have changed in the current transaction. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2106 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #454.luke2007-01-281-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2105 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #441.luke2007-01-281-4/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2104 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #431. Collection was always returning an array, even when only a ↵luke2007-01-281-0/+3
| | | | | | single value was passed. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2103 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing how transactions check whether a resource is being deleted. This ↵luke2007-01-282-3/+8
| | | | | | is a small step towards fixing #428. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2102 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #455. A simple fix, fortunately.luke2007-01-271-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2101 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing documentation references to refer to the wikiluke2007-01-263-3/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2098 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #442. You can now do: defined(File[...]) to see if a resource is ↵luke2007-01-261-7/+21
| | | | | | defined. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2097 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #434.luke2007-01-261-0/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2096 980ebf18-57e1-0310-9a29-db15c13687c0
* 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