'Instructions for configuring Spinnaker for the first time.
Google Cloud Platform is treated as a special case because some
configuration parameters have defaults implied by the runtime environment.'

@property
def _first_time_use_instructions(self):

    optional_defaults_if_on_google = ''
    if is_google_instance():
        google_project = get_google_project()
        optional_defaults_if_on_google = '                #            NOTE:    Since    you    deployed    on    GCE:\n                #                        *    You    do    not    need    JSON    credentials    to    manage    project    id    "{google_project}".\n'.format(google_project=google_project)
    return '\n                {sudo}mkdir    -p    {config_dir}\n                {sudo}cp    {install_dir}/default-spinnaker-local.yml    \\\n                            {config_dir}/spinnaker-local.yml\n                {sudo}chmod    600    {config_dir}/spinnaker-local.yml\n\n                #    edit    {config_dir}/spinnaker-local.yml    to    your    liking:\n                #            If    you    want    to    deploy    to    Amazon    Web    Services:\n                #                        *    Set    providers.aws.enabled    =    true.\n                #                        *    Add    your    keys    to    providers.aws.primaryCredentials\n                #                                or    write    them    to    $HOME/.aws/credentials\n                #\n                #            If    you    want    to    deploy    to    Google    Cloud    Platform:\n                #                        *    Set    providers.google.enabled    =    true.\n                #                        *    Add    your    project_id    to    providers.google.primaryCredentials.project\n                #                        *    Add    your    the    path    to    your    json    service    account    credentials    to\n                #                                providers.google.primaryCredentials.jsonPath.\n{optional_defaults_if_on_google}\n                {sudo}{script_dir}/stop_spinnaker.sh\n                {sudo}{script_dir}/reconfigure_spinnaker.sh\n                {sudo}{script_dir}/start_spinnaker.sh\n'.format(sudo=('' if os.geteuid() else 'sudo    '), install_dir=self.__configurator.installation_config_dir, config_dir=self.__configurator.user_config_dir, script_dir=self.__installation.UTILITY_SCRIPT_DIR, optional_defaults_if_on_google=optional_defaults_if_on_google)
