summaryrefslogtreecommitdiffstats
path: root/lib/puppet
Commit message (Collapse)AuthorAgeFilesLines
...
* Adding info messages about errors loading pluginsluke2006-06-271-1/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1318 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding support for special freebsd @schedule crap. Also making sure that ↵luke2006-06-271-40/+105
| | | | | | cron listing works as expected. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1317 980ebf18-57e1-0310-9a29-db15c13687c0
* Largely refactored how log destinations are handled, although it is not ↵luke2006-06-276-189/+334
| | | | | | exposed externally. Most of this work is related to handling a large number of small problems related to threading. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1315 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a "latest" test for rpms, since I have been told this is not working. ↵luke2006-06-261-1/+1
| | | | | | It seems to be working fine, but the test cannot hurt. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1309 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding HUP and USR1 hooksluke2006-06-263-2/+37
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1308 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #178. I just added URI escaping and unescaping to file names.luke2006-06-202-2/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1307 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #175. The setpidfile setting was being ignored.luke2006-06-201-0/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1306 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #182. Added a retry section to try reconnecting to ldap. Only one ↵luke2006-06-201-1/+9
| | | | | | reconnect is attempted in a given search, and LDAP produces bad enough error messages that we reconnect regardless of the error thrown. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1305 980ebf18-57e1-0310-9a29-db15c13687c0
* Setting pluginsync default to false, and (hopefully) fixing autosign problem ↵luke2006-06-202-9/+20
| | | | | | when the file exists and autosign is set to true (#180). The problem was that the puppetmasterd script was redundantly setting autosign in the CA, when the CA already knows how to deal with autosigning, which meant that autosign was being set before the config was parsed. Thus, there was no bug when autosign was set on the command line but there was when it was set in the config. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1304 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing broken symlink behaviour mentioned on the listluke2006-06-201-1/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1303 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding plugins and plugin management. The Master Client will now ↵luke2006-06-203-2/+70
| | | | | | automatically download plugins if pluginsync is enabled, and they will be automatically sourced. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1302 980ebf18-57e1-0310-9a29-db15c13687c0
* More documentation changes.luke2006-06-1910-38/+38
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1300 980ebf18-57e1-0310-9a29-db15c13687c0
* updating some docs and puppetdoc in preparation for a move to webgen instead ↵luke2006-06-172-8/+8
| | | | | | of plone git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1295 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing my autorequire fix; oopsluke2006-06-151-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1292 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing autorequire message to include the object typeluke2006-06-151-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1291 980ebf18-57e1-0310-9a29-db15c13687c0
* Delete entries from the config file if their should is 'absent'lutter2006-06-151-1/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1290 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding test and fix for empty execs being ignoredluke2006-06-151-3/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1288 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing interpreter to initialize ldap in the nodesearch_ldap method, which ↵luke2006-06-151-3/+5
| | | | | | really only matters for testing (since it is already being inited in the nodesearch method git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1287 980ebf18-57e1-0310-9a29-db15c13687c0
* making links even if the target does not existluke2006-06-142-17/+9
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1286 980ebf18-57e1-0310-9a29-db15c13687c0
* updating documentation for sshkeyluke2006-06-141-15/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1279 980ebf18-57e1-0310-9a29-db15c13687c0
* Setting options and the facility for syslogluke2006-06-141-1/+7
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1277 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing some logging issues with puppetmasterd when daemonized with verbose ↵luke2006-06-142-13/+22
| | | | | | mode on, and fixing ldap support when daemonizing git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1276 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing statechange noop message so it's a bit clearerluke2006-06-141-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1275 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding fixes for solaris zonesluke2006-06-131-6/+18
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1271 980ebf18-57e1-0310-9a29-db15c13687c0
* abstracting out ldap connections so that there is a single method ↵luke2006-06-131-12/+22
| | | | | | responsible for all of them and a single connection can be shared in all classes if necessary git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1270 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing ldap usage when ldap libs are not availableluke2006-06-131-20/+28
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1268 980ebf18-57e1-0310-9a29-db15c13687c0
* removing extraneous debuggingluke2006-06-131-2/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1267 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #173. At this point, I am just calling both "--add" and "on", or ↵luke2006-06-133-10/+19
| | | | | | "--del" and "off". This should probably be broken up into other states, but.... git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1265 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing packaging to deal with the fact that yum exits with 0 exit code even ↵luke2006-06-131-1/+6
| | | | | | when it is told to install a non-existent package. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1263 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding support for default nodes as requested in #136.luke2006-06-134-212/+261
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1261 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #169. Tags are ignored during config.luke2006-06-131-0/+8
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1259 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the main bug reported on the list today relating to file sourcing ↵luke2006-06-132-4/+14
| | | | | | truncating linked-to files. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1258 980ebf18-57e1-0310-9a29-db15c13687c0
* adding noop marker as requestedluke2006-06-131-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1257 980ebf18-57e1-0310-9a29-db15c13687c0
* A round of bug-fixing in preparation for the next release.luke2006-06-138-23/+65
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1256 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing ldap node lookup. The test was set up badly, in that it did not ↵luke2006-06-121-3/+11
| | | | | | actually provide a way to enable ldap node support, even though there was a config option that should have worked. All works now. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1254 980ebf18-57e1-0310-9a29-db15c13687c0
* turning on output flushingluke2006-06-121-0/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1253 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding support for following referralsluke2006-06-121-0/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1252 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #135. I was setting the object to the result of an include? test, ↵luke2006-06-121-5/+6
| | | | | | instead of just "obj = ary[val]", so all but the first bucket-backed files were getting errors. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1251 980ebf18-57e1-0310-9a29-db15c13687c0
* Found a bug where single-value selectors can fail on a second compile. ↵luke2006-06-092-1/+7
| | | | | | Fixed it, and am now compiling all snippets twice. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1250 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #168. Reworked the regex to allow matching TLDs.luke2006-06-081-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1248 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #167. Started with the submitted patch and made a few more ↵luke2006-06-081-7/+14
| | | | | | modifications, and added a regression test. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1247 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #157. Objects are no longer allowed to be their own parents, and ↵luke2006-06-083-25/+34
| | | | | | there are checks in both directions to stop this. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1246 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #166. Function names are no longer reserved words.luke2006-06-083-420/+411
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1245 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #158. I did not add a force option, since I always back files up ↵luke2006-06-083-7/+70
| | | | | | before I replace them. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1244 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #154. Basically just accepted the patch that fixes master.rb and ↵luke2006-06-081-1/+1
| | | | | | added a test case for it. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1242 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #155. It is now valid to have arrays with no values, although you ↵luke2006-06-082-171/+187
| | | | | | will still likely get erratic behaviour elsewhere in the system, depending on what you do with this. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1240 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #159 -- packages now have a default value for ensure (:installed).luke2006-06-081-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1239 980ebf18-57e1-0310-9a29-db15c13687c0
* Committing largely complete Solaris zone support. I still need to add ↵luke2006-06-061-157/+247
| | | | | | static filesystem support, but everything else should work. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1236 980ebf18-57e1-0310-9a29-db15c13687c0
* removing one of the stack traces from error outputluke2006-06-061-51/+29
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1235 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #163. Strings can now correctly escape dollar signs.luke2006-06-051-12/+8
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1234 980ebf18-57e1-0310-9a29-db15c13687c0