summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/classgen.rb
Commit message (Collapse)AuthorAgeFilesLines
* Removed extra whitespace from end of linesIan Taylor2009-06-061-1/+1
|
* Removing the Id tags from all of the filesLuke Kanies2007-10-031-1/+0
|
* An intermediate commit. All of the classes that use parsedfile are ↵luke2006-11-111-5/+12
| | | | | | | | assuredly broken, since I have basically completely rewritten it. These classes have been a thorn in my side almost since I created them, yet they have been significantly less functional that I wanted. So, I decided to do the rewrite I have been putting off, just to spend all of the maintenance time now so I do not spend 3 days on them every release. Tomorrow I will be porting all of the existing types (including cron, hopefully) over to this new base. This will also make it possible to add other types of providers to these classes; we should be able to reuse the netinfo provider for os x types, and we should be able to create a cron provider that writes to /etc/crontab instead of user crontabs. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1856 980ebf18-57e1-0310-9a29-db15c13687c0
* Refactoring reporting. Reports are now modules instead of simple methods.luke2006-10-071-0/+9
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1746 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a "genmodule" equivalent to classgen, which we will use for reportingluke2006-10-071-53/+110
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1745 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding pre- and post-hooks, as requested in #233.luke2006-09-031-0/+8
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1541 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a module specifically for making doc generation easier, and adding ↵luke2006-08-281-1/+0
| | | | | | defaults info to provider docs. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1504 980ebf18-57e1-0310-9a29-db15c13687c0
* Making some of the metaprogramming a bit more explicit and a bit easier to ↵luke2006-08-201-0/+128
manage. In the process, I have created multiple Util modules, only one of which is used for this current commit. The main work in this commit is that I created a single, common method for dynamically creating classes and moved all of the Class.new users to using this class. It handles a lot of the complexity for me, and most of the users have just a couple of lines of code, now, instead of tens. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1473 980ebf18-57e1-0310-9a29-db15c13687c0