diff options
| author | Luke Kanies <luke@madstop.com> | 2007-10-06 17:18:30 -0500 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2007-10-06 17:18:30 -0500 |
| commit | fc9c850414baff17dc97b0184f34e58b4bec5785 (patch) | |
| tree | 5a39e0be8cbbdbef3aaf1b06d7d71d835a4e4d21 /lib/puppet/indirector.rb | |
| parent | cdaad286b1fe5fc3c1ab363c890bb6a8a752c9b5 (diff) | |
| download | puppet-fc9c850414baff17dc97b0184f34e58b4bec5785.tar.gz puppet-fc9c850414baff17dc97b0184f34e58b4bec5785.tar.xz puppet-fc9c850414baff17dc97b0184f34e58b4bec5785.zip | |
Adding support for versions and freshness-checking
to the indirection layers. This should hopefully
enable the different application models we need in
our different executables.
Diffstat (limited to 'lib/puppet/indirector.rb')
| -rw-r--r-- | lib/puppet/indirector.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/puppet/indirector.rb b/lib/puppet/indirector.rb index 7ceaa43e2..a2eb41763 100644 --- a/lib/puppet/indirector.rb +++ b/lib/puppet/indirector.rb @@ -62,6 +62,10 @@ module Puppet::Indirector end module InstanceMethods + # Make it easy for the model to set versions, + # which are used for caching and such. + attr_accessor :version + # these become instance methods def save(*args) self.class.indirection.save(self, *args) |
