summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Adding support for special freebsd @schedule crap. Also making sure that ↵luke2006-06-272-11/+41
| | | | | | 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-272-30/+42
| | | | | | 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-0/+18
| | | | | | 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-261-1/+2
| | | | 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-201-0/+17
| | | | 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/+27
| | | | 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-0/+43
| | | | | | 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-203-10/+42
| | | | | | 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-0/+25
| | | | 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-201-0/+64
| | | | | | 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
* Test that setting a state to 'absent' really deletes it from the configlutter2006-06-151-0/+15
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1289 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding test and fix for empty execs being ignoredluke2006-06-151-0/+2
| | | | 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-0/+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
* fixing transaction tests to just warn when the user is not in more than one ↵luke2006-06-141-0/+9
| | | | | | group, rather than failing. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1278 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding fixes for solaris zonesluke2006-06-132-14/+14
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1271 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #173. At this point, I am just calling both "--add" and "on", or ↵luke2006-06-131-0/+4
| | | | | | "--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-2/+3
| | | | | | 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
* Correcting puppetrun docs and fixing a test so it works with older versions ↵luke2006-06-131-1/+1
| | | | | | of facter git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1262 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding support for default nodes as requested in #136.luke2006-06-132-1/+59
| | | | 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/+21
| | | | 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-131-0/+63
| | | | | | truncating linked-to files. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1258 980ebf18-57e1-0310-9a29-db15c13687c0
* A round of bug-fixing in preparation for the next release.luke2006-06-138-9/+33
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1256 980ebf18-57e1-0310-9a29-db15c13687c0
* adding nothing test to zone testsluke2006-06-121-3/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1255 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing ldap node lookup. The test was set up badly, in that it did not ↵luke2006-06-121-6/+2
| | | | | | 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
* Found a bug where single-value selectors can fail on a second compile. ↵luke2006-06-091-0/+12
| | | | | | 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-0/+9
| | | | 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-0/+31
| | | | | | 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-081-0/+35
| | | | | | 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-081-3/+18
| | | | 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-081-0/+45
| | | | | | 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-0/+18
| | | | | | 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-081-0/+16
| | | | | | 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/+21
| | | | 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-14/+171
| | | | | | static filesystem support, but everything else should work. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1236 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #163. Strings can now correctly escape dollar signs.luke2006-06-051-0/+10
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1234 980ebf18-57e1-0310-9a29-db15c13687c0
* Intermediate commit; most of the core zone functions now work, and some of ↵luke2006-06-021-13/+230
| | | | | | the configuration functions work. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1233 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing node tests to handle comma separationluke2006-06-011-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1232 980ebf18-57e1-0310-9a29-db15c13687c0
* temporary commit so i can transfer my testing to a faster, sparc boxluke2006-06-011-0/+59
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1231 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #161. Basically, AST::ObjectDef now catches when users specify a ↵luke2006-06-011-0/+24
| | | | | | name as a parameter instead of the name before the colon and modify the results accordingly. This catches this kind of problem, and the normal name handling picks up everything else. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1229 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #162. Node names must now be comma-separated.luke2006-05-311-0/+19
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1228 980ebf18-57e1-0310-9a29-db15c13687c0
* Did some work on making sure object removal actually works, thus stopping ↵luke2006-05-254-10/+22
| | | | | | some potential memory leaks. Also explicitly removed objects in more places, again hopefully forestalling memory leaks. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1224 980ebf18-57e1-0310-9a29-db15c13687c0
* Reworking cron; adding many unit tests, and making it much more like a ↵luke2006-05-252-13/+187
| | | | | | ParsedType (although still not quite the same). Too many of my tests were invalid; I think those are all fixed now, and it appears to work as desired. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1223 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #138, all of it, I think. Environment settings are now allowed, ↵luke2006-05-191-0/+39
| | | | | | although all bets are off in terms of parsing existing environment settings in crontabs. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1217 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a small fix to cron tabs; they will at least parse tabs that have env ↵luke2006-05-191-0/+28
| | | | | | settings in them, although you still cannot, at this point, set them. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1216 980ebf18-57e1-0310-9a29-db15c13687c0
* Added the last of the tests for the runner, along with the necessary work in ↵luke2006-05-181-20/+52
| | | | | | puppetd to be able to start it. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1213 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a lot of structure to puppet.rb to make it easier to manage multiple ↵luke2006-05-182-0/+168
| | | | | | | | objects in a single process, including making it easy to add threads. Added some testing for all of that. Also added a "runner" server, meant to be started within puppetd, so that clients can have runs triggered from a central host git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1212 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing user[:groups] management when the user is absentluke2006-05-181-6/+13
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1211 980ebf18-57e1-0310-9a29-db15c13687c0
* Allowing empty filesluke2006-05-181-0/+14
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1207 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #146. I think I mostly just fixed the error message; I do not think ↵luke2006-05-181-0/+37
| | | | | | there was another bug there. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1206 980ebf18-57e1-0310-9a29-db15c13687c0
* Making sure file recursion works for all valid inputsluke2006-05-161-23/+26
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1204 980ebf18-57e1-0310-9a29-db15c13687c0