Sha256: bd57c3c3d005c43933d29cb119f1cf68022f58594c36769b6619bbe819e9dfae
Contents?: true
Size: 305 Bytes
Versions: 1
Compression:
Stored size: 305 Bytes
Contents
module Ogre # List organizations through Chef::REST object class OrgList < Ogre::Base include Thor::Actions # Organizations list def org_list # pull down all orgs results = chef_rest.get_rest('/organizations') puts results.keys.sort { |a, b| a <=> b } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ogre-0.1.5 | lib/ogre/org-list.rb |