summaryrefslogtreecommitdiffstats
path: root/lib/puppet
Commit message (Collapse)AuthorAgeFilesLines
...
* Disable yumrepo type since it won't work with the FC5 repo fileslutter2006-04-041-1/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1067 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #108luke2006-04-041-5/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1066 980ebf18-57e1-0310-9a29-db15c13687c0
* adding -e ability to puppet executableluke2006-04-044-40/+65
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1065 980ebf18-57e1-0310-9a29-db15c13687c0
* Change how names for nodes are specified: the 'node' keyword can be followed ↵lutter2006-04-044-362/+345
| | | | | | by a NAME or by single quoted text, i.e. fully qualified names for nodes must be enclosed in single quotes git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1064 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the class file to actually store class names, not object ids. Also ↵luke2006-04-045-10/+21
| | | | | | added tests to make sure it all stays that way. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1063 980ebf18-57e1-0310-9a29-db15c13687c0
* Finally! We now have mount support in OS X. Ouch.luke2006-04-042-11/+85
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1062 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding netinfo type and some testsluke2006-04-031-0/+60
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1061 980ebf18-57e1-0310-9a29-db15c13687c0
* eliminating some debugging, and removing a small redundancy bug in nameserver.rbluke2006-04-033-11/+19
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1060 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing authstore to use an array for ordering, rather than a hash, duh.luke2006-04-031-4/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1059 980ebf18-57e1-0310-9a29-db15c13687c0
* Bugfixes for OS X. I had to do some shenanigans on type/file/ensure.rb -- ↵luke2006-04-032-5/+18
| | | | | | it was testing whether the parent dir was writeable on object creation, and if not it was not setting ownership and such, so i added some post-creation checks that will fix ownership if it was not set correctly at creation time. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1058 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing a logging bug that apparently resulted from logging changes a while ago.luke2006-04-031-2/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1056 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding apple package support, but it is very limited -- packages can only be ↵luke2006-04-032-0/+29
| | | | | | installed, not upgraded or removed. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1055 980ebf18-57e1-0310-9a29-db15c13687c0
* Added a test for Type#remove, and fixed the method so it actually works. I ↵luke2006-04-024-45/+75
| | | | | | was missing every other object, because i was iterating over the array being modified. This caused the Config stuff to often fail, because objects were not correctly being removed. All fixed now, though. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1053 980ebf18-57e1-0310-9a29-db15c13687c0
* adding mkdir equivalent of Config#writeluke2006-04-021-0/+17
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1052 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a "write" method to config objects, so that files can be easily ↵luke2006-04-021-1/+27
| | | | | | written with the correct owner, group, and modes git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1051 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing a bug that appeared somehow in port.rb, and adding mount and sshkey ↵luke2006-04-012-0/+5
| | | | | | to the types being autoloaded git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1050 980ebf18-57e1-0310-9a29-db15c13687c0
* renaming filesystem to mountluke2006-04-011-16/+16
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1049 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding filesystem support, and modifying parsedtypes a bit to fix a bug ↵luke2006-04-013-34/+222
| | | | | | where non-instance lines were being duplicated git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1048 980ebf18-57e1-0310-9a29-db15c13687c0
* Manifests can now specify node names with fully qualified domain names, too.lutter2006-03-315-294/+381
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1047 980ebf18-57e1-0310-9a29-db15c13687c0
* Remove unused should method; add more yum parameters to the typelutter2006-03-311-5/+62
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1045 980ebf18-57e1-0310-9a29-db15c13687c0
* New yumrepo type for basic management of the yum configuration oflutter2006-03-312-1/+206
| | | | | | | one repo. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1043 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding os x group management supportluke2006-03-222-2/+93
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1042 980ebf18-57e1-0310-9a29-db15c13687c0
* Committing support for group membership management. Currently only works on ↵luke2006-03-223-0/+83
| | | | | | Linuxes and other OSes that use "useradd" that support -G. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1041 980ebf18-57e1-0310-9a29-db15c13687c0
* Simplified as yum install can be used for both install and updatelutter2006-03-161-23/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1039 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #100. I just added a bit of a hack to configuration parsing -- if a ↵luke2006-03-151-0/+8
| | | | | | group is specified in a section that matches the name of the process, then it is assumed to be the group that the process should run as. The problem is that we are reusing the term "group" here for both the run-group and the file-group. Oh well. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1036 980ebf18-57e1-0310-9a29-db15c13687c0
* Using differents commands with yum depending on whether the package is ↵luke2006-03-151-1/+11
| | | | | | currently installed or not. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1035 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing service enable/disable on solaris 10, and fixing some problems with ↵luke2006-03-143-27/+31
| | | | | | the tests git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1033 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding upgrade ability to sun packages. Currently it removes the old ↵luke2006-03-131-35/+52
| | | | | | package and installs the new one. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1019 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing small bug in symlink recursionluke2006-03-121-2/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1015 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #94. When "ensure" is synced, it syncs the "enable" state at the ↵luke2006-03-122-51/+7
| | | | | | same time. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1014 980ebf18-57e1-0310-9a29-db15c13687c0
* Ooops, did not save the docs before committing.luke2006-03-121-1/+28
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1013 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #98. Filebuckets now work throughout the system, and the ↵luke2006-03-125-24/+70
| | | | | | puppetmasterd creates one by default. I have also updated the :backup docs, adding an example. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1012 980ebf18-57e1-0310-9a29-db15c13687c0
* reducing the log level for checksum warning about symlinks, really this timeluke2006-03-121-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1011 980ebf18-57e1-0310-9a29-db15c13687c0
* reducing the log level for checksum warning about symlinksluke2006-03-121-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1010 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding enhancement #92. Unfortunately, I was not able to write test code to ↵luke2006-03-121-3/+19
| | | | | | consistently verify that this works, because there is too much caching internally. I verified it personally using my own configurations, but that is as good as I could do. This indicates that caching should probably be rethought, so that there is some kind of global "do not cache anything" mechanism. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1009 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing bug related to recursion testingluke2006-03-121-1/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1008 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing rpms so they will automatically upgrade when you point Puppet to a ↵luke2006-03-122-27/+36
| | | | | | new package file git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1007 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #82. You can now specify comma-separated tags to get run in puppet ↵luke2006-03-113-3/+51
| | | | | | or puppetd: puppetd --onetime --tags "enhost, facter" -v. You cannot specify classes explicitly, but tags map well to classes and have the benefit of being more generic. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1005 980ebf18-57e1-0310-9a29-db15c13687c0
* Supporting rpm installs when a package source is specifiedluke2006-03-111-5/+12
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1004 980ebf18-57e1-0310-9a29-db15c13687c0
* Using undefined variables is no longer an exception, it just returns an ↵luke2006-03-111-4/+5
| | | | | | empty string. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1003 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing small bug when autorequire returns an object instead of a stringluke2006-03-101-0/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1002 980ebf18-57e1-0310-9a29-db15c13687c0
* There was a critical design flaw in the link recursion work I did ↵luke2006-03-104-54/+131
| | | | | | previously, and fixing it required a decently large reorganization. Everything is much, much cleaner now. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1001 980ebf18-57e1-0310-9a29-db15c13687c0
* Merging symlinks back into files. Symlinks still exist but with a warning ↵luke2006-03-105-48/+155
| | | | | | about deprecation. Fixes #93. Also the first time I have run any tests on OS X, so there are some bug fixes related to that. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1000 980ebf18-57e1-0310-9a29-db15c13687c0
* Parameters and states can now register regexes as allowed values. Also, ↵luke2006-03-094-56/+135
| | | | | | there are (finally) tests associated with params and states, although they should be much more comprehensive. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@999 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #95. I had to redesign how events were triggered; the transaction ↵luke2006-03-094-127/+44
| | | | | | now individually triggers each subscription, so that it has control in how to respond to failures. Eventually, this will lead the way to error handling within puppet, but for now, it just allows us to trigger every appropriate subscription, whether some have failed or not. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@998 980ebf18-57e1-0310-9a29-db15c13687c0
* Creating a single, constistent method for writing files, instead of having ↵luke2006-03-094-177/+81
| | | | | | :ensure, :content, and :source each have a slightly different mechanism. This method also makes sure that the owner, group, and mode are always set on file creation, so extra runs are not necessary to make it work. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@997 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #96. Defaults are now set when the object is passed out by the ↵luke2006-03-092-45/+18
| | | | | | scope, rather than when the object is created. This is nice because it also moves awareness of the scope internals out of the AST object and back into the scope. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@996 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #97. I was wrong about the object type I had, so I was calling ↵luke2006-03-091-1/+1
| | | | | | "type" with no arguments, which was causing the bug. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@995 980ebf18-57e1-0310-9a29-db15c13687c0
* lowering the log output for nonexistent filesluke2006-03-081-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@994 980ebf18-57e1-0310-9a29-db15c13687c0
* making case statements not create a new scopeluke2006-03-061-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@990 980ebf18-57e1-0310-9a29-db15c13687c0