Skip to content

Commit 60235fa

Browse files
committed
1.4.0: Stop piping output of apply and drop to log
1 parent 8cdcef1 commit 60235fa

File tree

5 files changed

+3
-157
lines changed

5 files changed

+3
-157
lines changed

av

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ source $lib/log
1313

1414
log_level info
1515

16-
version=1.3.2
16+
version=1.4.0
1717
lock_file=$lib/.lock
1818
pause_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

install

Lines changed: 0 additions & 46 deletions
This file was deleted.

public/aviary.svg

Lines changed: 0 additions & 43 deletions
This file was deleted.

public/index.html

Lines changed: 0 additions & 23 deletions
This file was deleted.

public/install

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)