diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-12-12 20:11:35 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-12-12 20:11:35 +0000 |
commit | 4abbdc13f4a1762eb5d848763dde1780f6408de8 (patch) | |
tree | 32c95243992a42465a02ae3194dd98cfd4baea89 /lib/puppet/rails/rails_resource.rb | |
parent | 8fee5383eb214b7e4aa38b0438f23d2a326fb103 (diff) | |
download | puppet-4abbdc13f4a1762eb5d848763dde1780f6408de8.tar.gz puppet-4abbdc13f4a1762eb5d848763dde1780f6408de8.tar.xz puppet-4abbdc13f4a1762eb5d848763dde1780f6408de8.zip |
Working some on the export/collect problem. It actually works now, but there are not yet sufficient tests for it, so I will leave the bug open until we have got the new work in place. I also added a "rails" feature, so I do not have to keep testing whether ActiveRecord is defined.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1911 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/rails/rails_resource.rb')
-rw-r--r-- | lib/puppet/rails/rails_resource.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/puppet/rails/rails_resource.rb b/lib/puppet/rails/rails_resource.rb index caad1b460..0b981f963 100644 --- a/lib/puppet/rails/rails_resource.rb +++ b/lib/puppet/rails/rails_resource.rb @@ -22,6 +22,7 @@ class Puppet::Rails::RailsResource < ActiveRecord::Base end hash[:scope] = scope hash[:source] = scope.source + hash[:rails_id] = self.id obj = Puppet::Parser::Resource.new(hash) rails_parameters.each do |param| obj.set(param.to_resourceparam(scope.source)) |