Switch to puppet-git_resource
This drops the use of Vcsrepo, which was a fork of the original module. This should also fix some refresh issues vcsrepo was having. Change-Id: I6249fd5023aa27cfbc81cffcedc70742052534a7 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
532977b91b
commit
7ce22a2851
|
@ -21,11 +21,11 @@ class grafyaml (
|
|||
) {
|
||||
include ::pip
|
||||
|
||||
vcsrepo { '/opt/grafyaml':
|
||||
ensure => latest,
|
||||
provider => git,
|
||||
revision => $git_revision,
|
||||
source => $git_source,
|
||||
git { '/opt/grafyaml':
|
||||
ensure => present,
|
||||
branch => $git_revision,
|
||||
latest => true,
|
||||
origin => $git_source,
|
||||
}
|
||||
|
||||
exec { 'install_grafyaml':
|
||||
|
@ -33,7 +33,7 @@ class grafyaml (
|
|||
notify => Exec['grafana_dashboard_update'],
|
||||
path => '/usr/local/bin:/usr/bin:/bin/',
|
||||
refreshonly => true,
|
||||
subscribe => Vcsrepo['/opt/grafyaml'],
|
||||
subscribe => Git['/opt/grafyaml'],
|
||||
}
|
||||
|
||||
file { '/etc/grafyaml':
|
||||
|
|
Loading…
Reference in New Issue