Puppet Augeas exmaple


Just take my yesterday's post as a example, I want Puppet to add the 'ldap_user_uuid = notExistingAttributeName' to the /etc/sssd/sssd.conf [domain/XXX] section on all RHEL 7 servers. Here is how I did it: 1) First use augtool to check file to understand the structure of this file. Here you can see it defines [domain/XXX] section … Continue reading Puppet Augeas exmaple

Puppet “allow_virtual” parameter


We have a mix puppet environment (2.7.6/3.7.4 clients and 3.7.4 server). After upgraded the puppet master from 2.7.6 to 3.7.4, we start to see a warning about 'allow_virtual'. On the puppet 2.7.6, it is 'Failed to apply catalog: Invalid parameter allow_virtual at ...' On the puppet 3.74, it is 'Warning: The package type's allow_virtual parameter … Continue reading Puppet “allow_virtual” parameter

Add extra options in puppet client daemon


Just learned this tip yesterday, /etc/sysconfig/puppet is the file what allows you to include extra options in the Puppet client daemon. The extra options are automatically attached to the puppet daemon whenever you start the Puppet service - 'service puppet start'. The trick is in the file /etc/init.d/puppet. start() { echo -n $"Starting puppet agent: … Continue reading Add extra options in puppet client daemon