Skip to content
This repository has been archived by the owner on Jul 24, 2020. It is now read-only.

Commit

Permalink
trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsdeleo committed Mar 19, 2011
1 parent c8d5283 commit 7fb9fea
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/chef/knife/rackspace_server_create.rb
Expand Up @@ -6,9 +6,9 @@
# 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.
Expand Down Expand Up @@ -94,7 +94,7 @@ class RackspaceServerCreate < Knife
:long => "--template-file TEMPLATE",
:description => "Full path to location of template to use",
:default => false,
:proc => Proc.new { |t| Chef::Config[:knife][:template_file] = t }
:proc => Proc.new { |t| Chef::Config[:knife][:template_file] = t }

def h
@highline ||= HighLine.new
Expand All @@ -119,7 +119,7 @@ def tcp_test_ssh(hostname)
tcp_socket && tcp_socket.close
end

def run
def run
require 'fog'
require 'highline'
require 'net/ssh/multi'
Expand All @@ -130,7 +130,7 @@ def run
connection = Fog::Compute.new(
:provider => 'Rackspace',
:rackspace_api_key => Chef::Config[:knife][:rackspace_api_key],
:rackspace_username => Chef::Config[:knife][:rackspace_api_username]
:rackspace_username => Chef::Config[:knife][:rackspace_api_username]
)

server = connection.servers.create(
Expand Down

0 comments on commit 7fb9fea

Please sign in to comment.