Displaying 1 result from an estimated 1 matches for "backuppc_db_dumps".
2012 Jul 20
2
Lookup another node's hiera data - fqdn hierarchy
......
$ cat /etc/puppet/hiera.yaml
---
:hierarchy:
- %{fqdn}
- common
:backends:
- yaml
- puppet
:yaml:
:datadir: ''/etc/puppet/hieradata''
:puppet:
:datasource: data
An example of the BackupPC information in hiera
$ cat /etc/puppet/hieradata/dc-ctrl.tamu.edu.yaml
---
backuppc_db_dumps:
foreman:
backup_dir: ''/usr/share/foreman''
mysql:
backup_dir: ''/etc''
I am currently using that data to create dump scripts on each node, and
would like to re-use the same information to automatically configure the
backup server to grab those locati...