Puppet module helping with installation and configuration of Rclone
Disclaimer: This module is in early stage of development - everything are subject to change. Any feedback or help is welcomed.
Use this module to automate installation and configuration of Rclone - cloud rsync tool.
Depends on following modules:
- puppet/archive
class { 'rclone':
ensure => 'desired rclone version'
}
# configure s3
rclone::config::s3 { 'my_S3':
access_key_id => 'AKI...',
secret_access_key => '...',
os_user => 'my_user',
region => 'eu-west-1',
}
See reference guide
Module in early stage, anything can break anytime.
Prerequisites: Installed ruby, gem and bundler and also PDK can help.
pdk bundle update
pdk bundle install
pdk bundle exec rake spec
or with PDK
pdk test unit
bundle exec rake strings:generate:reference
Build and release the module to puppet forge (note currently validation and changelog doesn't work)
pdk build
pdk release
Tag the release in git
git tag -a v<version> -m "message"
git push --tags
Bump the version to next devel and make pull request.