summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Bug fixes from OS X for 0.16.3luke2006-05-017-6/+28
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1156 980ebf18-57e1-0310-9a29-db15c13687c0
* Hopefully final bug fixes in preparation for 0.16.3luke2006-04-303-2/+16
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1155 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing tests looking for pmapluke2006-04-301-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1154 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing TransObject#to_type so that it does not modify the object being convertedluke2006-04-301-15/+7
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1153 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing test for service paths; only testing if it is a directory if it is ↵luke2006-04-301-5/+7
| | | | | | present. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1152 980ebf18-57e1-0310-9a29-db15c13687c0
* Added some code that could be used later to make sure the user and mode are ↵luke2006-04-302-2/+16
| | | | | | also copied on backups. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1151 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a check to make sure the mode is copied over.luke2006-04-301-1/+9
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1150 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the docs a bit for the executables, adding a --daemonize option to ↵luke2006-04-304-61/+127
| | | | | | puppetd and puppetmasterd so they can still be daemonized with debugging or verbosity enabled, and causing puppetd to fail to start if a PID file exists (and not setting a pid file if running with --onetime enabled). git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1149 980ebf18-57e1-0310-9a29-db15c13687c0
* Puppetd now has an option for listening -- just run the --listen option, and ↵luke2006-04-286-40/+120
| | | | | | it will start up with a pelement server. It will fail to start if the authconfig file (defaulting to /etc/puppet/namespaceauth.conf) is missing, since it defaults to access at this point. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1148 980ebf18-57e1-0310-9a29-db15c13687c0
* Making file copying significantly faster -- i found an extra call to ↵luke2006-04-284-20/+44
| | | | | | "describe" in file sources and an extra read/checksumming of the dest file git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1147 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #128. md5lite was being used instead of full md5. At this point, ↵luke2006-04-284-7/+36
| | | | | | md5lite cannot be used for source copies. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1146 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding in all of the patches necessary to make a prototype rails interface ↵luke2006-04-2815-87/+231
| | | | | | to puppet nodes work. The biggest change is that there is now a separate NetworkClient class for every Client subclass, because otherwise you get namespace collisions. Most everything other change is a relatively minor patch. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1145 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding in all of the patches necessary to make a prototype rails interface ↵luke2006-04-282-2/+101
| | | | | | to puppet nodes work. The biggest change is that there is now a separate NetworkClient class for every Client subclass, because otherwise you get namespace collisions. Most everything other change is a relatively minor patch. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1144 980ebf18-57e1-0310-9a29-db15c13687c0
* Trying to track down the bugs reported this morning, so I added some more ↵luke2006-04-279-106/+99
| | | | | | test cases. I did find a bug in the filebuckets, fixed it, and added a test case. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1143 980ebf18-57e1-0310-9a29-db15c13687c0
* updating changelog for 0.16.1 and 0.16.2luke2006-04-262-1/+15
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1141 980ebf18-57e1-0310-9a29-db15c13687c0
* adding "clean" mode to puppetcaluke2006-04-263-9/+47
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1140 980ebf18-57e1-0310-9a29-db15c13687c0
* This should have been in 0.16.1. Moving the "setclass" statements around so ↵luke2006-04-267-15/+30
| | | | | | that classes are set before a given class's code is evaluated, so it can be tested within the code, within node defs, components, or classes. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1139 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding sum type to the retrieved sum if it is not already there. This ↵luke2006-04-261-1/+6
| | | | | | provides backwards compatibility for existing cache files. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1137 980ebf18-57e1-0310-9a29-db15c13687c0
* removing unnecessary debuggingluke2006-04-261-1/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1136 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding "defined" functino to puppet, so you can now test whether a given ↵luke2006-04-262-0/+51
| | | | | | class or definition is defined. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1135 980ebf18-57e1-0310-9a29-db15c13687c0
* Creating a simplistic, generic function framework in the parser, so it is ↵luke2006-04-2613-497/+807
| | | | | | now very easy to add new functions. There is a pretty crappy, hardwired distinction between functions that return values and those that do not, but I do not see a good way around it right now. Functions are also currently responsible for handling their own arity, although I have plans for fixing that. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1134 980ebf18-57e1-0310-9a29-db15c13687c0
* Modifying non-existent-package test to make sure syncing fails, and modified ↵luke2006-04-222-2/+15
| | | | | | ports package type to check the error output instead of the return code, because the portinstall command returns 0 even on failure. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1133 980ebf18-57e1-0310-9a29-db15c13687c0
* Fix ownership on server files (trac #122) Change ownership on /var/puppetlutter2006-04-221-2/+9
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1132 980ebf18-57e1-0310-9a29-db15c13687c0
* removing patch from red hat spec fileluke2006-04-212-5/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1131 980ebf18-57e1-0310-9a29-db15c13687c0
* Final commit before 0.16.0luke2006-04-2116-37/+443
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1129 980ebf18-57e1-0310-9a29-db15c13687c0
* making corrections to pass tests on freebsdluke2006-04-215-23/+50
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1128 980ebf18-57e1-0310-9a29-db15c13687c0
* Go some work started on developing authorization, but I have made little ↵luke2006-04-214-22/+102
| | | | | | progress. I might wait on this for the next point release. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1127 980ebf18-57e1-0310-9a29-db15c13687c0
* pelement listing now worksluke2006-04-203-27/+60
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1126 980ebf18-57e1-0310-9a29-db15c13687c0
* Added a list class method to just about all types, and it seems to actually ↵luke2006-04-2021-106/+420
| | | | | | work for everyone. Now just to add a list method to the pelement server. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1125 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a "list" class method to most types, and using it in the tests for ↵luke2006-04-2014-25/+196
| | | | | | the pelement server to verify that objects can be copied using it. I expect that most package types other than apt/dpkg are not yet working with these tests. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1124 980ebf18-57e1-0310-9a29-db15c13687c0
* A simple first version of an object (called "pelement") server is now in ↵luke2006-04-209-93/+378
| | | | | | place. There is not yet a client, and the tests are pretty simple so far -- only files have been tested yet. I had to make a significant number of modifications to the file object in order to get this all to work, and one of the big changes I made is to the internals of the checksum state. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1123 980ebf18-57e1-0310-9a29-db15c13687c0
* Actually adding the ports file that provides freebsd port supportluke2006-04-201-0/+96
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1122 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding freebsd ports supportluke2006-04-204-6/+22
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1121 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing test to know that i skipped alertsluke2006-04-191-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1120 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing service stopping; I had the %x{} command quotedluke2006-04-191-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1119 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixin #102. The syslog name is now either the name if the process (if that ↵luke2006-04-192-1/+4
| | | | | | name includes "puppet" in it) or "puppet-" and the name of the process. Also removing the "alert" test messages, since they result in a wall. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1118 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #118; the hash is now always 8 hex characters, 0-padded. Also ↵luke2006-04-192-2/+9
| | | | | | changed the CA cert name to the FQDN of the host serving the CA, rather than "CAcert". git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1117 980ebf18-57e1-0310-9a29-db15c13687c0
* Fix handling of run files so services can't be started twice (reported with ↵lutter2006-04-174-6/+4
| | | | | | patch by soul916 at gmail.com) git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1116 980ebf18-57e1-0310-9a29-db15c13687c0
* Don't create empty log files in %post (based on report by soul916 at gmail.com)lutter2006-04-171-4/+9
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1115 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing the log level of the "defaulting to base service type" messageluke2006-04-171-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1114 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing a bunch of small bugs, mostly found by testing on solaris, and added ↵luke2006-04-1717-102/+139
| | | | | | a check to the test system that points out memory growth git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1113 980ebf18-57e1-0310-9a29-db15c13687c0
* changing set to tag in the testsluke2006-04-131-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1112 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing puppetca so it does not call chuser; instead, it is configured to ↵luke2006-04-124-19/+64
| | | | | | create all of the files with the correct permissions and ownership (using Config#write and Config#writesub). git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1111 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding doc generation for exe argumentsluke2006-04-111-108/+160
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1110 980ebf18-57e1-0310-9a29-db15c13687c0
* Oops, typo in client/master.rbluke2006-04-111-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1109 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding --test option to puppetd (it enables --onetime, ↵luke2006-04-111-6/+24
| | | | | | --no-usecacheonfailure, and --verbose), and modifying the docs a bit. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1108 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding locking to the master client, so that only one copy of puppetd will ↵luke2006-04-112-19/+99
| | | | | | be running. This should make it safe to run puppetd manually while it is also running normally. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1107 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing "set" to "tag"luke2006-04-117-19/+45
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1106 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding the host name as a tag (stripped of the domain name)luke2006-04-113-6/+36
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1105 980ebf18-57e1-0310-9a29-db15c13687c0
* Modifying "setclass" on scope to check the validity of class names, now that ↵luke2006-04-112-0/+21
| | | | | | "set" can be used to set them manually, and added a test for it. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1104 980ebf18-57e1-0310-9a29-db15c13687c0