summaryrefslogtreecommitdiffstats
path: root/lib/puppet
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* 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