Sha256: 64fa1ba29037b5d68ca777179c7d8558888f091c4e517d3307680ca32c02130f
Contents?: true
Size: 831 Bytes
Versions: 2
Compression:
Stored size: 831 Bytes
Contents
# egi ## About egi environment, group, and item ## USAGE % cat egi.conf env(:development) { group(:mysqld) { item :vhost0421, { :tags => [ :master ] } item :vhost0422 } # you can define item without group item :vhost0423, { :tags => [ :rails ] } } % EGI_ENV=egi irb > require 'egi' > # find by group or tag > Egi.env.mysqld #=> [ { :name => :vhost0421, :tags => [ :mysqld, :master ] }, { :name => :vhost0422, :tags => [ :mysqld ] } ] > Egi.env.master #=> [ { :name => :vhost0421, :tags => [ :mysqld, :master ] } ] > # fetch by name > Egi.env.vhost0423 #=> { :name => :vhost0423, :tags => [ :rails ]}, ## Syntax ### env T.B.D ### group not yet implemented ### item T.B.D ## Aliases T.B.D
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
egi-0.0.2 | README.md |
egi-0.0.1 | README.md |