Signed-off-by: Stephen Gran <steve@lobefin.net>
exec { 'apt-get update':
path => '/usr/bin:/usr/sbin:/bin:/sbin',
exec { 'apt-get update':
path => '/usr/bin:/usr/sbin:/bin:/sbin',
- onlyif => '/opt/bin/check_for_updates',
+ onlyif => '/usr/local/bin/check_for_updates',
require => File['/opt/bin/check_for_updates']
}
Exec['apt-get update']->Package<| tag == extra_repo |>
require => File['/opt/bin/check_for_updates']
}
Exec['apt-get update']->Package<| tag == extra_repo |>