feat: change packages to Hash

- change from multiple arrays for managing packages to a hash
- change to ensure_packages to prevent duplicate resource conflicts
This commit is contained in:
2024-07-27 04:09:59 +10:00
parent 01fc6aacd7
commit cc01259a64
10 changed files with 115 additions and 106 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
---
profiles::packages::install:
- policycoreutils
profiles::packages::include:
policycoreutils: {}
puppetdb::master::config::create_puppet_service_resource: false
#puppetdb::master::config::puppetdb_host: "%{lookup('profiles::puppet::puppetdb::puppetdb_host')}"
+11 -11
View File
@@ -1,15 +1,15 @@
---
profiles::packages::install:
- cobbler
- cobbler3.2-web
- httpd
- syslinux
- dnf-plugins-core
- debmirror
- pykickstart
- fence-agents
- selinux-policy-devel
- ipxe-bootimgs
profiles::packages::include:
cobbler: {}
cobbler3.2-web: {}
httpd: {}
syslinux: {}
dnf-plugins-core: {}
debmirror: {}
pykickstart: {}
fence-agents: {}
selinux-policy-devel: {}
ipxe-bootimgs: {}
profiles::pki::vault::alt_names:
- cobbler.main.unkin.net
+2 -2
View File
@@ -1,3 +1,3 @@
---
profiles::packages::install:
- puppetserver
profiles::packages::include:
puppetserver: {}
+2 -2
View File
@@ -1,6 +1,6 @@
---
profiles::packages::install:
- createrepo
profiles::packages::include:
createrepo: {}
profiles::pki::vault::alt_names:
- repos.main.unkin.net