Fellow humans,

I've been working on MODULES-151, and pushed my work in progress to

   https://github.com/puppetlabs/puppetlabs-mysql/pull/548

this pr adds a mariadb provider to puppetlabs-mysql, boolean-confining it, based
on a version-check (for >= 10.0.0-MariaDB), if so, it adds a feature for long
username support.

however, both me, and Hunnur have so far failed to make this sensibly testable.
As you can see in the latest comments, I've tried stubbing out version_check()
in the unit test for the type, and, apparently, I'm doing it wrong.

Do I ignore this test in the type, and instead add it to the provider?
Am I trying to attach it to the wrong object? In the wrong context?

uhm.. yeah, I don't really know, so I'd really appreciate your input!

-- bye i
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: [email protected]
URL: http://brainsware.org/
GPG: 8716 7A9F 989B ABD5 100F  4008 F266 55D6 2998 1641

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/1067198849.34321.1406830684081.JavaMail.zimbra%40brainsware.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to