CloudFlare Puppet Module
- Add the 'cloudflare' folder into your module path
- Include the class and configure the relevant variables for your CloudFlare account:
- email - your cloudflare email
- tkn - found under Your Account > API key: https://www.cloudflare.com/my-account
- domain - the domain for which your managing
class { 'cloudflare':
email => 'xxxxx@xxxxxxx.com',
tkn => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
domain => 'www.yourdomain.com',
}
class{'cloudflare::dns':
rec_type => "A",
recname => "$hostname",
}