#NEWLINE# def packages( pkg_list , update = False ) : #NEWLINE# #INDENT# "\n    Require several SmartOS packages to be installed.\n\n    ::\n\n        from fabtools import require\n\n        require.pkg.packages([\n            'top',\n            'unzip',\n            'zip',\n        ])\n    " #NEWLINE# pkg_list = [ pkg for pkg in pkg_list if ( not is_installed ( pkg ) ) ] #NEWLINE# if pkg_list : #NEWLINE# #INDENT# install ( pkg_list , pkg )