lib/boot.rb in forj-0.0.11 vs lib/boot.rb in forj-0.0.12

- old
+ new

@@ -12,10 +12,12 @@ # 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. +require 'require_relative' + require_relative 'compute.rb' include Compute require_relative 'network.rb' include Network require_relative 'yaml_parse.rb' @@ -52,13 +54,9 @@ security_group = SecurityGroup.create_security_group(blueprint) for port in definitions[blueprint]['ports'] do Network.create_security_group_rule(security_group.id, 'tcp', port, port) end - - # get image and flavor - image = Compute.get_image(definitions[blueprint]['image']) - flavor = Compute.get_flavor(definitions[blueprint]['flavor']) # run build.sh to boot maestro current_dir = Dir.pwd home = File.expand_path('~') build_path = home + '/.hpcloud/maestro/build' \ No newline at end of file