Module package :: Class PackageGroup
[hide private]
[frames] | no frames]

Class PackageGroup

source code

PackageGroup management.

Instance Methods [hide private]
 
__init__(self, apply=True, importkeys=False) source code
dict
install(self, names)
Install package groups by name.
source code
dict
uninstall(self, names)
Uninstall package groups by name.
source code
Method Details [hide private]

__init__(self, apply=True, importkeys=False)
(Constructor)

source code 
Parameters:
  • apply (bool) - Apply changes (not dry-run).
  • importkeys (bool) - Allow the import of GPG keys.

install(self, names)

source code 

Install package groups by name.

Parameters:
  • names (list) - A list of package group names.
Returns: dict
Packages installed. {resolved=[Package,],deps=[Package,]}
Decorators:
  • @remote
  • @pam(user= 'root')

uninstall(self, names)

source code 

Uninstall package groups by name.

Parameters:
  • names ([str,]) - A list of package group names.
Returns: dict
Packages uninstalled. {resolved=[Package,],deps=[Package,]}
Decorators:
  • @remote
  • @pam(user= 'root')