Hello everyone,
Im trying to use vcsrepo to sync my PE Master files with a remote git repository
I wanted to sync every 15 min in case there are new commits on remote. Is there a way to set vcsrepo to run on PE Master periodically without using a cron job?
this is what my vcsrepo class looks like,
cat vcsrepo.pp
vcsrepo { "${modulepath}/nginx/files/repo":
ensure => latest,
provider => git,
revision => 'master',
force => true,
}
Trying to avoid using cron but cant figure if its possible to run this on PE Master as 'puppet apply vcsrepo.pp' every 15 min or so.