#NEWLINE# def update_package_site( new_url ) : #NEWLINE# #INDENT# "\n    Updates remote package repo URL, PACKAGESITE var to be exact.\n\n    Must use ``http://``, ``ftp://``, or ``https://`` protocol\n\n    CLI Example:\n\n    .. code-block:: bash\n\n        salt '*' pkg.update_package_site http://127.0.0.1/\n    " #NEWLINE# config_file = parse_config ( ) [ 'config_file' ] #NEWLINE# __salt__ [ 'file.sed' ] ( config_file , 'PACKAGESITE.*' , 'PACKAGESITE\t : {0}' . format ( new_url ) ) #NEWLINE# return True