summaryrefslogtreecommitdiffstats
path: root/lib/puppet
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixing symbolic naming bug where symbolic names were being ignored in some casesluke2006-02-161-0/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@918 980ebf18-57e1-0310-9a29-db15c13687c0
* Changed the parsedtype definition of exists(), and fixed a few smaller bugs. ↵luke2006-02-154-13/+11
| | | | | | Last code commit before 0.13.2 git-svn-id: https://reductivelabs.com/svn/puppet/trunk@915 980ebf18-57e1-0310-9a29-db15c13687c0
* Tracked down a few other bugs; everything now passes on debian in ↵luke2006-02-156-57/+65
| | | | | | preparation for 0.13.2 git-svn-id: https://reductivelabs.com/svn/puppet/trunk@914 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing "answerfile" to "adminfile", adding "responsefile", and ↵luke2006-02-152-10/+38
| | | | | | autorequiring both. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@913 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing users so that they can use a group created by Puppet, and they also ↵luke2006-02-157-82/+132
| | | | | | now autorequire that group. To do so, I modified Puppet::Util.gid, which required that I fix Puppet::Type#merge to support merging managed and umanaged objects, which required fixing a bug in Puppet::Type#managed?, and I also changed the ensure state to only default to a value, when the object is managed, which required that I change the defaults system to support default procs that do not return a value. In other words, lots of fixes for a smallish problem, but we are much better off now. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@912 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the order of arguments when using admin files with sun packagesluke2006-02-151-2/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@911 980ebf18-57e1-0310-9a29-db15c13687c0
* Some important bug fixes in the parsedtypes types; this all started from the ↵luke2006-02-159-205/+218
| | | | | | submitted bug today, but I added :absent support to most params. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@910 980ebf18-57e1-0310-9a29-db15c13687c0
* Committing the initial ldap support -- puppet can now look up node ↵luke2006-02-143-6/+168
| | | | | | configurations in ldap. The test scripts currently only work on my home network. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@909 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding --enable/--disable locking for puppetd. You can now disable puppetd ↵luke2006-02-141-2/+33
| | | | | | from running by creating a lock file, which is useful if you are testing a configuration and want puppetd not to run for a bit. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@908 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a general "check" mechanism to :exec, so it is now terribly easy to ↵luke2006-02-132-70/+168
| | | | | | define a new check to perform, converted :creates and :refreshonly to use that mechanism, and then added :onlyif and :unless as new checks. Also added any files they mention as autorequire files. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@907 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing :target reference in pfile.rbluke2006-02-131-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@904 980ebf18-57e1-0310-9a29-db15c13687c0
* Correcting some path problems with symlink, and changing "target" state to ↵luke2006-02-131-18/+29
| | | | | | "ensure" git-svn-id: https://reductivelabs.com/svn/puppet/trunk@903 980ebf18-57e1-0310-9a29-db15c13687c0
* updating alias docs to pass ReST checksluke2006-02-131-10/+10
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@900 980ebf18-57e1-0310-9a29-db15c13687c0
* updating changelog and docs for :aliasluke2006-02-132-17/+36
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@899 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing some problems with cron tab management, and creating ↵luke2006-02-136-80/+123
| | | | | | Puppet::Util.{u,g}id methods. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@898 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing locking. It apparently was not working on OS X, and I was not ↵luke2006-02-125-18/+131
| | | | | | 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
* Making the language name a real alias. Now all objects in Puppet support ↵luke2006-02-107-45/+125
| | | | | | specifying both the name and the namevar, or just a name and having the namevar set. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@896 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding answerfile support to sun pkgs.luke2006-02-082-1/+18
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@888 980ebf18-57e1-0310-9a29-db15c13687c0
* adding some documentationluke2006-02-081-1/+8
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@887 980ebf18-57e1-0310-9a29-db15c13687c0
* removing errant warningluke2006-02-081-1/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@886 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing small problem where checksum retrieving did not look in the cache; ↵luke2006-02-083-49/+39
| | | | | | this was only ever a problem in cases where checksums have no "should" value set, which is generally only the case on the fileserver, but it caused the fileserver to replace checksum values on every retrieval. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@885 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the conflict between ensure and source. Ironically I had already ↵luke2006-02-081-19/+32
| | | | | | made sure there was no conflict with "content", but I had forgotten "source". git-svn-id: https://reductivelabs.com/svn/puppet/trunk@884 980ebf18-57e1-0310-9a29-db15c13687c0
* Checksums now get correctly updated for both the ensure and content state ↵luke2006-02-085-8/+23
| | | | | | when those states are used git-svn-id: https://reductivelabs.com/svn/puppet/trunk@883 980ebf18-57e1-0310-9a29-db15c13687c0
* first bug fixed, where sources were not updating the checksumluke2006-02-083-7/+26
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@882 980ebf18-57e1-0310-9a29-db15c13687c0
* replacing all occurences of "is_a?" in the parser with "instance_of?"luke2006-02-082-46/+46
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@879 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing bug that occurs with only one argumentluke2006-02-083-7/+7
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@878 980ebf18-57e1-0310-9a29-db15c13687c0
* There is now full support for configuration files, and the entire system has ↵luke2006-02-0711-142/+337
| | | | | | been modified to expect their new behaviour. I have not yet run the test across all test hosts, though. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@873 980ebf18-57e1-0310-9a29-db15c13687c0
* Configuration parameters now require (and have) descriptions, and a set of ↵luke2006-02-077-152/+220
| | | | | | configuration parameters can be converted to a configuration file, a manifest, or a component. All I have to do now is integrate them into the executables. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@872 980ebf18-57e1-0310-9a29-db15c13687c0
* Committing both the finalization of the config code, plus all of the code ↵luke2006-02-0711-57/+241
| | | | | | necessary to get basic isomorphism from code to transportables and back. Mostly keyword and autoname stuff. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@871 980ebf18-57e1-0310-9a29-db15c13687c0
* Fix snippet_componentmetaparams testlutter2006-02-071-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@870 980ebf18-57e1-0310-9a29-db15c13687c0
* Temporary commit; configs now can be converted to manifestsluke2006-02-071-1/+68
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@869 980ebf18-57e1-0310-9a29-db15c13687c0
* Config files now seem to work, so I am ready to start incorporating them.luke2006-02-071-45/+164
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@868 980ebf18-57e1-0310-9a29-db15c13687c0
* a couple small changes; the most significant is the addition of a ↵luke2006-02-063-25/+69
| | | | | | class-level "eachattr" method, to avoid all of the calls to attrclass and attrtype git-svn-id: https://reductivelabs.com/svn/puppet/trunk@863 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing a significant performance bug in file recursion, and trying to help ↵luke2006-01-318-40/+59
| | | | | | performance a bit in attribute handling on types git-svn-id: https://reductivelabs.com/svn/puppet/trunk@862 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing class storage -- it was not working for nodescopesluke2006-01-304-17/+22
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@858 980ebf18-57e1-0310-9a29-db15c13687c0
* Caching Time objects instead of numbers, since Bignum does not seem to be ↵luke2006-01-302-3/+2
| | | | | | YAMLable git-svn-id: https://reductivelabs.com/svn/puppet/trunk@857 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing waitforcert so that the client can actually add the certs once it ↵luke2006-01-303-1/+18
| | | | | | receives them git-svn-id: https://reductivelabs.com/svn/puppet/trunk@856 980ebf18-57e1-0310-9a29-db15c13687c0
* RPM release is almost entirely there, it just needs to be integrated into ↵luke2006-01-253-2/+54
| | | | | | release management git-svn-id: https://reductivelabs.com/svn/puppet/trunk@850 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing some logging issuesluke2006-01-243-6/+16
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@849 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding the event-loop stuff to the repository and switching to using it. ↵luke2006-01-2427-1161/+2187
| | | | | | 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-239-161/+745
| | | | | | 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
* Modifying docs, and adding scheduling hooksluke2006-01-208-12/+28
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@846 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing a small checksumming bug, reorganizing the client stuff a bit, and ↵luke2006-01-184-39/+151
| | | | | | adding freshness checking for the configuration, so the config is recompiled every time nor is it downloaded unless it has been recompiled git-svn-id: https://reductivelabs.com/svn/puppet/trunk@845 980ebf18-57e1-0310-9a29-db15c13687c0
* Made lots of small changes, mostly to help usability but also fixed a couple ↵luke2006-01-1838-269/+380
| | | | | | of key bugs git-svn-id: https://reductivelabs.com/svn/puppet/trunk@841 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing most types to allow no statementsluke2006-01-182-210/+358
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@840 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding openbsd packaging supportluke2006-01-173-9/+93
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@836 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing problems where objects were passing @parameters[:param] objects, ↵luke2006-01-174-16/+26
| | | | | | instead of specifically retrieving the value git-svn-id: https://reductivelabs.com/svn/puppet/trunk@835 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding an "ensure" state where appropriate, and significantly reworking the ↵luke2006-01-1728-322/+681
| | | | | | builtin docs. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@832 980ebf18-57e1-0310-9a29-db15c13687c0
* Added "ensure" state to some classes, and added infrastructure for it to ↵luke2006-01-1623-246/+609
| | | | | | work elsewhere. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@831 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding sshkey class plus tests, and adding "aggregatable" methods to type.rbluke2006-01-142-0/+144
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@829 980ebf18-57e1-0310-9a29-db15c13687c0