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 => '[email protected]',
tkn => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
domain => 'www.yourdomain.com',
}
class{'cloudflare::dns':
rec_type => "A",
recname => "$hostname",
}