Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…ter-9110065d92

migration pull requests [6/29]
  • Loading branch information...
commit ea34370d0b7a701dcbd8bcc1a07c87e9887d577b 2 parents e303fa9 + 9110065
@galthaus authored
View
24 crowbar_framework/db/migrate/20120801015033_barclamp_import_ipmi.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 BarclampImportIpmi < ActiveRecord::Migration
+ def up
+ Barclamp.import_1x 'ipmi'
+ end
+
+ def down
+ Barclamp.delete(Barclamp.find_by_name 'ipmi')
+ end
+
+end
Please sign in to comment.
Something went wrong with that request. Please try again.