Sha256: 9763b65f429731901460652adb1c3b6b52a407731a7711acbb1d79b28a20cdb7
Contents?: true
Size: 471 Bytes
Versions: 9
Compression:
Stored size: 471 Bytes
Contents
module DPL class Provider class Appfog < Provider requires 'json_pure', :load => 'json/pure' requires 'af', :load => 'vmc' def check_auth context.shell "af login --email=#{option(:email)} --password=#{option(:password)}" end def needs_key? false end def push_app context.shell "af update #{options[:app] || File.basename(Dir.getwd)}" context.shell "af logout" end end end end
Version data entries
9 entries across 9 versions & 1 rubygems