summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Changing transactions to be one-stage instead of two, and changing most of ↵luke2006-02-1630-117/+190
| | | | | | the type classes to use "obj[:name]" instead of "obj.name" where appropriate, because "obj.name" might be a symbolic name (e.g., File.unlink(file.name) will not do what you want if file.name == "sshdconfig" but file[:path] == "/etc/ssh/sshd_config") git-svn-id: https://reductivelabs.com/svn/puppet/trunk@922 980ebf18-57e1-0310-9a29-db15c13687c0
* Removed some of the autorequire stuff from :exec because it created ↵luke2006-02-164-5/+45
| | | | | | untenable require loops, and created a test case for some complicated exec + file recursion. The test case fails, and I want to have a clean committed repository before i mess much more in trying to fix it, which might actually not be possible. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@921 980ebf18-57e1-0310-9a29-db15c13687c0
* Duh, removing some debuggingluke2006-02-161-2/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@920 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding logoutput parameter to :execluke2006-02-162-4/+49
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@919 980ebf18-57e1-0310-9a29-db15c13687c0
* 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
* Updated to version 0.13.2luke2006-02-152-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@916 980ebf18-57e1-0310-9a29-db15c13687c0
* Changed the parsedtype definition of exists(), and fixed a few smaller bugs. ↵luke2006-02-159-20/+42
| | | | | | 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-1511-60/+191
| | | | | | 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-159-84/+186
| | | | | | 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-1513-216/+388
| | | | | | 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-144-6/+254
| | | | | | 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-143-2/+139
| | | | | | 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-133-71/+213
| | | | | | 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
* Adding --loadclasses option to puppetluke2006-02-131-0/+29
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@906 980ebf18-57e1-0310-9a29-db15c13687c0
* Correcting some path problems with symlink, and changing "target" state to ↵luke2006-02-131-3/+3
| | | | | | "ensure" git-svn-id: https://reductivelabs.com/svn/puppet/trunk@905 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
* Updated to version 0.13.1luke2006-02-132-3/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@901 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-134-19/+41
| | | | 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-137-80/+164
| | | | | | 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-128-22/+169
| | | | | | 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-1012-51/+186
| | | | | | 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
* Change in how logging is defaulted: by default logs go to :syslog, unless ↵lutter2006-02-093-15/+11
| | | | | | the user explicitly gives at least one --logdest argument, in which case logs only go to the destinations the user gave. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@895 980ebf18-57e1-0310-9a29-db15c13687c0
* Set the Release tag in the spec file to 1 when the version is changedlutter2006-02-091-0/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@894 980ebf18-57e1-0310-9a29-db15c13687c0
* Adapt specfile to the fact that puppetmaster now automatically runs as user ↵lutter2006-02-097-8/+50
| | | | | | puppet. Add default config files that send logs to /var/log/puppet. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@893 980ebf18-57e1-0310-9a29-db15c13687c0
* Fix version in last changelog entry (makes rpmlint happy)lutter2006-02-081-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@892 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.13.0luke2006-02-082-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@890 980ebf18-57e1-0310-9a29-db15c13687c0
* Updating changelog for 0.13.0luke2006-02-081-0/+9
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@889 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-083-19/+76
| | | | | | 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-086-8/+64
| | | | | | 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-084-7/+48
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@882 980ebf18-57e1-0310-9a29-db15c13687c0
* adding keywordluke2006-02-080-0/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@881 980ebf18-57e1-0310-9a29-db15c13687c0
* adding keywordluke2006-02-080-0/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@880 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
* wrapping all work in a single rescue clauseluke2006-02-081-18/+7
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@877 980ebf18-57e1-0310-9a29-db15c13687c0
* adding initial ldap schemaluke2006-02-081-0/+17
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@876 980ebf18-57e1-0310-9a29-db15c13687c0
* adding vim syntax stuffluke2006-02-072-0/+96
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@875 980ebf18-57e1-0310-9a29-db15c13687c0
* Simple emacs mode for editing manifests; only does pretty colors right nowlutter2006-02-072-0/+195
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@874 980ebf18-57e1-0310-9a29-db15c13687c0
* There is now full support for configuration files, and the entire system has ↵luke2006-02-0733-545/+742
| | | | | | 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-079-266/+437
| | | | | | 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-0717-71/+259
| | | | | | 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