Also allow the apt module to use package or name as an alias for 'pkg'
This commit is contained in:
parent
b418632a8d
commit
8152e44efd
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
||||
|
|
Loading…
Reference in a new issue