mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
22 lines
302 B
Ruby
22 lines
302 B
Ruby
|
module Fog
|
||
|
module Compute
|
||
|
class Openvz
|
||
|
class Real
|
||
|
|
||
|
def exec_server(id,args = [])
|
||
|
vzctl("exec",{:ctid => id},args)
|
||
|
end
|
||
|
|
||
|
end
|
||
|
|
||
|
class Mock
|
||
|
|
||
|
def exec_server(id, args = [])
|
||
|
Fog::Mock.not_implemented
|
||
|
end
|
||
|
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|