I have taken a stab at generating types, providers and other items with 
puppet-retrospec.

Take a look at https://github.com/nwops/puppet-retrospec

retrospec puppet new_type -h

Generates a new type with the given name, parameters, and properties.
  -n, --name=<s>           The name of the type you wish to create
  -p, --parameters=<s+>    A list of parameters to initialize your type with
                           (default: name)
  -a, --properties=<s+>    A list of properties to initialize your type with
                           (default: )
  -r, --providers=<s+>     A list of providers to create and associate with
                           this type (default: default)
  -h, --help               Show this message


Corey

On Thursday, April 7, 2016 at 9:23:51 AM UTC-4, Christoph Andreas Torlinsky 
wrote:
>
> Hello there, i'm looking for a puppet types generator tool / toolkit as we 
> have an API (Restful interface) and spec files that we would like
> to convert to puppet types for some use. If anyone has any tips, that is 
> most welcomed. 
>
> many thanks, 
>
> c
>
>

-- 
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/2e1fcebc-e5b9-451a-a75b-993e87a58682%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to