This Puppet module will install awscli. It is works with Debian and RedHat based distros.
puppet module install --modulepath /path/to/puppet/modules jdowning-awscli
class { 'awscli': }
You can test this module with rspec:
bundle install
bundle exec rake spec
You can also test this module in a Vagrant box. There are two box definitons included in the
Vagrant file for CentOS and Ubuntu testing. You will need to use librarian-puppet
to setup dependencies:
bundle install
bundle exec librarian-puppet install
To test both boxes:
vagrant up
To test one distribution:
vagrant up [centos|ubuntu]