CDIST-TYPE__PACMAN_CONF(7)

πŸ’– cdist-type__pacman_conf β€” a manual page, but make it bestie πŸ’–

okay so this is cdist-type__pacman_conf(7) from the cdist manuals, and it's literally about managing your pacman config. yes bestie, that pacman. Arch girlies rise up πŸ¦‹


✨ NAME ✨

cdist-type__pacman_conf β€” manage pacman configuration πŸŽ€


🌸 DESCRIPTION 🌸

This type lets you configure the options section, add or delete repositories, and manage mirrorlists. That's it, that's the whole vibe. lowkey iconic, highkey useful πŸ’…


πŸ‘‘ REQUIRED PARAMETERS πŸ‘‘

These are not optional, bestie. You need them. No skipping. πŸ™ˆ

  • section β€” pass 'options' if you wanna configure the options section.

Otherwise, it specifies a repository or a plain file.

  • key β€” specifies the key which will be set.

If section = 'options' or the file isn't set, the key will be checked against the available keys from pacman.conf. (vibe check for keys, fr fr ⭐)

  • value β€” specifies the value which will be set against the key. this is the one that actually gets written, so get it right πŸ’–

πŸŽ€ OPTIONAL PARAMETERS πŸŽ€

Extra knobs, use them if you want, no pressure 🫢

  • state β€” 'present' or 'absent', defaults to 'present'.
  • file β€” specifies the filename.

The managed file will be named like 'plain_file_filename'.

If supplied, the key will not be checked. (yep, the training wheels come off πŸ”₯)


🌈 EXAMPLES 🌈

Steal these, they're free ✨

Manage options section in pacman.conf:

__pacman_conf options_Architecture --section options --key Architecture --value auto

Add new repository:

__pacman_conf localrepo_Server --section localrepo --key Server --value "file:///var/cache/pacman/pkg"

Add mirror to a mirrorlist:

__pacman_conf customlist_Server --file customlist --section customlist --key Server\
    --value "file:///var/cache/pacman/pkg"

πŸ” SEE ALSO πŸ”

  • grep(1) β€” go look, bestie, it's giving search-and-you-shall-find πŸ’œ

πŸ’… AUTHORS πŸ’…

Dominique Roux <dominique.roux4@gmail.com> β€” thank you for your service, king/queen/monarch πŸ‘‘


πŸ“œ COPYING πŸ“œ

Copyright (C) 2015 Dominique Roux. 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 before you go redistributing. it's the polite thing to do πŸ’–

ungleich GmbH 2021


and that's a wrap on cdist-type__pacman_conf(7), bestie β€” version 7.0.0, dated Jul 31, 2022, from the cdist crew at ungleich GmbH. stay configured, stay slaying βœ¨πŸ’…πŸŽ€

πŸ“¦ where this page comes from