File tree Expand file tree Collapse file tree 5 files changed +3
-157
lines changed Expand file tree Collapse file tree 5 files changed +3
-157
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ source $lib/log
1313
1414log_level info
1515
16- version=1.3.2
16+ version=1.4.0
1717lock_file=$lib /.lock
1818pause_file=$lib /.pause
1919
@@ -96,7 +96,7 @@ function apply_module {
9696 local module=$1
9797 log_info Applying module $module
9898 local opts=$( [[ $LOG_LEVEL == ' trace' ]] && echo ' -x' )
99- bash $opts $inventory_dir /modules/$module /apply | log_debug 2>&1
99+ bash $opts $inventory_dir /modules/$module /apply
100100 mkdir -p $data_dir /applied_modules
101101 echo OK > $data_dir /applied_modules/$module
102102}
@@ -118,7 +118,7 @@ function drop_module {
118118 local module=$1
119119 log_info Dropping module $module
120120 local opts=$( [[ $LOG_LEVEL == ' trace' ]] && echo ' -x' )
121- bash $opts $inventory_dir /modules/$module /drop | log_debug 2>&1
121+ bash $opts $inventory_dir /modules/$module /drop
122122 unlink $data_dir /applied_modules/$module
123123}
124124
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments