Sha256: d5fce841eb78237084761ab49ba097e3a5f0b89eeb48dc07df87d54d3346e760

Contents?: true

Size: 910 Bytes

Versions: 11

Compression:

Stored size: 910 Bytes

Contents

#!/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.
#    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.

#
# 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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
forj-0.0.30 lib/setup.rb
forj-0.0.29 lib/setup.rb
forj-0.0.28 lib/setup.rb
forj-0.0.27 lib/setup.rb
forj-0.0.26 lib/setup.rb
forj-0.0.25 lib/setup.rb
forj-0.0.24 lib/setup.rb
forj-0.0.23 lib/setup.rb
forj-0.0.22 lib/setup.rb
forj-0.0.21 lib/setup.rb
forj-0.0.20 lib/setup.rb