eyaml and yaml backend does not looks to manage puppet data type in a same manner
Acceptance tests works without any error.
But on nodes the following error message appears :
Restic::Backup[allgeryon]: parameter 'inodes' index 0 expects a match for Variant[Stdlib::Windowspath = Pattern[/^(([a-zA-Z]:[\\\/])|([\\\/][\\\/][^\\\/]+[\\\/][^\\\/]+)|([\\\/][\\\/]\?[\\\/][^\\\/]+))/], Stdlib::Unixpath = Pattern[/^\/([^\/\0]+(\/)?)+$/]], got '/' at ... modules/restic/manifests/backups.pp:5
Only one difference found, the back-end used in tests and in production.
The hiera data about node was :
base_backup::backups:
allgeryon:
runasuser: 'todobackups'
repository_url: '/var/resticbackups/mainrepo'
repository_password: >
ENC[PKCS7,MIIBmQYJKoZIhvcNAQcDoIIBijCCAYYCAQAxggEhMIIBHQIBADAFMAACAQEw
--- 8X ---
brsIgDAtbfLquQtZQNKFdAZgeJGcpXb5RYZrzhvpybk9H3S+nuwlOYV2cKTh
N3JWcu/5F7Y=]
at:
frequency: 'weekly'
excludes:
- '/var/cache'
- '/sys'
- '/proc'
- '/mnt'
Edited by Fabien Combernous