-
-
Notifications
You must be signed in to change notification settings - Fork 450
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set version defaults with hiera data
Use hiera module level data to specify default versions and if a repository should be configured. This will make adding new OSes easier.
- Loading branch information
1 parent
6aa1f37
commit 02e0005
Showing
4 changed files
with
83 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
mongodb::globals::version: '4.4.8' # Debian 10 doesn't provide mongodb 3.6. | ||
mongodb::globals::manage_package_repo: true # Debian 10 doesn't provide mongodb packages. So manage it! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
version: 5 | ||
defaults: | ||
datadir: 'data' | ||
data_hash: 'yaml_data' | ||
hierarchy: | ||
- name: 'Major Version' | ||
path: '%{facts.os.name}-%{facts.os.release.major}.yaml' | ||
- name: 'OS Family Major Version' | ||
path: '%{facts.os.family}-family-%{facts.os.release.major}.yaml' | ||
- name: 'OS Family' | ||
path: '%{facts.os.family}-family.yaml' | ||
- name: 'common' | ||
path: 'common.yaml' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters