Verified Commit 63595986 authored by Louis-Philippe Véronneau's avatar Louis-Philippe Véronneau
Browse files

fixes for puppet 5.5.

parent 45382362
Pipeline #72135998 passed with stage
in 1 minute and 3 seconds
......@@ -8,11 +8,10 @@ image: ruby:2.3
- bundle exec rake tests
# Test with version present on Debian stable
test:puppet48:
test:puppet55:
variables:
PUPPET_VERSION: "~> 4.8.2"
FACTER_VERSION: '~> 2.4.6'
HIERA_VERSION: '~> 3.2.0'
PUPPET_VERSION: "~> 5.5.10"
FACTER_VERSION: '~> 3.11.0'
<<: *test_definition
# Test with latest Puppet release
......
......@@ -5,7 +5,6 @@ gem 'puppet', ENV['PUPPET_VERSION']
group :tests do
gem 'facter', ENV['FACTER_VERSION']
gem 'hiera', ENV['HIERA_VERSION']
gem 'puppetlabs_spec_helper'
gem 'metadata-json-lint'
gem 'semantic_puppet'
......
......@@ -10,7 +10,7 @@ define borg::backup (
Integer $monthly = 6,
Integer $yearly = 0,
Boolean $log = false,
Enum $type = [ 'borg', 'sshfs' ],
Variant $type = [ 'borg', 'sshfs' ],
String $sshfs_mount = '/mnt',
String $user = 'root',
String $cron_time = '0 1 * * *',
......
{
"name": "baldurmen-borg",
"version": "1.0.2",
"version": "1.0.3",
"author": "Louis-Philippe Véronneau",
"summary": "Simple puppet module to configure backups with borg.",
"license": "GPL-3.0",
......@@ -11,8 +11,8 @@
{
"operatingsystem": "Debian",
"operatingsystemrelease": [
"8",
"9"
"9",
"10"
]
}
],
......@@ -20,7 +20,7 @@
"requirements": [
{
"name": "puppet",
"version_requirement": "4.X"
"version_requirement": "5.X"
}
],
"description": "This module configures a backup script using borg and setups a cron job accordingly. The design of this module is modular: you can call the borg::backup define as many times you want to create different backup schemes."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment