Example #1
0
 def get_software(self, host, install_inactive_cli, install_active_cli, install_committed_cli):
     package_parser_class = get_package_parser_class(host.platform)
     package_parser = package_parser_class()
     
     return package_parser.get_packages_from_cli(host,
         install_inactive_cli=install_inactive_cli, 
         install_active_cli=install_active_cli, 
         install_committed_cli=install_committed_cli)       
Example #2
0
    def get_software(self, ctx):
        package_parser_class = get_package_parser_class(ctx.host.software_platform)
        package_parser = package_parser_class()

        return package_parser.get_packages_from_cli(
            ctx.host,
            install_inactive_cli=ctx.inactive_cli,
            install_active_cli=ctx.active_cli,
            install_committed_cli=ctx.committed_cli
        )
Example #3
0
    def get_software(self, ctx):
        package_parser_class = get_package_parser_class(
            ctx.host.software_platform)
        package_parser = package_parser_class()

        return package_parser.get_packages_from_cli(
            ctx.host,
            install_inactive_cli=ctx.inactive_cli,
            install_active_cli=ctx.active_cli,
            install_committed_cli=ctx.committed_cli)