danielparks / puppet-rustup

Puppet module to manage Rust with rustup
https://forge.puppet.com/modules/dp/rustup/readme
Other
0 stars 0 forks source link

Easy way to update all toolchains #16

Open danielparks opened 2 years ago

danielparks commented 2 years ago

There needs to be an easy way to upgrade all toolchains and rustup itself as well.

rustup { 'user':
  ensure     => latest,
  update     => all,
  toolchains => ['stable', 'nightly'],
}

What are other potential values for update? Should it be a value for ensure instead, e.g. latest_all?

Additionally, we may not want to run rustup update every puppet run. A cron job may be preferable.