chef / chef-telemetry

A Ruby gem to send telemetry data per Chef's RFC-051
Apache License 2.0
3 stars 5 forks source link

Interactively prompt for opt-in and persist decision #15

Open clintoncwolfe opened 5 years ago

clintoncwolfe commented 5 years ago

Motivation

As a user, I want to opt-in to telemetry in a seamless way across Chef CLI tools so that I have a consistent user experience

As a user, I want to be interactively prompted for telemetry opt-in so that I am explicitly aware it is a possibility

As a user, I want my opt-in decision to be persisted so that I am not distracted by repeated prompts

As a developer, I want to re-use common functionality so that I do not waste effort

Specification

This discusses inspec, but any Chef CLI tool would be the same. These points assume inspec is being run for the first time.

Practically speaking:

Downstream Impact

clintoncwolfe commented 4 years ago

License acceptance uses ENV values accept/accept-no-persist (lowercase, dashes). I propose this do the same.