#NEWLINE# def package( pkg_name , update = False , yes = None ) : #NEWLINE# #INDENT# "\n    Require a SmartOS package to be installed.\n\n    ::\n\n        from fabtools import require\n\n        require.pkg.package('foo')\n    " #NEWLINE# if ( not is_installed ( pkg_name ) ) : #NEWLINE# #INDENT# install ( pkg_name , update , pkg_name )