diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-09-03 21:06:41 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-09-03 21:06:41 +0000 |
| commit | 270f4448e26a45d213f8aa35c9ecf53843382358 (patch) | |
| tree | f2db6782fe77275f30d0f4f40a08266cd97ec187 /test/puppettest.rb | |
| parent | b9b338432ee0dbad7798685736fcc80ff0164924 (diff) | |
| download | puppet-270f4448e26a45d213f8aa35c9ecf53843382358.tar.gz puppet-270f4448e26a45d213f8aa35c9ecf53843382358.tar.xz puppet-270f4448e26a45d213f8aa35c9ecf53843382358.zip | |
Beginning the process of moving parsedtypes to a provider. Each parsed
type will have a parsedfile provider, which will be responsible for all
of the file parsing and generation. This should allow us to create a
useful DSL for file handling, but it also *drastically* simplifies these
types.
These types have always been a bit fragile, and it was never quite clear
who was responsible for what. Now, with the type/provider split,
everything is much clearer.
I still need to convert host, sshkey, and mount, and something needs to
be done with cron.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1547 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/puppettest.rb')
| -rw-r--r-- | test/puppettest.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/puppettest.rb b/test/puppettest.rb index f094045cd..21b539288 100644 --- a/test/puppettest.rb +++ b/test/puppettest.rb @@ -35,6 +35,10 @@ module TestPuppet def name self[:name] end + + def to_hash + self + end end class FakeProvider |
