Skip to content

Commit

Permalink
(SIMP-3150) Standardize cron data types (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkbruhaha authored and lnemsick-simp committed Mar 28, 2019
1 parent 79f39c1 commit 45c9b73
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
* Mon Mar 25 2019 Joseph Sharkey <[email protected]> - 6.2.0-0
- Standardized cron datatypes to use the Simplib::Cron::### types. This
allows more flexibility in cron scheduling.

* Thu Mar 07 2019 Liz Nemsick <[email protected]> - 6.1.1-0
- Update the upper bound of stdlib to < 6.0.0
- Update URLs in the README.md
Expand Down
10 changes: 5 additions & 5 deletions manifests/set_schedule.pp
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@
#
class clamav::set_schedule (
Boolean $enable = true,
Variant[String,Array[String]] $minute = '32',
Variant[String,Array[String]] $hour = '5',
Variant[String,Array[String]] $monthday = '*',
Variant[String,Array[String]] $month = '*',
Variant[String,Array[String]] $weekday = '0',
Simplib::Cron::Minute $minute = '32',
Simplib::Cron::Hour $hour = '5',
Simplib::Cron::MonthDay $monthday = '*',
Simplib::Cron::Month $month = '*',
Simplib::Cron::Weekday $weekday = '0',
Integer $nice_level = 19,
Array[Stdlib::Absolutepath] $scan_targets = ['/tmp','/var/tmp','/dev/shm'],
Boolean $official_db_only = true,
Expand Down
4 changes: 2 additions & 2 deletions metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simp-clamav",
"version": "6.1.1",
"version": "6.2.0",
"author": "SIMP Team",
"summary": "Safely manages clamav",
"license": "Apache-2.0",
Expand All @@ -22,7 +22,7 @@
},
{
"name": "simp/simplib",
"version_requirement": ">= 3.0.0 < 4.0.0"
"version_requirement": ">= 3.14.1 < 4.0.0"
},
{
"name": "simp/rsync",
Expand Down

0 comments on commit 45c9b73

Please sign in to comment.