summaryrefslogtreecommitdiffstats
path: root/lib/puppet/storage.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merging the code over from the oscar branch. I will now be doing all ↵luke2006-11-081-1/+9
| | | | | | development in the trunk again, except for larger changes, which will still get their own branch. This is a merge of the changes from revision 1826 to revision 1834. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1835 980ebf18-57e1-0310-9a29-db15c13687c0
* Some small housekeeping things that I saw while doing other bug huntingluke2006-09-221-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1672 980ebf18-57e1-0310-9a29-db15c13687c0
* removing message about the statefile not existingluke2006-07-201-1/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1408 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding simple benchmarking, and using it in a few of the more obvious ↵luke2006-04-101-15/+19
| | | | | | places. Also, fixed a bug in Scope#gennode. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1098 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding "links" parameter to files, and adding support for following or ↵luke2006-03-041-12/+0
| | | | | | ignoring links to all of the states it can matter to. I still need to modify "source" so that it behaves correctly when managing links. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@983 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing the mode of the yaml fileluke2006-03-031-1/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@977 980ebf18-57e1-0310-9a29-db15c13687c0
* Okay, Puppet is now almost entirely capable of configuring itself. I have ↵luke2006-03-021-11/+11
| | | | | | not yet added the extra tests to puppetmasterd to make sure it can start as a normal user, and the executables still fail some simple tests because they are producing output when they start (I will get rid of the output), but overall things look pretty good. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@965 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a bit more loggingluke2006-02-231-1/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@930 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing locking. It apparently was not working on OS X, and I was not ↵luke2006-02-121-10/+8
| | | | | | syncronizing access in threads -- i assumed locks themselves were a sufficient sync point. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@897 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding the event-loop stuff to the repository and switching to using it. ↵luke2006-01-241-3/+9
| | | | | | Also, breaking many classes out into their own class files. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@848 980ebf18-57e1-0310-9a29-db15c13687c0
* Committing most of the scheduling stuff. There is still a bit of work to do ↵luke2006-01-231-35/+29
| | | | | | in terms of how puppetd interacts with scheduling, but the bulk of the work is done. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@847 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding an "ensure" state where appropriate, and significantly reworking the ↵luke2006-01-171-18/+22
| | | | | | builtin docs. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@832 980ebf18-57e1-0310-9a29-db15c13687c0
* Supporting puppetmasterd running as a non-root user, and doing some basic ↵luke2006-01-101-16/+17
| | | | | | message cleanup git-svn-id: https://reductivelabs.com/svn/puppet/trunk@798 980ebf18-57e1-0310-9a29-db15c13687c0
* converting storage from Marshal to YAMLluke2006-01-031-33/+34
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@759 980ebf18-57e1-0310-9a29-db15c13687c0
* adding Util.lock, and switching storage to using itluke2006-01-021-20/+25
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@758 980ebf18-57e1-0310-9a29-db15c13687c0
* Lots of refactoring, and added the capture_stderr methodluke2005-11-161-0/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@742 980ebf18-57e1-0310-9a29-db15c13687c0
* Protecting from bug in Syslog, and fixing some more log messagesluke2005-10-291-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@734 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding logging methods to all Puppet::Element instances, and converting all ↵luke2005-10-261-3/+3
| | | | | | instance log statements to use those methods. Additionally modified logging to take advantage of this by including the path of the logging object in the output. Logs will still need some cleanup to avoid duplicate information. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@731 980ebf18-57e1-0310-9a29-db15c13687c0
* adding some consistency and tests to the whole puppet defaults systemLuke Kanies2005-08-021-11/+11
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@485 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing statefile creationLuke Kanies2005-07-261-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@464 980ebf18-57e1-0310-9a29-db15c13687c0
* adding some error checkingLuke Kanies2005-07-221-3/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@435 980ebf18-57e1-0310-9a29-db15c13687c0
* removing some debuggingLuke Kanies2005-07-121-3/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@373 980ebf18-57e1-0310-9a29-db15c13687c0
* doing some refactoringLuke Kanies2005-07-121-5/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@369 980ebf18-57e1-0310-9a29-db15c13687c0
* cleaning up bugs in the tests, and adding more error checking around the bugsLuke Kanies2005-07-111-1/+7
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@359 980ebf18-57e1-0310-9a29-db15c13687c0
* found a bunch of bugs in Puppet::Storage, plus some bugs in how file ↵Luke Kanies2005-07-111-0/+1
| | | | | | recursion was being tested and thus some real bugs in the system git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@357 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing storage class; it was not actually correctly retrieving state from diskLuke Kanies2005-07-111-10/+30
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@355 980ebf18-57e1-0310-9a29-db15c13687c0
* adding Puppet#recmkdir utility function, and making sure Log and Storage ↵Luke Kanies2005-07-111-0/+15
| | | | | | create their own files and directories as necessary git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@354 980ebf18-57e1-0310-9a29-db15c13687c0
* renaming blink to puppetLuke Kanies2005-06-271-5/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@305 980ebf18-57e1-0310-9a29-db15c13687c0
* renaming blink to puppetLuke Kanies2005-06-271-0/+48
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@302 980ebf18-57e1-0310-9a29-db15c13687c0