feat: generate consul policy/tokens

- generate policy/token to add nodes
- generate policy/token for all nodes
- add base::root profile to manage aspects of the root user
This commit is contained in:
2024-04-27 01:16:05 +10:00
parent c0642bbcf1
commit f536d19034
9 changed files with 112 additions and 3 deletions
+13
View File
@@ -0,0 +1,13 @@
# manage the root user
class profiles::base::root {
# TODO
# for now, add some root directories
file {'/root/.config':
ensure => directory,
owner => 'root',
group => 'root',
mode => '0600',
}
}