Ask Your Question
0

Error: Could not find a suitable provider for route53_a_record

asked 2016-04-29 09:53:20 -0500

ogden gravatar image

Hi,

I'm trying to use the puppetlabs aws module to setup a DNS record for the current host. I installed the module from puppet forge, I installed the aws-sdk-core and retries gems, I tried installing them both via puppetserver gem install command and the gem command, also restarted puppetserver, and I'm getting the error in the subject.

I also added the aws access and secret keys in ~/.aws/credentials file.

Puppet version 4.4.2

This is how I'm setting the Route53 entry::

route53_a_record { "${::fqdn}.":
ensure => 'present',
ttl    => '300',
values => ["${::ipaddress}"],
zone   => 'example.com.', }

I'm using the host's fqdn and ipaddress facts to setup the DNS record.

I would appreciate any help on this.

Thank you.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2016-05-02 18:52:48 -0500

WhatsARanjit gravatar image

Can you run puppet describe route53_a_record and see what shows up under Providers?

edit flag offensive delete link more
0

answered 2016-05-03 04:06:39 -0500

ogden gravatar image

puppet describe route53_a_record returns under providers v2

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-04-29 09:42:01 -0500

Seen: 156 times

Last updated: May 03 '16