Sha256: 17d0e57e7a8b0c65d505d46b7942dd3ba7575056e941655416b4a94190cfe4ca

Contents?: true

Size: 351 Bytes

Versions: 3

Compression:

Stored size: 351 Bytes

Contents

#!/usr/bin/env stingray-exec
# vim:filetype=ruby

ssl_verify_mode :none

# Adds a pool named by the first positional argument with nodes given from all
# remaining arguments.  Note that we don't start at `ARGV.first` because this
# script is evaluated from within an existing ruby process.
pool.add_pool(ARGV[1] => ARGV[2..ARGV.length])
puts "Added!"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stingray-exec-0.2.0 examples/add-pool
stingray-exec-0.1.1 examples/add-pool
stingray-exec-0.1.0 examples/add-pool