Ask Your Question
0

Custom Type/Provider support in Puppet Enterprise

asked 2015-12-21 00:22:54 -0500

ishangajera gravatar image

I have written a module which has Custom Types and Providers written in Ruby. These custom types and providers call REST APIs when called using "puppet device" command on agent nodes.

Now I have done a setup of Puppet Enterprise and installed my module on it. But my custom ruby types and providers are not searchable in classes in Puppet Enterprise Console.

How can custom types and providers be applied on agent nodes via Puppet Enterprise Console?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-12-21 15:46:50 -0500

GregLarkin gravatar image

You can only classify nodes with Puppet classes in the PE Console, not individual types. For instance, you don't see a list of all of the core types (e.g. file, service, package, etc.) in the list of available classes. If you write a class that encapsulates some core resource types (or custom types), then that class will appear in the list.

So write a class that uses your custom type and whatever else you need to achieve you goal, and then you can classify a node with that class, and you should be all set.

edit flag offensive delete link more

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: 2015-12-21 00:22:54 -0500

Seen: 32 times

Last updated: Dec 21 '15