The CloudFlare module allows simple management of DNS entries in Puppet via the CloudFlare v4 API.
Set up a CloudFlare zone.
cloudflare_zone { 'myzone.com':
ensure => present,
}
Add a DNS record to a CloudFlare zone.
cloudflare_dns_record { 'my-example':
ensure => present,
zone => 'myzone.com',
type => 'A',
content => '1.2.3.4',
ttl => 120,
proxied => false,
}