Not a problem, glad could be of use :) 

Cheers
Gavin 

On Friday, 13 March 2015 14:04:15 UTC, Stanley Karunditu wrote:
>
> the glassfish module <https://github.com/fatmcgav/fatmcgav-glassfish/> has 
> a comprehensive test suite that answered some of my other questions on how 
> to write puppet module tests. Thanks :)
>
>
> On Fri, Mar 13, 2015 at 9:31 AM, Gavin Williams <fatm...@gmail.com 
> <javascript:>> wrote:
>
>> Stanley
>>
>> Take a look at 
>> https://github.com/fatmcgav/fatmcgav-glassfish/blob/develop/lib/puppet/type/authrealm.rb#L96-L99
>>  
>> for an example of a seperate validate block...
>>
>> HTH
>>
>> Gav
>>
>> On Friday, 13 March 2015 13:25:14 UTC, Stanley Karunditu wrote:
>>>
>>> building a custom type/provider and it has a set of parameters that need 
>>> to be configured together. so if you set param A, you need to set param 
>>> B,C,D. Validation should produce an error if this condition is not met. 
>>> anyone know of a puppet module that does this so I can learn how to do 
>>> this? 
>>>
>>  -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "Puppet Users" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/puppet-users/v2kdb2KvZLo/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> puppet-users...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/puppet-users/dc77742f-c041-4dc0-b39f-b25f89d28ee8%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/puppet-users/dc77742f-c041-4dc0-b39f-b25f89d28ee8%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/10cd9c8a-6574-4494-a828-badba90845ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to