From 08241692eec107ab17d5849740258e9840949521 Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Sat, 27 Jul 2024 00:52:51 +1000 Subject: [PATCH] feat: add rundeck - add puppet-rundeck module - add rundeck role --- Puppetfile | 1 + hieradata/roles/infra/automation/rundeck.yaml | 1 + site/roles/manifests/infra/automation/rundeck.pp | 10 ++++++++++ 3 files changed, 12 insertions(+) create mode 100644 hieradata/roles/infra/automation/rundeck.yaml create mode 100644 site/roles/manifests/infra/automation/rundeck.pp diff --git a/Puppetfile b/Puppetfile index 6e43b91..76b2d86 100644 --- a/Puppetfile +++ b/Puppetfile @@ -39,6 +39,7 @@ mod 'puppet-network', '2.2.0' mod 'puppet-kmod', '4.0.1' mod 'puppet-filemapper', '4.0.0' mod 'puppet-letsencrypt', '11.0.0' +mod 'puppet-rundeck', '9.1.0' # other mod 'ghoneycutt-puppet', '3.3.0' diff --git a/hieradata/roles/infra/automation/rundeck.yaml b/hieradata/roles/infra/automation/rundeck.yaml new file mode 100644 index 0000000..ed97d53 --- /dev/null +++ b/hieradata/roles/infra/automation/rundeck.yaml @@ -0,0 +1 @@ +--- diff --git a/site/roles/manifests/infra/automation/rundeck.pp b/site/roles/manifests/infra/automation/rundeck.pp new file mode 100644 index 0000000..e8b8223 --- /dev/null +++ b/site/roles/manifests/infra/automation/rundeck.pp @@ -0,0 +1,10 @@ +# a role to deploy rundeck +class roles::infra::automation::rundeck { + if $facts['firstrun'] { + include profiles::defaults + include profiles::firstrun::init + }else{ + include profiles::defaults + include profiles::base + } +}