Skip to content
Snippets Groups Projects
Commit a510fdd4 authored by Fabien Combernous's avatar Fabien Combernous
Browse files

fixe #41 add missing path

parent bf08dc88
No related branches found
No related tags found
1 merge request!36Resolve "Exec with tar commande to make archive files before upgrade need path"
......@@ -49,6 +49,7 @@ define wordpress::core::update (
->
exec { "${wp_servername} > Archive files before upgrade" :
command => "tar -cvf ${wparchives_path}/${wp_servername}_${_date}.tar.gz .",
path => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
cwd => $wp_root,
creates => "${wparchives_path}/${wp_servername}_${_date}.tar.gz",
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment