From f2ebee201837ac89f756850fcfbe7eadec0e058e Mon Sep 17 00:00:00 2001 From: Monocots Date: Wed, 4 Sep 2019 10:35:00 +0000 Subject: [PATCH] clone a private repo with call rates the repo contains current rates in SQL format and some scripts to import --- modules/rhizo_base/manifests/init.pp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/rhizo_base/manifests/init.pp b/modules/rhizo_base/manifests/init.pp index 1168eb5..1a66240 100644 --- a/modules/rhizo_base/manifests/init.pp +++ b/modules/rhizo_base/manifests/init.pp @@ -345,6 +345,15 @@ schedule { 'repo': mode => '0755', } + vcsrepo { '/var/rates': + schedule => 'always', + ensure => latest, + revision => 'master', + provider => git, + source => 'git@dev.rhizomatica.org:rhizomatica/rates.git', + require => File['/root/.ssh/bsc_dev'], + } + file { '/var/rhizomatica/bin/check_account_balance.sh': ensure => present, content => template('rhizo_base/check_account_balance.sh.erb'),