diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-03-16 17:20:07 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-03-16 17:20:07 -0400 |
commit | b2f0268833bb57dd4e41f98691217a030033a672 (patch) | |
tree | dc78b7a31c1c5f4c238105445c945d76469b8b3c /modules/duplicati | |
parent | fc01a9cf77794d0ed7ddee8659a412f9c336092e (diff) | |
download | puppet-tozt-b2f0268833bb57dd4e41f98691217a030033a672.tar.gz puppet-tozt-b2f0268833bb57dd4e41f98691217a030033a672.zip |
just use retries
it's too hard to figure out when the service is actually up
Diffstat (limited to 'modules/duplicati')
-rw-r--r-- | modules/duplicati/manifests/client.pp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/duplicati/manifests/client.pp b/modules/duplicati/manifests/client.pp index 4cab724..e82a445 100644 --- a/modules/duplicati/manifests/client.pp +++ b/modules/duplicati/manifests/client.pp @@ -30,6 +30,8 @@ class duplicati::client { exec { 'duplicati-client login': command => '/usr/local/bin/duplicati-client login', creates => '/root/.config/duplicati-client/config.yml', + tries => 3, + try_sleep => 10, require => [ File['/usr/local/bin/duplicati-client'], Exec['checkout duplicati-client'], |