puppet client check logic