summaryrefslogtreecommitdiffstats
path: root/lib/puppet/rails
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/rails')
-rw-r--r--lib/puppet/rails/host.rb8
-rw-r--r--lib/puppet/rails/puppet_class.rb2
-rw-r--r--lib/puppet/rails/resource.rb8
3 files changed, 0 insertions, 18 deletions
diff --git a/lib/puppet/rails/host.rb b/lib/puppet/rails/host.rb
index fbf51c838..ff6fb8f83 100644
--- a/lib/puppet/rails/host.rb
+++ b/lib/puppet/rails/host.rb
@@ -17,8 +17,6 @@ class Puppet::Rails::Host < ActiveRecord::Base
:include => [ :param_names, :param_values ],
:dependent => :destroy
- acts_as_taggable
-
# If the host already exists, get rid of its objects
def self.clean(host)
if obj = self.find_by_name(host)
@@ -73,12 +71,6 @@ class Puppet::Rails::Host < ActiveRecord::Base
return host
end
- def tags=(tags)
- tags.each do |tag|
- self.tag_with tag
- end
- end
-
# Return the value of a fact.
def fact(name)
if fv = self.fact_values.find(:first, :conditions => "fact_names.name = '#{name}'")
diff --git a/lib/puppet/rails/puppet_class.rb b/lib/puppet/rails/puppet_class.rb
index 0ef7dfd38..1e8784ddb 100644
--- a/lib/puppet/rails/puppet_class.rb
+++ b/lib/puppet/rails/puppet_class.rb
@@ -2,8 +2,6 @@ class Puppet::Rails::PuppetClass < ActiveRecord::Base
has_many :resources
has_many :source_files
has_many :hosts
-
- acts_as_taggable
end
# $Id$
diff --git a/lib/puppet/rails/resource.rb b/lib/puppet/rails/resource.rb
index 4f26af6d9..49bd1dacc 100644
--- a/lib/puppet/rails/resource.rb
+++ b/lib/puppet/rails/resource.rb
@@ -1,5 +1,4 @@
require 'puppet'
-require 'puppet/rails/external/tagging/init'
require 'puppet/rails/param_name'
require 'puppet/util/rails/collection_merger'
@@ -11,13 +10,6 @@ class Puppet::Rails::Resource < ActiveRecord::Base
belongs_to :source_file
belongs_to :host
- acts_as_taggable
-
- def tags=(tags)
- #puts "setting tags %s" % tags.inspect
- self.tag_with(tags.join(","))
- end
-
def file
if f = self.source_file
return f.filename