strange behaviour of custom package provider

12 views
Skip to first unread message

sébastien dagnicourt

unread,
Feb 2, 2015, 10:27:38 AM2/2/15
to puppet...@googlegroups.com
I wrote a custom package provider in order to install remotely tar files (a bit like yum with rpm files).

When testing I used it on a simple class file with one resource package like this :


package {"testpackage":
      ensure => present,
      provider => myprovider,
}

It worked.

When I use it in a more complex class with more resources, if fails as if the "install" method was never called (query method is called). Any idea ?


Puppet version : 3.4.3

sébastien dagnicourt

unread,
Feb 2, 2015, 3:19:53 PM2/2/15
to puppet...@googlegroups.com
Found the error, was using a different value for ensure and it was not handled by my install method
Reply all
Reply to author
Forward
0 new messages