Hello I use puppet for a while now and try to configure as much as possible with puppet (some old configurations are still not ''puppetized''). The more we configure with puppet the more complex the manifests get. They are filled with functionality and complex file concatinate constructs and use the puppet language in a way i think it was never build for. No idea what you do to solve this but my approach "was" to write providers. But i feel like i''m a compleet idiot, cause i do not find any useful documentation or examples to really start developing providers. At the moment i try to reverse engineer the providers and types that come with puppet but this is extremely time consuming. If you know some other sources than the Puppetlabs wiki for information on how to write providers or just some good documented examples that show how to use the various features i would appreciate that. Thanks Andy -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On 23.06.2010 17:19, zuber@puzzle.ch wrote:> Hello > > I use puppet for a while now and try to configure as much as possible with > puppet (some old configurations are still not ''puppetized''). The more we > configure with puppet the more complex the manifests get. They are filled > with functionality and complex file concatinate constructs and use the > puppet language in a way i think it was never build for. > > No idea what you do to solve this but my approach "was" to write > providers. But i feel like i''m a compleet idiot, cause i do not find any > useful documentation or examples to really start developing providers. At > the moment i try to reverse engineer the providers and types that come > with puppet but this is extremely time consuming. If you know some other > sources than the Puppetlabs wiki for information on how to write providers > or just some good documented examples that show how to use the various > features i would appreciate that. > > Thanks > > Andy > >I would suggest looking on puppet forge. Some modules on puppet forge have simple providers defined. One of the examples would be vcsrepo. Seems like a straight forward example (at least to me) I don''t know of any other documentation, maybe someone else knows :-?? Good luck, ;) Silviu -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1> I would suggest looking on puppet forge. Some modules on puppet forge > have simple providers defined. One of the examples would be vcsrepo. > Seems like a straight forward example (at least to me) > I don''t know of any other documentation, maybe someone else knows :-??+ the new vcs (or git) type of puppetlabs, the lvm-type of puppetlabs and htpasswd provider by james (also puppetlabs :p) are quite good examples. you''ll find them posted on the list or on james'' blog. It was mentioned at the puppetcamp that all the internal providers are all quite old and not in a that good state. Or at least they don''t represent the state of the art, of how to write providers. However, puppetlabs recently published the mentioned new providers which include proper tests etc. and should give you a good starting point. cheers pete -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwk2msACgkQbwltcAfKi3/IuACfdokG5csOt0CNuq7JQWoOzKB6 elIAoID1Ic9LF6XteGX6XEr/5MRjBEVf =Ao6l -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.