CDIST-TYPE__RBENV(7)

πŸ’– cdist-type__rbenv πŸ’–

okay bestie, so this is a cdist type β€” and it's literally the rbenv manager, from the cdist-type__rbenv manual page (section 7, iykyk). let's get into it πŸŽ€


✨ NAME ✨

cdist-type__rbenv β€” manage rbenv installation 🧚


🌸 DESCRIPTION 🌸

This cdist type lets you manage rbenv installations. and bestie, that's not all β€” it also installs ruby-build for you. two for one, we love a multitasker πŸ’…βœ¨


πŸŽ€ OPTIONAL PARAMETERS πŸŽ€

no required params here, we're chill like that. but you got two optional ones:

  • state β€” either "present" or "absent". defaults to "present" 🫢 so if you don't say anything, it's getting installed, periodt.
  • owner β€” which user should own the rbenv installation. defaults to root πŸ‘‘

πŸ’« EXAMPLES πŸ’«

k so here's the vibe, three little scenarios for you:

# Install rbenv including ruby-build for nico
__rbenv /home/nico

# Install rbenv including ruby-build for nico
__rbenv /home/nico --owner nico

# Bastian does not need rbenv anymore, he began to code C99
__rbenv /home/bastian --state absent

the first one? rbenv + ruby-build into /home/nico, default owner. the second? same deal but you're handing ownership to nico with --owner nico. and the third… 😭 Bastian said no more rbenv, he's coding C99 now, so --state absent takes it away. iconic honestly.


🌈 AUTHORS 🌈

Nico Schottelius <nico-cdist--@--schottelius.org> β€” the main character who wrote this πŸ’œ


πŸ“œ COPYING πŸ“œ

Copyright (C) 2012-2014 Nico Schottelius. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. fr fr, read the license, it's giving legal πŸ’€


ungleich GmbH 2021 🫢


k that's the whole page bestie, no skips, no cuts πŸ’–

and a lil sign-off: this was version 7.0.0, dated Jul 31, 2022, from the cdist squad 🌟 slay, go install some rubies βœ¨πŸ’…

πŸ“¦ where this page comes from