summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixing #70. We now have user and group management on FreeBSD.luke2006-02-285-2/+103
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@958 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing bug #60. Converting nodes to use types everywhere instead of names, ↵luke2006-02-284-147/+276
| | | | | | and adding a localobjectable to keep track of what parameters have been defined locally. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@957 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #64; multiple class definitions in the same scope is now an error, ↵luke2006-02-271-1/+7
| | | | | | although using the same class name in different scopes is not an error. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@956 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing bug #73; node names now appear only once in the pathluke2006-02-273-6/+20
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@955 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing bug #75, providing support for unnecessary end commas.luke2006-02-272-118/+128
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@954 980ebf18-57e1-0310-9a29-db15c13687c0
* Removing all of the autoname codeluke2006-02-275-37/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@953 980ebf18-57e1-0310-9a29-db15c13687c0
* Mostly, this is a refactoring commit. There is one significant new feature,luke2006-02-2724-180/+344
| | | | | | | | | | | | | | | | | though: overrides now only work within a class heirarchy, which is to say that a subclass can override an element in a base class, but a child scope cannot otherwise override an element in a base scope. I've also done a good bit of refactoring, though; notably, AST#evaluate now takes named arguments, and I changed the 'name' parameter to 'type' in all of the Component classes (this was all internal, but was confusing as it was). I also removed the need for the autonaming stuff -- it's now acceptable for components not to have names, and everything behaves correctly. I haven't yet removed the autoname code, though; I'll do that on the next commit. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@952 980ebf18-57e1-0310-9a29-db15c13687c0
* Switching setclass to use object_ids instead of class names, and adding some ↵luke2006-02-272-8/+12
| | | | | | comments. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@951 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing scopes and AST so that definitions and classes are looked for in the ↵luke2006-02-274-90/+75
| | | | | | scopes, instead of in a global list git-svn-id: https://reductivelabs.com/svn/puppet/trunk@950 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding some debugging to list the states being changed when in debug modeluke2006-02-251-2/+13
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@949 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing nodes so that their paths are printed correctlyluke2006-02-251-2/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@948 980ebf18-57e1-0310-9a29-db15c13687c0
* Removing timestamp debuggingluke2006-02-251-2/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@947 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing output when user/group are not foundluke2006-02-251-1/+13
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@946 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing bug #72, where trailing slashes break file sourcingluke2006-02-242-0/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@944 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.13.5luke2006-02-241-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@940 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding redhat service type, to support enabling and disabling a serviceluke2006-02-244-67/+159
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@938 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing package types so you can specify the package type manually in a manifestluke2006-02-241-1/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@937 980ebf18-57e1-0310-9a29-db15c13687c0
* removing extra error statementluke2006-02-231-6/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@936 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.13.4luke2006-02-231-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@933 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 bug when creating containers with parentsluke2006-02-231-2/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@929 980ebf18-57e1-0310-9a29-db15c13687c0
* Generate an error if the pattern for an import statement matches no file.lutter2006-02-232-22/+32
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@928 980ebf18-57e1-0310-9a29-db15c13687c0
* Properly figure out when updates are available. Previously, packages would ↵lutter2006-02-221-11/+5
| | | | | | neverbe updated because 'yum list foo' first prints the currently installed package. Now we use 'yum list updates foo' git-svn-id: https://reductivelabs.com/svn/puppet/trunk@927 980ebf18-57e1-0310-9a29-db15c13687c0
* Fix failure of test_importglobbing in test/parser/parser.rblutter2006-02-222-24/+44
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@925 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding single-quote syntactical elementluke2006-02-164-342/+372
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@923 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing transactions to be one-stage instead of two, and changing most of ↵luke2006-02-1626-113/+161
| | | | | | 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-163-3/+10
| | | | | | 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-161-4/+21
| | | | 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-151-1/+1
| | | | 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-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
* Updated to version 0.13.1luke2006-02-131-1/+1
| | | | 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-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-126-21/+135
| | | | | | 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
* Updated to version 0.13.0luke2006-02-081-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@890 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