when :direct
          new_resource.installed(true)
          new_resource.version || new_resource.version(
            ReattachToUserNamespace::Helpers::App.latest_version?
          )