diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-08-20 02:28:33 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-08-20 02:28:33 +0000 |
| commit | b2031aa32995331474244150bbc97f467e3ada7b (patch) | |
| tree | 1d7beabef0b5f34716a11f3c0c2916036fbbcd2a /test/server | |
| parent | beba3e480c7ad7f942414a8aa31f96b5b42b53e4 (diff) | |
| download | puppet-b2031aa32995331474244150bbc97f467e3ada7b.tar.gz puppet-b2031aa32995331474244150bbc97f467e3ada7b.tar.xz puppet-b2031aa32995331474244150bbc97f467e3ada7b.zip | |
Making some of the metaprogramming a bit more explicit and a bit easier to 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
Diffstat (limited to 'test/server')
| -rw-r--r-- | test/server/server.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/server/server.rb b/test/server/server.rb index e05a28bec..ea74a0a1c 100644 --- a/test/server/server.rb +++ b/test/server/server.rb @@ -5,11 +5,7 @@ if __FILE__ == $0 end require 'puppet' -require 'cgi' -#require 'puppet/server' -require 'facter' -require 'puppet/client' -require 'xmlrpc/client' +require 'puppet/server' require 'test/unit' require 'puppettest.rb' |
