lib/setup.rb in forj-0.0.19 vs lib/setup.rb in forj-0.0.20
- old
+ new
@@ -1,6 +1,7 @@
#!/usr/bin/env ruby
+# encoding: UTF-8
# (c) Copyright 2014 Hewlett-Packard Development Company, L.P.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -12,11 +13,15 @@
# 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.
+#
+# Setup module call the hpcloud functions
+#
module Setup
def setup
+ # delegate the initial configuration to hpcloud (unix_cli)
Kernel.system('hpcloud account:setup')
Kernel.system('hpcloud keypairs:add nova')
end
end