feat: firstrun improvements

- add fact to detect firstrun
- run a limited subset of classes on firstrun
- firstrun: includes:
  - vault ca certificates
  - yum/apt repositories
  - fast-install packages with an exec
This commit is contained in:
2024-05-19 21:24:07 +10:00
parent 0e7168026d
commit dde8d5978d
5 changed files with 122 additions and 52 deletions
@@ -0,0 +1,11 @@
# profiles::firstrun::complete
class profiles::firstrun::complete {
file {'/root/.cache/puppet_firstrun_complete':
ensure => 'file',
owner => 'root',
group => 'root',
mode => '0750',
content => 'firstrun completed',
}
}