Ask Your Question
0

Design patterns for defined types

asked 2017-03-15 11:34:52 -0500

I was browsing through GitHub and trying to find a good example of an application that uses a defined type (we have an application that needs to get deployed to same server with different versions) and I'm coming up empty. Any links? Ideas?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2017-03-16 06:36:30 -0500

Eric_Anderson gravatar image

I assume you have seen this:

https://docs.puppet.com/puppet/4.9/langdefinedtypes.html

The first example paints a pretty clear picture how it is used.

edit flag offensive delete link more

Comments

Yeah. I've seen this. I was more interested in links to a module that exclusively uses a defined type for an application. I'm interested in design patterns att the application level. A bit like the parameters pattern, which is well documented, for classes, but for defined types instead.

luksi1 gravatar imageluksi1 ( 2017-03-16 06:56:18 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-03-15 11:34:52 -0500

Seen: 23 times

Last updated: Mar 16