CDIST-TYPE__APT_SOURCE(7)
π cdist-type__apt_source β bestie edition π
okay so you're reading the cdist-type__apt_source page from the cdist manual (that's the manual name, she's famous, iykyk) and honestly? you're about to have the easiest time of your life managing apt sources. let's get into it β¨
πΈ NAME πΈ
cdist-type__apt_source β manage apt sources, but make it iconic π
π¦ DESCRIPTION π¦
This cdist type lets you manage apt sources. and the best part?? it invokes index update internally when needed, so you do NOT have to go call the index updating type yourself. no extra steps, no chaos, no "wait did i forget something" panic at 3am π it's giving considerate. it's giving self-sufficient. periodt.
π REQUIRED PARAMETERS π
these are non-negotiable bestie, you must give her these:
uriβ the uri to the apt repository π«Ά
π OPTIONAL PARAMETERS π
the little extras, the accessories to the outfit:
archβ set this if you need to force a specific arch (this one is ubuntu specific, just so you know π)signed-byβ hand over a GPG key fingerprint or a keyring path so signature checks can happen πstateβ either'present'or'absent', and if you don't say anything she defaults to'present'β¨distributionβ the distribution codename to use. defaults toDISTRIB_CODENAMEfrom the target's/etc/lsb-releaseπcomponentβ space delimited list of components to enable. defaults to an empty string π (yes, empty, that's the vibe)include-srcβ (this one's a boolean, booleans get their own section below but hi) includedeb-srcentries π
π BOOLEAN PARAMETERS π
include-srcβ includedeb-srcentries. that's it, that's the whole job, and she does it flawlessly π§
π₯ EXAMPLES π₯
here's the group chat receipts, copy these exact vibes:
__apt_source rabbitmq \
--uri http://www.rabbitmq.com/debian/ \
--distribution testing \
--component main \
--include-src \
--state present
__apt_source canonical_partner \
--uri http://archive.canonical.com/ \
--component partner --state present
__apt_source goaccess \
--uri http://deb.goaccess.io/ \
--component main \
--signed-by C03B48887D5E56B046715D3297BD1A0133449C3D
look at her go π main character energy fr fr
π«Ά AUTHORS π«Ά
Steven Armstrong <steven-cdist--@--armstrong.cc> β the legend herself π
π COPYING π
Copyright (C) 2011-2018 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. β
(translation: go forth, remix, share, just keep the license, bestie)
π COPYRIGHT π
ungleich GmbH 2021 π
okay that's the whole page, nothing skipped, every single flag accounted for. slay π
and that's a wrap!! this was version 7.0.0 of the page, dated Jul 31, 2022 β sending you love and clean apt sources, mwah πππ¦
π¦ where this page comes from
- fedora 43: cdist 7.0.0-16.fc43 Β· GPL-3.0-only
- fedora 44: cdist 7.0.0-18.fc44 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms