pupet config using p/c/r pattern