diff --git a/site-cookbooks/kosmos-parity/recipes/backup.rb b/site-cookbooks/kosmos-parity/recipes/backup.rb new file mode 100644 index 0000000..77782b1 --- /dev/null +++ b/site-cookbooks/kosmos-parity/recipes/backup.rb @@ -0,0 +1,6 @@ + +return if node.chef_environment == "development" + +# Backup the local directory +node.override["backup"]["archives"]["parity"] = ["#{node['kosmos-parity']['home_path']}/.local/share/io.parity.ethereum/**/keys"] +include_recipe "backup"