Permalink
Browse files

Merge pull request #32 from galthaus/pull-req-release-rails3anddb-mas…

…ter-71fc18e34f

migration pull requests [4/29]
  • Loading branch information...
galthaus committed Aug 1, 2012
2 parents dfc6957 + 71fc18e commit 1fe6662ead59476be92fbeeb6e194e0d0af1664b
Showing with 24 additions and 0 deletions.
  1. +24 −0 crowbar_framework/db/migrate/20120801015035_barclamp_import_keystone.rb
@@ -0,0 +1,24 @@
+# Copyright 2012, Dell
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+class BarclampImportKeystone < ActiveRecord::Migration
+ def up
+ Barclamp.import_1x 'keystone'
+ end
+
+ def down
+ Barclamp.delete(Barclamp.find_by_name 'keystone')
+ end
+
+end

0 comments on commit 1fe6662

Please sign in to comment.