summaryrefslogtreecommitdiffstats
path: root/lib/puppet
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixing #182. Added a retry section to try reconnecting to ldap. Only one ↵luke2006-06-201-1/+9
| | | | | | reconnect is attempted in a given search, and LDAP produces bad enough error messages that we reconnect regardless of the error thrown. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1305 980ebf18-57e1-0310-9a29-db15c13687c0
* Setting pluginsync default to false, and (hopefully) fixing autosign problem ↵luke2006-06-202-9/+20
| | | | | | when the file exists and autosign is set to true (#180). The problem was that the puppetmasterd script was redundantly setting autosign in the CA, when the CA already knows how to deal with autosigning, which meant that autosign was being set before the config was parsed. Thus, there was no bug when autosign was set on the command line but there was when it was set in the config. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1304 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing broken symlink behaviour mentioned on the listluke2006-06-201-1/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1303 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding plugins and plugin management. The Master Client will now ↵luke2006-06-203-2/+70
| | | | | | automatically download plugins if pluginsync is enabled, and they will be automatically sourced. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1302 980ebf18-57e1-0310-9a29-db15c13687c0
* More documentation changes.luke2006-06-1910-38/+38
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1300 980ebf18-57e1-0310-9a29-db15c13687c0
* updating some docs and puppetdoc in preparation for a move to webgen instead ↵luke2006-06-172-8/+8
| | | | | | of plone git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1295 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing my autorequire fix; oopsluke2006-06-151-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1292 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing autorequire message to include the object typeluke2006-06-151-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1291 980ebf18-57e1-0310-9a29-db15c13687c0
* Delete entries from the config file if their should is 'absent'lutter2006-06-151-1/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1290 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding test and fix for empty execs being ignoredluke2006-06-151-3/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1288 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing interpreter to initialize ldap in the nodesearch_ldap method, which ↵luke2006-06-151-3/+5
| | | | | | really only matters for testing (since it is already being inited in the nodesearch method git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1287 980ebf18-57e1-0310-9a29-db15c13687c0
* making links even if the target does not existluke2006-06-142-17/+9
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1286 980ebf18-57e1-0310-9a29-db15c13687c0
* updating documentation for sshkeyluke2006-06-141-15/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1279 980ebf18-57e1-0310-9a29-db15c13687c0
* Setting options and the facility for syslogluke2006-06-141-1/+7
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1277 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing some logging issues with puppetmasterd when daemonized with verbose ↵luke2006-06-142-13/+22
| | | | | | mode on, and fixing ldap support when daemonizing git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1276 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing statechange noop message so it's a bit clearerluke2006-06-141-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1275 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding fixes for solaris zonesluke2006-06-131-6/+18
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1271 980ebf18-57e1-0310-9a29-db15c13687c0
* abstracting out ldap connections so that there is a single method ↵luke2006-06-131-12/+22
| | | | | | responsible for all of them and a single connection can be shared in all classes if necessary git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1270 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing ldap usage when ldap libs are not availableluke2006-06-131-20/+28
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1268 980ebf18-57e1-0310-9a29-db15c13687c0
* removing extraneous debuggingluke2006-06-131-2/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1267 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #173. At this point, I am just calling both "--add" and "on", or ↵luke2006-06-133-10/+19
| | | | | | "--del" and "off". This should probably be broken up into other states, but.... git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1265 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing packaging to deal with the fact that yum exits with 0 exit code even ↵luke2006-06-131-1/+6
| | | | | | when it is told to install a non-existent package. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1263 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding support for default nodes as requested in #136.luke2006-06-134-212/+261
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1261 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #169. Tags are ignored during config.luke2006-06-131-0/+8
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1259 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the main bug reported on the list today relating to file sourcing ↵luke2006-06-132-4/+14
| | | | | | truncating linked-to files. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1258 980ebf18-57e1-0310-9a29-db15c13687c0
* adding noop marker as requestedluke2006-06-131-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1257 980ebf18-57e1-0310-9a29-db15c13687c0
* A round of bug-fixing in preparation for the next release.luke2006-06-138-23/+65
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1256 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing ldap node lookup. The test was set up badly, in that it did not ↵luke2006-06-121-3/+11
| | | | | | actually provide a way to enable ldap node support, even though there was a config option that should have worked. All works now. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1254 980ebf18-57e1-0310-9a29-db15c13687c0
* turning on output flushingluke2006-06-121-0/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1253 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding support for following referralsluke2006-06-121-0/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1252 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #135. I was setting the object to the result of an include? test, ↵luke2006-06-121-5/+6
| | | | | | instead of just "obj = ary[val]", so all but the first bucket-backed files were getting errors. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1251 980ebf18-57e1-0310-9a29-db15c13687c0
* Found a bug where single-value selectors can fail on a second compile. ↵luke2006-06-092-1/+7
| | | | | | Fixed it, and am now compiling all snippets twice. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1250 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #168. Reworked the regex to allow matching TLDs.luke2006-06-081-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1248 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #167. Started with the submitted patch and made a few more ↵luke2006-06-081-7/+14
| | | | | | modifications, and added a regression test. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1247 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #157. Objects are no longer allowed to be their own parents, and ↵luke2006-06-083-25/+34
| | | | | | there are checks in both directions to stop this. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1246 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #166. Function names are no longer reserved words.luke2006-06-083-420/+411
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1245 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #158. I did not add a force option, since I always back files up ↵luke2006-06-083-7/+70
| | | | | | before I replace them. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1244 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #154. Basically just accepted the patch that fixes master.rb and ↵luke2006-06-081-1/+1
| | | | | | added a test case for it. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1242 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #155. It is now valid to have arrays with no values, although you ↵luke2006-06-082-171/+187
| | | | | | will still likely get erratic behaviour elsewhere in the system, depending on what you do with this. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1240 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #159 -- packages now have a default value for ensure (:installed).luke2006-06-081-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1239 980ebf18-57e1-0310-9a29-db15c13687c0
* Committing largely complete Solaris zone support. I still need to add ↵luke2006-06-061-157/+247
| | | | | | static filesystem support, but everything else should work. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1236 980ebf18-57e1-0310-9a29-db15c13687c0
* removing one of the stack traces from error outputluke2006-06-061-51/+29
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1235 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #163. Strings can now correctly escape dollar signs.luke2006-06-051-12/+8
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1234 980ebf18-57e1-0310-9a29-db15c13687c0
* Intermediate commit; most of the core zone functions now work, and some of ↵luke2006-06-022-92/+234
| | | | | | the configuration functions work. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1233 980ebf18-57e1-0310-9a29-db15c13687c0
* temporary commit so i can transfer my testing to a faster, sparc boxluke2006-06-011-26/+148
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1231 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #160. Fixing the error in Puppet::Type#[]= and scope.newobjectluke2006-06-012-11/+24
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1230 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #161. Basically, AST::ObjectDef now catches when users specify a ↵luke2006-06-011-8/+25
| | | | | | name as a parameter instead of the name before the colon and modify the results accordingly. This catches this kind of problem, and the normal name handling picks up everything else. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1229 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #162. Node names must now be comma-separated.luke2006-05-312-191/+200
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1228 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding an "execute" method to Puppet::Util, and including the module in ↵luke2006-05-282-0/+17
| | | | | | element.rb git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1227 980ebf18-57e1-0310-9a29-db15c13687c0
* adding zone management stub; switching to my home vm for testingluke2006-05-281-0/+182
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1226 980ebf18-57e1-0310-9a29-db15c13687c0