[Puppet Users] Re: Question about conditional exec notifications

2012-10-09 Thread Adrian Webb
47:29 PM UTC+1, jcbollinger wrote: > > > > On Tuesday, October 9, 2012 6:12:30 AM UTC-5, Adrian Webb wrote: >> >> Hello, >> >> I've been trying to implement a puppet definition that uses vcsrepo and >> notifies the caller through an update_notify param

Re: [Puppet Users] Question about conditional exec notifications

2012-10-09 Thread Adrian Webb
details of providers. If you know where I would start I would be happy to troubleshoot issues with the vcsrepo git provider as they come up. Thanks, Adrian On Tuesday, October 9, 2012 3:39:48 PM UTC+1, Ramin K wrote: > > On 10/9/2012 7:25 AM, Adrian Webb wrote: > > Are you sure th

Re: [Puppet Users] Question about conditional exec notifications

2012-10-09 Thread Adrian Webb
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

Re: [Puppet Users] Question about conditional exec notifications

2012-10-09 Thread Adrian Webb
, October 9, 2012 2:40:04 PM UTC+1, 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 > >

Re: [Puppet Users] Question about conditional exec notifications

2012-10-09 Thread Adrian Webb
e: > > 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': >comma

[Puppet Users] Question about conditional exec notifications

2012-10-09 Thread Adrian Webb
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