From 7deeb6364cb8af05a01ee2d0a6b0cfa41ad124ce Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Fri, 23 Aug 2019 23:41:38 -0400 Subject: update ynab-export as part of update script --- manifests/tozt.pp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/manifests/tozt.pp b/manifests/tozt.pp index 69338f0..1212292 100644 --- a/manifests/tozt.pp +++ b/manifests/tozt.pp @@ -3,7 +3,11 @@ node 'tozt', 'tozt.localdomain' { include tozt::persistent Class['tozt::persistent'] -> Class['base'] - include base + class { 'base': + extra_script => " + (cd /opt/ynab-export && sudo git pull) + "; + } include tozt::operatingsystem Class['tozt::operatingsystem'] -> Package<| provider == "pacman" |> -- cgit v1.2.3-54-g00ecf