custom type/provider how to validate parameters are configured together

101 views
Skip to first unread message

Stanley Karunditu

unread,
Mar 13, 2015, 9:25:14 AM3/13/15
to puppet...@googlegroups.com
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? 

Gavin Williams

unread,
Mar 13, 2015, 9:31:11 AM3/13/15
to puppet...@googlegroups.com
Stanley


HTH

Gav

Stanley Karunditu

unread,
Mar 13, 2015, 10:04:15 AM3/13/15
to puppet...@googlegroups.com
the glassfish module has a comprehensive test suite that answered some of my other questions on how to write puppet module tests. Thanks :)


--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/dc77742f-c041-4dc0-b39f-b25f89d28ee8%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Gavin Williams

unread,
Mar 13, 2015, 10:09:19 AM3/13/15
to puppet...@googlegroups.com
Not a problem, glad could be of use :) 

Cheers
Gavin 
Reply all
Reply to author
Forward
0 new messages