diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-09-27 18:07:24 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-09-27 18:07:24 -0300 |
commit | 9330113df08676ec82639aec8cca290709b7936e (patch) | |
tree | 93600833840c1d0f6d7420511335bf12bfc51195 /share/hydractl/puppet-reset-stored | |
parent | c040869beb026ecc309bf1c2ccf627261f41bc46 (diff) | |
download | hydra-9330113df08676ec82639aec8cca290709b7936e.tar.gz hydra-9330113df08676ec82639aec8cca290709b7936e.tar.bz2 |
Action backup-site now dumping db and storing things in the right place
Diffstat (limited to 'share/hydractl/puppet-reset-stored')
-rwxr-xr-x | share/hydractl/puppet-reset-stored | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/share/hydractl/puppet-reset-stored b/share/hydractl/puppet-reset-stored index 48a3dc1..090917f 100755 --- a/share/hydractl/puppet-reset-stored +++ b/share/hydractl/puppet-reset-stored @@ -3,4 +3,8 @@ # Reset puppet stored configs # -mysql puppet -e "drop database puppet ; create database puppet;" +# Load. +source $APP_BASE/lib/hydra/functions || exit 1 +hydra_config_load + +hydra_truncate_database puppet |