summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Switching the mount command to always add the mount options, so that the ↵luke2007-04-301-8/+20
| | | | | | parsed provider can be used even in cases where /etc/fstab is ignored, like it is on OS X. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2431 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the tests for the aptrpm provider.luke2007-04-302-9/+8
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2430 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding "rug" package provider from #609luke2007-04-301-0/+53
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2429 980ebf18-57e1-0310-9a29-db15c13687c0
* I managed to put those provider tests in the wrong file -- the file meant to ↵luke2007-04-282-227/+204
| | | | | | test the resource type interactions with providers, rather than the provider file. Fixing that, and the failed test resulting from that silly mistake. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2428 980ebf18-57e1-0310-9a29-db15c13687c0
* Okay, one last try -- the Util#binary command was not returning a path in ↵luke2007-04-272-7/+7
| | | | | | all true cases, and the provider tests were poorly written and missed it. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2427 980ebf18-57e1-0310-9a29-db15c13687c0
* Apparently I messed up providers a bit; binaries were not having their full ↵luke2007-04-272-0/+31
| | | | | | paths returned, which made most providers suddenly unsuitable. This fixes that, and adds tests to verify behaviour. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2426 980ebf18-57e1-0310-9a29-db15c13687c0
* Closing #585 -- providers can now have optional commands, which only differ ↵luke2007-04-273-35/+90
| | | | | | from normal commands in that they do not affect a provider's suitability git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2425 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #603 -- I had to add a special case for escaped carriage returns. I ↵luke2007-04-262-0/+3
| | | | | | am not entirely sure this is the right solution, but so be it. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2418 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #574; puppetmasterd now exits with non-zero error code when there is ↵luke2007-04-261-0/+1
| | | | | | a failure git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2417 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding extra info to the "Parameter already set" error, as requested in #573luke2007-04-261-2/+12
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2416 980ebf18-57e1-0310-9a29-db15c13687c0
* Possibly adding the ability to manage passwords on os x. I expect it does ↵luke2007-04-251-2/+9
| | | | | | not work, since there is probably no way to set up an encrypted password, but at least it now creates a user that can not log in by default. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2415 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding the ability to manage passwords with the useradd providerluke2007-04-258-29/+64
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2414 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding the ability for parameters to declare that they require a given ↵luke2007-04-257-1/+106
| | | | | | feature, and resources will not instantiate that parameter if required features are missing. This is mostly useful for properties. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2413 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a note to the references indicating that they are autogenerated.luke2007-04-241-0/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2412 980ebf18-57e1-0310-9a29-db15c13687c0
* Refactoring puppetdoc so it is a bit cleaner and is actually ↵luke2007-04-243-205/+260
| | | | | | object-oriented. PDF output still fails miserably (there has to be some kind of markup problem, but I have no idea what), but other output now successfully varies on the pages. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2411 980ebf18-57e1-0310-9a29-db15c13687c0
* Last modifications to rst conversion before bedtimeluke2007-04-242-21/+35
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2410 980ebf18-57e1-0310-9a29-db15c13687c0
* All conversions to RST are done, but I did not quite succeed at making ↵luke2007-04-243-39/+95
| | | | | | puppetdoc able to generate a single PDF with all of the references in them. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2409 980ebf18-57e1-0310-9a29-db15c13687c0
* Mostly done with the conversion to restructured text, but there are still ↵luke2007-04-2418-178/+173
| | | | | | some tweaks to perform on the typedocs output. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2408 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a :block_eval option to FileRecords in FileParsing, so ParsedFile ↵luke2007-04-233-3/+36
| | | | | | providers can have records just define a bunch of methods at once, rather than using lots of hooks. This is cleaner when custom parse and generate methods are used. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2407 980ebf18-57e1-0310-9a29-db15c13687c0
* Translating all of the docs except the type docs to RSTluke2007-04-236-18/+192
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2406 980ebf18-57e1-0310-9a29-db15c13687c0
* Removing the naming restrictions on cron namesluke2007-04-231-6/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2405 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #588 - the parser correctly ignores directories in globbing nowluke2007-04-203-2/+21
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2404 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #587 -- just defaulting to root when there is no USER set in the ↵luke2007-04-202-1/+4
| | | | | | environment. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2403 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #591 -- puppetd now correctly restarts itself when it receives a HUPluke2007-04-202-1/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2402 980ebf18-57e1-0310-9a29-db15c13687c0
* Removing the stubs for nodevar; I did not mean to commit themluke2007-04-202-7/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2401 980ebf18-57e1-0310-9a29-db15c13687c0
* adding note about the class variables in the change logluke2007-04-203-0/+10
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2400 980ebf18-57e1-0310-9a29-db15c13687c0
* Enhancing the docs a bit for the apple package provider.luke2007-04-201-1/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2399 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding support for aptrpm from #227 as added by Ian Burrell, the rest of the ↵luke2007-04-191-0/+79
| | | | | | commit git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2398 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding support for aptrpm from #227 as added by Ian Burrellluke2007-04-191-0/+90
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2397 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding patch by apowers from #545.luke2007-04-191-0/+26
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2396 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding init script by apowerrs from #546.luke2007-04-191-0/+26
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2395 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing fileserver doc linksluke2007-04-191-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2394 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding the functionality requested in ↵luke2007-04-199-65/+224
| | | | | | | | | | http://mail.madstop.com/pipermail/puppet-users/2007-April/002398.html . You can now retrieve qualified variables by specifying the full class path. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2393 980ebf18-57e1-0310-9a29-db15c13687c0
* Only caching the configuration when it has been successfully turned into ↵luke2007-04-181-4/+4
| | | | | | Puppet objects git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2392 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a --version argument to puppetcaluke2007-04-171-0/+7
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2391 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing the test package for debianluke2007-04-061-3/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2390 980ebf18-57e1-0310-9a29-db15c13687c0
* Forgot to change Puppet::Util::SUIDManager#run_and_capture arguments to executemccune2007-04-042-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2387 980ebf18-57e1-0310-9a29-db15c13687c0
* Fix for #565: Final merge of changes from source:branches/execute-refactor ↵mccune2007-04-036-35/+118
| | | | | | | | | | | | | | | into source:trunk Generated with svn merge -r 2378:HEAD https://reductivelabs.com/svn/puppet/branches/execute-refactor trunk CHANGES: - Puppet::Util#execute now takes hash key/value pairs as arguments after the command array. - Processes executed from the base service provider are now silenced. That is, their standard input, output, and error pipes are all directed to /dev/null. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2385 980ebf18-57e1-0310-9a29-db15c13687c0
* Hah! Finally fixing the problem where mount tests would fail when run as ↵luke2007-03-313-44/+46
| | | | | | part of the whole suite. The real problem was that I was changing the filetype of the provider without setting it to change back after the test, but the key change that made it straightforward to fix this problem was that my test loader was not exiting with a non-zero code when there was a failure, which mean that the ./test script never thought anything failed. I fixed the former, then fixed the test script to work fine with -n method_name stuff, and quickly found the problem. *whew* git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2377 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing the date that certs are valid to start one day before the cert is ↵luke2007-03-302-1/+6
| | | | | | created, so clocks that are off by a little bit can still be used. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2376 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing Client.read_cert so that it automatically adds the certificate ↵luke2007-03-303-7/+56
| | | | | | information to the driver when the certificate is correctly read. This makes sure the Net::Http instance has the cert all set up. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2375 980ebf18-57e1-0310-9a29-db15c13687c0
* Updating the docs for the sourceselect parameterluke2007-03-301-1/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2373 980ebf18-57e1-0310-9a29-db15c13687c0
* Renaming some methods so that we can generate a report on a transaction and ↵luke2007-03-304-40/+46
| | | | | | then retrieve it later git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2372 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #567. I overrode the propertychanges method to only return changes ↵luke2007-03-302-0/+28
| | | | | | if the file exists or if the file has a property that could create the file. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2371 980ebf18-57e1-0310-9a29-db15c13687c0
* Enhancing the report docs a bitluke2007-03-292-3/+7
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2367 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding last bits to the change log for 0.22.3luke2007-03-281-1/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2365 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.22.3luke2007-03-281-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2363 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.22.3luke2007-03-281-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2362 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.22.3luke2007-03-281-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2361 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing puppetdoc with the recent changes to the networking codeluke2007-03-281-1/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2360 980ebf18-57e1-0310-9a29-db15c13687c0