blob: 295662146d6b5072c0d6176b36a6b4685bbb05fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
class Puppet::Rails::RailsParameter < ActiveRecord::Base
belongs_to :rails_resources
def to_resourceparam(source)
hash = self.attributes
hash[:source] = source
hash.delete("rails_resource_id")
hash.delete("id")
Puppet::Parser::Resource::Param.new hash
end
end
# $Id$
|