CDIST-TYPE__APT_KEY_URI(7)

πŸ’– cdist-type__apt_key_uri πŸ’–

okay bestie, so this is a page from the cdist manual β€” it's CDIST-TYPE__APT_KEY_URI(7) β€” and it's literally just about grabbing an apt signing key off the internet and yeeting it into your apt keyring. no cap, that's the whole vibe. ✨


🌸 NAME 🌸

cdist-type__apt_key_uri β€” Add apt key from uri πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

so what this type does is: it downloads a key from a uri and then adds it to the apt keyring. that's it. that's the whole main character moment. πŸ’…


πŸ”₯ REQUIRED PARAMETERS πŸ”₯

these are not optional, bestie, you gotta bring them or nothing happens:

  • uri β€” the uri you're pulling the key down from. like, where the key lives. required. periodt. πŸ’–

✨ OPTIONAL PARAMETERS ✨

these ones you can skip, but here's what they do:

  • state β€” it's either 'present' or 'absent', and if you don't say anything it defaults to 'present'. so like, present = the key is here, absent = the key is gone. simple. 🌈
  • name β€” a name for this key, used when testing if it is already installed. defaults to __object_id if you don't give it one. it's giving "how do we know if we've already done this" energy. 🧚

πŸ“ EXAMPLES πŸ“

here's the actual example, verbatim, do not come for me:

   __apt_key_uri rabbitmq \
      --name 'RabbitMQ Release Signing Key <info@rabbitmq.com>' \
      --uri http://www.rabbitmq.com/rabbitmq-signing-key-public.asc \
      --state present

look at that. gorgeous. the line continuations? ate. πŸ‘‘


πŸ’œ AUTHORS πŸ’œ

  • Steven Armstrong <steven-cdist--@--armstrong.cc> 🌟

🫢 COPYING 🫢

Copyright (C) 2011-2014 Steven Armstrong. 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.

like, that's the actual license text bestie, i'm not paraphrasing legal stuff, that's how it goes. ✨

ungleich GmbH 2021 πŸ’–


so yeah, that's the whole page πŸŽ€. this was version 7.0.0, dated Jul 31, 2022, and it came to you straight from the cdist manual. mwah. πŸ’‹ slay, stay keyed, bye bestie πŸ’…βœ¨

πŸ“¦ where this page comes from