Add profile.d/default to the default requirements
This commit is contained in:
parent
f89459294d
commit
b9e40b5bb1
2 changed files with 6 additions and 1 deletions
|
@ -31,3 +31,5 @@ Cram reads a config dir with three groups of packages
|
|||
- `hosts.d/<hostname>` contains one package for each host, and should pull in a list of profiles.
|
||||
|
||||
The intent of this tool is to keep GNU Stow's intuitive model of deploying configs via symlinks, and augment it with a useful pattern for talking about "layers" / "packages" of related configs.
|
||||
|
||||
Cram installs the package `hosts.d/$(hostname)`, and `profiles.d/default` by default.
|
||||
|
|
|
@ -96,7 +96,10 @@ def main():
|
|||
hostname = os.uname()[1]
|
||||
|
||||
# Compute the closure of packages to install
|
||||
requirements = [f"hosts.d/{hostname}"]
|
||||
requirements = [
|
||||
f"hosts.d/{hostname}",
|
||||
"profiles.d/default",
|
||||
]
|
||||
|
||||
for r in requirements:
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue