summaryrefslogtreecommitdiffstats
path: root/lib/puppet
Commit message (Collapse)AuthorAgeFilesLines
* There is now full support for configuration files, and the entire system has ↵luke2006-02-0711-142/+337
| | | | | | 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-077-152/+220
| | | | | | 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-0711-57/+241
| | | | | | 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
* Temporary commit; configs now can be converted to manifestsluke2006-02-071-1/+68
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@869 980ebf18-57e1-0310-9a29-db15c13687c0
* Config files now seem to work, so I am ready to start incorporating them.luke2006-02-071-45/+164
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@868 980ebf18-57e1-0310-9a29-db15c13687c0
* a couple small changes; the most significant is the addition of a ↵luke2006-02-063-25/+69
| | | | | | class-level "eachattr" method, to avoid all of the calls to attrclass and attrtype git-svn-id: https://reductivelabs.com/svn/puppet/trunk@863 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing a significant performance bug in file recursion, and trying to help ↵luke2006-01-318-40/+59
| | | | | | performance a bit in attribute handling on types git-svn-id: https://reductivelabs.com/svn/puppet/trunk@862 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing class storage -- it was not working for nodescopesluke2006-01-304-17/+22
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@858 980ebf18-57e1-0310-9a29-db15c13687c0
* Caching Time objects instead of numbers, since Bignum does not seem to be ↵luke2006-01-302-3/+2
| | | | | | YAMLable git-svn-id: https://reductivelabs.com/svn/puppet/trunk@857 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing waitforcert so that the client can actually add the certs once it ↵luke2006-01-303-1/+18
| | | | | | receives them git-svn-id: https://reductivelabs.com/svn/puppet/trunk@856 980ebf18-57e1-0310-9a29-db15c13687c0
* RPM release is almost entirely there, it just needs to be integrated into ↵luke2006-01-253-2/+54
| | | | | | release management git-svn-id: https://reductivelabs.com/svn/puppet/trunk@850 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing some logging issuesluke2006-01-243-6/+16
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@849 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding the event-loop stuff to the repository and switching to using it. ↵luke2006-01-2427-1161/+2187
| | | | | | Also, breaking many classes out into their own class files. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@848 980ebf18-57e1-0310-9a29-db15c13687c0
* Committing most of the scheduling stuff. There is still a bit of work to do ↵luke2006-01-239-161/+745
| | | | | | in terms of how puppetd interacts with scheduling, but the bulk of the work is done. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@847 980ebf18-57e1-0310-9a29-db15c13687c0
* Modifying docs, and adding scheduling hooksluke2006-01-208-12/+28
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@846 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing a small checksumming bug, reorganizing the client stuff a bit, and ↵luke2006-01-184-39/+151
| | | | | | adding freshness checking for the configuration, so the config is recompiled every time nor is it downloaded unless it has been recompiled git-svn-id: https://reductivelabs.com/svn/puppet/trunk@845 980ebf18-57e1-0310-9a29-db15c13687c0
* Made lots of small changes, mostly to help usability but also fixed a couple ↵luke2006-01-1838-269/+380
| | | | | | of key bugs git-svn-id: https://reductivelabs.com/svn/puppet/trunk@841 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing most types to allow no statementsluke2006-01-182-210/+358
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@840 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding openbsd packaging supportluke2006-01-173-9/+93
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@836 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing problems where objects were passing @parameters[:param] objects, ↵luke2006-01-174-16/+26
| | | | | | instead of specifically retrieving the value git-svn-id: https://reductivelabs.com/svn/puppet/trunk@835 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding an "ensure" state where appropriate, and significantly reworking the ↵luke2006-01-1728-322/+681
| | | | | | builtin docs. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@832 980ebf18-57e1-0310-9a29-db15c13687c0
* Added "ensure" state to some classes, and added infrastructure for it to ↵luke2006-01-1623-246/+609
| | | | | | work elsewhere. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@831 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding sshkey class plus tests, and adding "aggregatable" methods to type.rbluke2006-01-142-0/+144
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@829 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding another host to the test lists, adding some test data, and modifying ↵luke2006-01-141-5/+27
| | | | | | how hosts parse git-svn-id: https://reductivelabs.com/svn/puppet/trunk@828 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a bit better logging and checking to file accessluke2006-01-142-12/+14
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@826 980ebf18-57e1-0310-9a29-db15c13687c0
* Moving ast classes into separate filesluke2006-01-1318-1442/+1496
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@825 980ebf18-57e1-0310-9a29-db15c13687c0
* Added "finish" method, using it in Type.finalize, and moved autorequire and ↵luke2006-01-132-7/+39
| | | | | | setdefaults to it. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@824 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing host and port aliases to also create Puppet aliases. This involved ↵luke2006-01-133-26/+51
| | | | | | futzing around with the attr* methods in Type.rb, to make sure states are always checked first. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@823 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing up the parsedtypes, fixing Type.eachtype to ignore structure typesluke2006-01-137-61/+83
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@822 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding /etc/services supportluke2006-01-132-2/+215
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@821 980ebf18-57e1-0310-9a29-db15c13687c0
* finalizing cron and host management, hopefullyluke2006-01-137-673/+36
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@820 980ebf18-57e1-0310-9a29-db15c13687c0
* Abstracting host support so it should easily support other typesluke2006-01-131-0/+190
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@819 980ebf18-57e1-0310-9a29-db15c13687c0
* Abstracting host support so it should easily support other typesluke2006-01-135-330/+263
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@818 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding initial host support. I can promise that this will soon (hopefully ↵luke2006-01-122-4/+311
| | | | | | almost immediately) be abstracted to make it easy to add new file types. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@817 980ebf18-57e1-0310-9a29-db15c13687c0
* Converting transport format to YAML instead of Marshal, and caching the file ↵luke2006-01-1210-60/+230
| | | | | | in a YAML format, also. This required a significant rework of both Transportable classes. Lastly, I am also now caching the list of classes in a class file in /etc/puppet. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@816 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixed a couple of warnings, fixed a critical bug having to do with case ↵luke2006-01-126-17/+16
| | | | | | statements (where there is only one listed option), and did a couple of other cleanups. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@814 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding "content" state to files, and string interpolation handles escaped ↵luke2006-01-123-1/+54
| | | | | | whitespace characters. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@813 980ebf18-57e1-0310-9a29-db15c13687c0
* Services now work at least somewhat on solaris 10, and service testing is ↵luke2006-01-122-13/+43
| | | | | | pretty different. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@809 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing dependencies to not depend on file order. Added ↵luke2006-01-123-19/+129
| | | | | | Puppet::Type.{finalize,mkdepends,builddepends} git-svn-id: https://reductivelabs.com/svn/puppet/trunk@808 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing documentation generation, and fixing aliasing so that objects can ↵luke2006-01-121-4/+16
| | | | | | safely be aliased to themselves git-svn-id: https://reductivelabs.com/svn/puppet/trunk@807 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding "alias" metaparam; you can now create as many aliases as you want for ↵luke2006-01-121-6/+23
| | | | | | any of your objects. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@806 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding autorequire to files, and added the cwd to the list of files to be ↵luke2006-01-123-2/+30
| | | | | | required for exec. Also, exec catches inline files and autorequires them. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@805 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding generic autorequire mechanism, and thus removing it from execluke2006-01-112-14/+40
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@804 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a requires? method to types, fixed the bug where exec fail when ↵luke2006-01-112-18/+52
| | | | | | Puppet is downloading the script to execute, and modified "exec" to autorequire any managed scripts git-svn-id: https://reductivelabs.com/svn/puppet/trunk@803 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding Sun support and fixing the last remaining bugs related to the daemon ↵luke2006-01-118-389/+464
| | | | | | changes i just made git-svn-id: https://reductivelabs.com/svn/puppet/trunk@799 980ebf18-57e1-0310-9a29-db15c13687c0
* Supporting puppetmasterd running as a non-root user, and doing some basic ↵luke2006-01-109-55/+55
| | | | | | message cleanup git-svn-id: https://reductivelabs.com/svn/puppet/trunk@798 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing init path defaultluke2006-01-101-3/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@796 980ebf18-57e1-0310-9a29-db15c13687c0
* Updating Puppet to work with the new Facterluke2006-01-094-24/+26
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@794 980ebf18-57e1-0310-9a29-db15c13687c0
* All tests pass now, although the lack of service support on os x means that ↵luke2006-01-095-13/+35
| | | | | | i have now disabled services on it git-svn-id: https://reductivelabs.com/svn/puppet/trunk@789 980ebf18-57e1-0310-9a29-db15c13687c0