Commit 8152e44e by Michael DeHaan

Also allow the apt module to use package or name as an alias for 'pkg'

parent b418632a
......@@ -113,7 +113,7 @@ for x in items:
params[k] = v
state = params.get('state','installed')
package = params.get('pkg', None)
package = params.get('pkg', params.get('package', params.get('name', None)))
update_cache = params.get('update-cache', 'no')
purge = params.get('purge', 'no')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment