summaryrefslogtreecommitdiffstats
path: root/lib/puppet/server
Commit message (Collapse)AuthorAgeFilesLines
* Moving all of the client and server code into a single network/ directory. ↵luke2007-02-0812-2375/+0
| | | | | | In other words, more code structure cleanup. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2179 980ebf18-57e1-0310-9a29-db15c13687c0
* Moving some of the stand-alone classes into the util/ subdirectory, to clean ↵luke2007-02-074-5/+5
| | | | | | up the top-level namespace a bit. This is a lot of file modifications, but most of them just change class names and file paths. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2178 980ebf18-57e1-0310-9a29-db15c13687c0
* Merging the state-rename branch. This includes the diff from version 2156 ↵luke2007-02-072-6/+6
| | | | | | to 2168. All states should now be properties, with backward compatibility for the types that restricted themselves to the methods. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2169 980ebf18-57e1-0310-9a29-db15c13687c0
* Renaming "pelement" to "resource". The old name is a holdover from before ↵luke2007-01-311-3/+3
| | | | | | we had settled on "resource" as a term. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2137 980ebf18-57e1-0310-9a29-db15c13687c0
* Moving code from external sources into an external/ directoryluke2007-01-301-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2119 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 filebuckets so that only the client bucket is created on clientsluke2007-01-041-2/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2039 980ebf18-57e1-0310-9a29-db15c13687c0
* Creating two filebuckets by default, one for the client and one for the serverluke2007-01-041-0/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2037 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #391. Keeping track of times of compile and freshness checks.luke2007-01-041-0/+8
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2034 980ebf18-57e1-0310-9a29-db15c13687c0
* Switch the run-lock to use Pidlock instead of the ad-hoc codempalmer2006-12-311-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2002 980ebf18-57e1-0310-9a29-db15c13687c0
* A couple of small bug fixesluke2006-12-291-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1982 980ebf18-57e1-0310-9a29-db15c13687c0
* I have not yet finished testing, but most of the providers now successfully ↵luke2006-12-281-1/+8
| | | | | | pass arrays to execute() instead of strings, which means that the vast majority of execution problems are now gone. I will finish testing tomorrow, hopefully, and will also hopefully be able to verify that the execution-related bugs are fixed. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1979 980ebf18-57e1-0310-9a29-db15c13687c0
* Switching files to use a filebucket named "puppet" by default. Also, set up ↵luke2006-12-271-1/+1
| | | | | | MasterClient to create that default filebucket. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1973 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #365. I am not sure what the problem was in previous versions, ↵luke2006-12-271-4/+10
| | | | | | because the new graphing stuff changed the solution to this problem, but it all works now. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1972 980ebf18-57e1-0310-9a29-db15c13687c0
* Simplifying the splitpath method a bit, altho it is still strangely slowluke2006-12-161-12/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1943 980ebf18-57e1-0310-9a29-db15c13687c0
* Almost all tests now pass. I have basically reached the point where I was ↵luke2006-12-111-0/+3
| | | | | | before I integrated graphing, except that all of the relationship handling is now inside the transaction, and any kind of recursion (including file) is *tons* easier to model and manage. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1905 980ebf18-57e1-0310-9a29-db15c13687c0
* Another intermediate commit. Most of the graphing work itself is now done, ↵luke2006-12-092-8/+12
| | | | | | but I am in the middle of converting files to use the graphs and at the same time am writing some actually decent tests for the file recursion stuff. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1899 980ebf18-57e1-0310-9a29-db15c13687c0
* Removing the caveat so that the log message is always provided during a run.luke2006-11-131-11/+13
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1871 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #339 for real this time -- fixing the log messageluke2006-11-131-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1870 980ebf18-57e1-0310-9a29-db15c13687c0
* Slightly more doc updatesluke2006-11-091-13/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1846 980ebf18-57e1-0310-9a29-db15c13687c0
* Small fixes here and there. The rails changes needs to be pushed through ↵luke2006-11-091-0/+26
| | | | | | the collection code, so I am committing so Blake can take a look at that. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1844 980ebf18-57e1-0310-9a29-db15c13687c0
* Merging the code over from the oscar branch. I will now be doing all ↵luke2006-11-081-1/+1
| | | | | | 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
* Another round of bugfixing, including finding out that the tagmail report ↵luke2006-10-182-8/+11
| | | | | | was leaving zombie processes lying around git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1816 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing a bug that only occurred if a defined resource was already defined in ↵luke2006-10-171-3/+12
| | | | | | memory. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1803 980ebf18-57e1-0310-9a29-db15c13687c0
* Refactoring reporting. Reports are now modules instead of simple methods.luke2006-10-071-85/+49
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1746 980ebf18-57e1-0310-9a29-db15c13687c0
* Merging the fix to server/master.rbluke2006-09-221-7/+18
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1673 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding some error handling for when a non-existent report is asked for, and ↵luke2006-09-211-11/+24
| | | | | | adding a bit more testing. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1659 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #278, opened by Digant, with patch.luke2006-09-211-1/+1
| | | | | | | | Tagmail now supports negating tags with '!'. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1645 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #285, opened by ericb.luke2006-09-211-0/+2
| | | | | | | | | The problem here was that I was not escaping URIs throughout the chain, which I am now doing. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1642 980ebf18-57e1-0310-9a29-db15c13687c0
* Add config option 'node_name' to control what puppetmaster considers the ↵lutter2006-09-181-2/+6
| | | | | | proper name of a client (name in the SSL cert or name uploaded with facter) Default to name from the cert git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1620 980ebf18-57e1-0310-9a29-db15c13687c0
* Using the "trace" configuration parameter to determine whether a stack trace ↵luke2006-09-152-7/+1
| | | | | | should be printed, rather than just using "debug". I added the param a little while ago and was using it internally in Puppet::DevError, but I just now went through the whole configuration and switched to using it. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1613 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the problem with fileserver expansions, and doing a bit of ↵luke2006-09-141-152/+139
| | | | | | refactoring to make things clearer git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1587 980ebf18-57e1-0310-9a29-db15c13687c0
* Removing all of the changes I made towards refactoring in the last couple of ↵luke2006-09-051-1/+5
| | | | | | days. They have all been moved into the sync-retrieve-refactor branch. This branch will soon become 0.19.0, and will not include that refactoring. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1555 980ebf18-57e1-0310-9a29-db15c13687c0
* This is the initial commit of the changes to sync and retrieve. Theluke2006-09-031-5/+1
| | | | | | | | | | | | | structure itself is now in place, and a few of the types (the most complicated ones -- file, user, group, plus exec since it was my easy first test) have been converted. I'm now going to finish going through all of the types and finish chnaging them so that they don't produce any warnings. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1546 980ebf18-57e1-0310-9a29-db15c13687c0
* Renaming parsedfile to loadedfile, which makes much more sense and reduces ↵luke2006-09-032-3/+3
| | | | | | some naming conflicts git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1544 980ebf18-57e1-0310-9a29-db15c13687c0
* Skipping blank lines and comments in autosign.confluke2006-08-291-0/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1512 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing report lookup so it looks up by name, not methodluke2006-08-291-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1511 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing reports error reportingluke2006-08-281-2/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1508 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing report autoloading; I was calling the wrong method, and they were ↵luke2006-08-281-27/+23
| | | | | | never getting loaded git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1506 980ebf18-57e1-0310-9a29-db15c13687c0
* Committing some changes to the %h expansion in fileserving. This change ↵luke2006-08-281-100/+107
| | | | | | makes the expansion entirely isolated in the Mount class, which makes it much easier to test. Also, switched the fileserver config to use ParsedFile, which makes it a bit easier to understand and handle reparsing. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1493 980ebf18-57e1-0310-9a29-db15c13687c0
* Support for %h and %H replacement in the path of fileserver modules.lutter2006-08-261-5/+45
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1490 980ebf18-57e1-0310-9a29-db15c13687c0
* Demoting the xmlrpc access logs to debug from infoluke2006-08-251-4/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1489 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #225. Normal file copying worked with spaces, but recursive file ↵luke2006-08-211-1/+1
| | | | | | copying did not. I modified one of the support methods so it works now. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1478 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the master server so that it always uses the Facter hostname, not the ↵luke2006-07-311-4/+4
| | | | | | cert or IP hostname. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1433 980ebf18-57e1-0310-9a29-db15c13687c0
* First round of bugfixes in preparation for 0.18.4luke2006-07-211-10/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1421 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #202. Just bumped the log level to notice and changed the wording ↵luke2006-07-211-1/+2
| | | | | | slightly git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1414 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing filebucket server so that paths are not added multiple timesluke2006-07-111-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1392 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing reports so that multiple host report directories can be created. ↵luke2006-07-111-12/+12
| | | | | | There was a config conflict before. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1390 980ebf18-57e1-0310-9a29-db15c13687c0
* adding host information to reports and tagmail reportluke2006-07-041-4/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1361 980ebf18-57e1-0310-9a29-db15c13687c0
* Redoing reporting a bit, so that reports are now defined as methods. If ↵luke2006-07-041-8/+33
| | | | | | they are not methods, then they cannot use return, which makes things a bit uglier. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1359 980ebf18-57e1-0310-9a29-db15c13687c0