summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Changing "set" to "tag"luke2006-04-115-12/+38
| | | | 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-111-0/+4
| | | | 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-111-0/+4
| | | | | | "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
* Fixing the language side of #109. Added a "set" keyword.luke2006-04-115-399/+435
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1103 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a few informative facts on the server side: serverversion, ↵luke2006-04-112-3/+21
| | | | | | servername, serverip. And only printing the parse time in the interpreter if it is not a local connection. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1102 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding the puppet client version to the fact list as "clientversion"luke2006-04-111-0/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1101 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding the puppet client version to the fact list as "clientversion"luke2006-04-111-0/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1100 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a "tag" metaparamluke2006-04-111-0/+23
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1099 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding simple benchmarking, and using it in a few of the more obvious ↵luke2006-04-108-57/+138
| | | | | | places. Also, fixed a bug in Scope#gennode. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1098 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #117. If only one value was provided, then it was not placed in an ↵luke2006-04-101-0/+2
| | | | | | array, yet AST::Selector expected an array. The grammar needs to have some abstraction added or something, because I seem to have encountered this bug for every ast type that supports arrays internally. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1097 980ebf18-57e1-0310-9a29-db15c13687c0
* Revamp the yumrepo type to deal with repositories defined anywhere in yum'slutter2006-04-073-81/+333
| | | | | | | | config files. Adds a generic module Puppet::IniConfig for parsing ini-style files git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1096 980ebf18-57e1-0310-9a29-db15c13687c0
* another small mount fix; this time, for stupid os xluke2006-04-061-1/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1095 980ebf18-57e1-0310-9a29-db15c13687c0
* committing version changesluke2006-04-061-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1094 980ebf18-57e1-0310-9a29-db15c13687c0
* Committing an important fix to mounts; since i am sure no one has downloaded ↵luke2006-04-061-0/+9
| | | | | | 0.15.3, i am just going to rerelease 0.15.3 with this fix in it git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1093 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding autoloading for types and service types, also.luke2006-04-062-0/+27
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1090 980ebf18-57e1-0310-9a29-db15c13687c0
* Okay, last one, hopefully. Modifying checks to support arrays.luke2006-04-051-22/+42
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1089 980ebf18-57e1-0310-9a29-db15c13687c0
* And, one more time. My test for the last bug did not actually retrieve, so ↵luke2006-04-051-3/+7
| | | | | | it did not enounter the problem, and i had also forgotten to add the "check" boolean to the checks. Hopefully this will be the end of exec bugs for the day. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1088 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing checks so that they can run even if the set cwd does not existluke2006-04-051-8/+16
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1087 980ebf18-57e1-0310-9a29-db15c13687c0
* adding a bit of debuggingluke2006-04-051-0/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1086 980ebf18-57e1-0310-9a29-db15c13687c0
* moving cwd existence check into "sync" instead of "validate"luke2006-04-051-4/+7
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1085 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing a small bug in type.rb that ignored false values (instead of nil ↵luke2006-04-053-11/+30
| | | | | | values), another small bug in value setting that resulted in the file and line appearing twice in errors, and added validation to all of the checks in :exec (along with testing for all of it). git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1084 980ebf18-57e1-0310-9a29-db15c13687c0
* removing patch from spec fileluke2006-04-051-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1083 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding darwinport type.luke2006-04-052-12/+99
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1080 980ebf18-57e1-0310-9a29-db15c13687c0
* differentiating openbsd from freebsd, adding freebsd, and autoloading ↵luke2006-04-053-57/+75
| | | | | | package types instead of manually loading them git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1079 980ebf18-57e1-0310-9a29-db15c13687c0
* adding deprecation noticeluke2006-04-051-1/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1076 980ebf18-57e1-0310-9a29-db15c13687c0
* adding some docsluke2006-04-051-0/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1075 980ebf18-57e1-0310-9a29-db15c13687c0
* renaming; i hate bsdluke2006-04-051-0/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1074 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #103. There are now no such things as node scopes; the entire tree ↵luke2006-04-053-955/+880
| | | | | | is evaluated on every node connection, and node facts are set at the top-level scope. This includes,um, the code; the last commit was accidentally just test changes. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1073 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing a couple of bugs in preparation for 0.15.2; mostly they were in the ↵luke2006-04-041-2/+2
| | | | | | testing system and resulted from changing :File to :Manifest in server/master git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1068 980ebf18-57e1-0310-9a29-db15c13687c0
* 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-045-41/+69
| | | | 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
* changing ssldir perms to 771, so non-root users can write to subdirs if they ↵luke2006-04-031-1/+1
| | | | | | have permissions git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1057 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