diff options
Diffstat (limited to 'manifests/storedconfigs.pp')
-rw-r--r-- | manifests/storedconfigs.pp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/manifests/storedconfigs.pp b/manifests/storedconfigs.pp new file mode 100644 index 0000000..899661c --- /dev/null +++ b/manifests/storedconfigs.pp @@ -0,0 +1,10 @@ +class backupninja::storedconfigs { + Backupninja::Storedconfigs::Realize <<| tag == $::fqdn |>> + + # this define realizes all needed resources for a hosted backup + define realize($host) { + User <<| tag == "backupninja-$host" |>> + File <<| tag == "backupninja-$host" |>> + Ssh_authorized_key <<| tag == "backupninja-$host" |>> + } +} |