lib/heirloom/catalog.rb in heirloom-0.7.0rc1 vs lib/heirloom/catalog.rb in heirloom-0.7.0
- old
+ new
@@ -15,10 +15,18 @@
def create_catalog_domain
setup.create_catalog_domain
end
+ def catalog_domain_exists?
+ verify.catalog_domain_exists?
+ end
+
+ def entry_exists_in_catalog?(entry)
+ verify.entry_exists_in_catalog? entry
+ end
+
def delete_from_catalog
delete.delete_from_catalog
end
def add_to_catalog(args)
@@ -59,7 +67,12 @@
def show
@show ||= Catalog::Show.new :config => @config,
:name => @name
end
+
+ def verify
+ @verify ||= Catalog::Verify.new :config => @config
+ end
+
end
end