Fix some duplicate declaration when using puppetlabs backend on RedHat