Module: PalletOps

Defined in:
lib/pallet-ops.rb,
lib/pallet-ops/clojure.rb,
lib/pallet-ops/compute.rb

Defined Under Namespace

Modules: Clojure Classes: Compute

Class Method Summary collapse

Class Method Details

.compute_service(options) ⇒ Object



9
10
11
12
13
14
15
# File 'lib/pallet-ops.rb', line 9

def self.compute_service(options)
  # PalletOps::Compute.new(
  #   PalletOps::Clojure::COMPUTE_SERVICE.invoke(
  #     "",
  #     PalletOps::Clojure::IDENTITY, "",
  #     PalletOps::Clojure::CREDENTIAL, ""))
end

.main(args) ⇒ Object



17
18
19
20
21
22
23
# File 'lib/pallet-ops.rb', line 17

def self.main(args)
  config = PalletOps::Compute::load_config
  if config
    args.concat(["-defaults", PalletOps::Clojure::KW_MAP_STR.invoke(config)])
  end
  PalletOps::Clojure::APPLY.invoke(PalletOps::Clojure::MAIN, args)
end