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

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