Ask Your Question
0

puppet programming training

asked 2015-01-01 12:19:43 -0500

xaz gravatar image

I know puppet a little. When I start working on a project that engineer puppet code for a ldapclient, basically that will convert a Linux system to a ldapclient, able to talk to ldap server, I found that I still can't figure out right language construct or syntax for things I want to express. There are forge ldapclient module but it doesn't fit. Can someone please point out any good puppet programming training resources? thanks. - xinhuan

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
1

answered 2015-01-02 03:54:54 -0500

golja gravatar image

I would start with PuppetLabs official documentation and for more practical examples check the source code of some puppet approved or puppet supported modules on the forge.

edit flag offensive delete link more
0

answered 2015-01-02 11:32:22 -0500

gh gravatar image

+1 to the Puppet Labs official docs.

For LDAP, check out ghoneycutt/nsswitch - https://github.com/ghoneycutt/puppet-... It supports Debian 6, EL 5, 6 and 7, Solaris 10, and Suse.

edit flag offensive delete link more

Comments

The puppet module link you posted here does not fit into our environment. I need to create my own. Basically, once the module is run, a Linux system will be able to communicate with a ldap server & get a ldapsearch result. I read through the posted module. I really don't understand where validate_*

xaz gravatar imagexaz ( 2015-01-05 11:33:35 -0500 )edit

I worked out thanks to various puppet forge modules. I created my own puppet modules following puppet design patterns. It worked well.

xaz gravatar imagexaz ( 2016-06-12 11:25:22 -0500 )edit
0

answered 2015-01-05 11:32:43 -0500

xaz gravatar image

Hello,

For LDAP, check out ghoneycutt/nsswitch - https://github.com/ghoneycutt/puppet-.. . It supports Debian 6, EL 5, 6 >and 7, Solaris 10, and Suse. The puppet module link you posted here does not fit into our environment. I need to create my own. Basically, once the module is run, a Linux system will be able to communicate with a ldap server & get a ldapsearch result. I read through the posted module. I really don't understand where validate_* come from. Plus the directory structure is very standard along with a .erb template file. I am still reading the online puppet documentation from Basic on, but don't know how far the programming for my module I need.

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-01-01 12:19:43 -0500

Seen: 246 times

Last updated: Jan 05 '15