Add profile.d/default to the default requirements
This commit is contained in:
parent
97c0a10e79
commit
7a583ab42a
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.
|
- `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.
|
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]
|
hostname = os.uname()[1]
|
||||||
|
|
||||||
# Compute the closure of packages to install
|
# Compute the closure of packages to install
|
||||||
requirements = [f"hosts.d/{hostname}"]
|
requirements = [
|
||||||
|
f"hosts.d/{hostname}",
|
||||||
|
"profiles.d/default",
|
||||||
|
]
|
||||||
|
|
||||||
for r in requirements:
|
for r in requirements:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue