On 10/9/2012 7:43 AM, Adrian Webb wrote:
Will do. Thanks!
Do you by any chance know how notifications are generated by providers?
In essence, what tells Puppet that there needs to be a notify? I was
looking through the vcsrepo git provider code but did not see anything
that looked like it woul
Will do. Thanks!
Do you by any chance know how notifications are generated by providers? In
essence, what tells Puppet that there needs to be a notify? I was looking
through the vcsrepo git provider code but did not see anything that looked
like it would tell but I am newer to the low level
On 10/9/2012 7:25 AM, Adrian Webb wrote:
Are you sure this notify is only triggered when there is an actual
change in the repo (working copy has changed) or is it when the vcsrepo
resource is executed like most notify's?
I don't believe your logic on Puppet notifies is correct. Assuming the
p
Are you sure this notify is only triggered when there is an actual change
in the repo (working copy has changed) or is it when the vcsrepo resource
is executed like most notify's?
On Tuesday, October 9, 2012 3:18:48 PM UTC+1, Ramin K wrote:
>
> On 10/9/2012 6:40 AM, Adrian Webb wrote:
> > Unfor
On 10/9/2012 6:40 AM, Adrian Webb wrote:
Unfortunately what I need is a little more abstract because I have
rolled my definition into a module that is used by other modules. Below
is my definition (that does not work as intended) right now
define git::repo (
$repo_name = $name,
$user = $git::p
Sorry, my last post got cut off:
So my real problem is how to trigger the conditional exec notify after the
vcsrepo resource
pulls in updates. It is very important that this stay abstract because this is
used in multiple
modules and in each triggers different build operations.
On Tuesday,
Unfortunately what I need is a little more abstract because I have rolled
my definition into a module that is used by other modules. Below is my
definition (that does not work as intended) right now
define git::repo (
$repo_name= $name,
$user = $git::params::use
Did you try using an update resource, and a build resource, where the
second depends on the first?
i.e. something like
exec { 'repository_update':
command => 'git pull',
}
exec { 'build':
command => 'make',
require => Exec['repository_update']
}
or, if you prefer:
exec { 'repository_upd
Hello,
I've been trying to implement a puppet definition that uses vcsrepo and
notifies the caller through an update_notify parameter when the repository
contents change on disk. I have however found this very hard to accomplish.
Basically I am trying to pull down a git repo and when the head