Integrate Puppet to Foreman


Continue with my previous post - Build Foreman as Puppet ENC. Now it's the time to integrate the Puppet to Foreman. On the foreman server (foreman.mylab.local): 1) Add the puppet smart proxy 2) Import the environments via the smart proxy On puppet master (puppet.mylab.local): 1) Create the two executable ruby scripts to push/pull facts to/from foreman: … Continue reading Integrate Puppet to Foreman

Puppet push SSH key


The passwordless SSH worked well in my lab. Here is the how to:1) Let the user generate the key pair, then copy the .pub file to the modules/sys_key/files folder and name it after the user's name.2) Copy /etc/skel/.bashrc and .bash_profile to modules/sys_key/files folder.3) Create the the manifests files in module/sys_key/manifests. It can be download from … Continue reading Puppet push SSH key

Puppet push LDAP authentiation


Continue with my previous post of How to set up LDAP authentication in CentOS, I have made the Puppet be able to push it in my lab. Here is how it looks:The manifest file and files can be downloaded from here.class sys_ldap {package { 'openldap': ensure => installed, }package { 'openldap-clients': ensure => installed, require … Continue reading Puppet push LDAP authentiation