From b94841ab6415b2bc668e7cbc70c08e68736d5ff2 Mon Sep 17 00:00:00 2001 From: Robert Keizer Date: Sun, 26 May 2013 22:37:03 -0500 Subject: [PATCH] Gem function alias --- salt/modules/gem.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/salt/modules/gem.py b/salt/modules/gem.py index 9328989cbf..eb15a71ae6 100644 --- a/salt/modules/gem.py +++ b/salt/modules/gem.py @@ -5,6 +5,9 @@ Manage ruby gems. # Import python libs import re +__func_alias__ = { + 'list_': 'list' +} def _gem(command, ruby=None, runas=None): cmdline = 'gem {command}'.format(command=command) @@ -117,7 +120,7 @@ def update_system(version='', ruby=None, runas=None): format(version=version), ruby, runas=runas) -def list(prefix='', ruby=None, runas=None): +def list_(prefix='', ruby=None, runas=None): ''' List locally installed gems.