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

ERROR 1452 (23000): Cannot add or update a child row: a foreign key constraint fails


I received such error 'Cannot add or update a child row: a foreign key constraint fails' when trying to import a new Puppet class (sys_yumversionlock) into Foreman via the smart proxy. Based on the error message, it should be database related. I am not a DBA, but I am interested to give a try, as … Continue reading ERROR 1452 (23000): Cannot add or update a child row: a foreign key constraint fails

Set up Puppet lab in docker


Just finished my first docker set up - building a puppet server and a puppet client in two separate containers. 1) My docker host is Fedora 20. [root@1004521 ~]# cat /etc/system-release Fedora release 20 (Heisenbug) 2) Install docker (https://docs.docker.com/installation/fedora/) [root@1004521 ~]# yum -y install docker-io [root@1004521 ~]# systemctl start docker [root@1004521 ~]# systemctl enable docker … Continue reading Set up Puppet lab in docker