Manage ruby gems.
salt.modules.gem.
install
(gems, ruby=None, gem_bin=None, runas=None, version=None, rdoc=False, ri=False, pre_releases=False, proxy=None)¶Installs one or several gems.
Parameters: |
|
---|
CLI Example:
salt '*' gem.install vagrant
salt '*' gem.install redphone gem_bin=/opt/sensu/embedded/bin/gem
salt.modules.gem.
list_
(prefix='', ruby=None, runas=None, gem_bin=None)¶List locally installed gems.
Parameters: |
|
---|
CLI Example:
salt '*' gem.list
salt.modules.gem.
sources_add
(source_uri, ruby=None, runas=None, gem_bin=None)¶Add a gem source.
Parameters: |
|
---|
CLI Example:
salt '*' gem.sources_add http://rubygems.org/
salt.modules.gem.
sources_list
(ruby=None, runas=None, gem_bin=None)¶List the configured gem sources.
Parameters: |
|
---|
CLI Example:
salt '*' gem.sources_list
salt.modules.gem.
sources_remove
(source_uri, ruby=None, runas=None, gem_bin=None)¶Remove a gem source.
Parameters: |
|
---|
CLI Example:
salt '*' gem.sources_remove http://rubygems.org/
salt.modules.gem.
uninstall
(gems, ruby=None, runas=None, gem_bin=None)¶Uninstall one or several gems.
Parameters: |
|
---|
CLI Example:
salt '*' gem.uninstall vagrant
salt.modules.gem.
update
(gems, ruby=None, runas=None, gem_bin=None)¶Update one or several gems.
Parameters: |
|
---|
CLI Example:
salt '*' gem.update vagrant
salt.modules.gem.
update_system
(version='', ruby=None, runas=None, gem_bin=None)¶Update rubygems.
Parameters: |
|
---|
CLI Example:
salt '*' gem.update_system