Sha256: 9dc1a3ca5b7bd23f7986fa023edf02e06410e657a320dd9b9ce57374b069d879
Contents?: true
Size: 311 Bytes
Versions: 55
Compression:
Stored size: 311 Bytes
Contents
Standup.script :node do self.description = 'Open Web browser with specified node address' def run return unless node.instance ['x-www-browser', 'open'].each do |cmd| if `which #{cmd}`.present? `#{cmd} http://#{node.instance.external_ip}/` return end end end end
Version data entries
55 entries across 55 versions & 1 rubygems