diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-04-22 16:19:37 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-04-22 16:19:37 +0200 |
commit | e89e896f4eb648d69fae2cfaa9c40c9944711556 (patch) | |
tree | 357277fbbae92b775caff087e050ea471ff71c43 /modules | |
parent | 5adcfd482be6573cbaee94cbd7889e6098df36f8 (diff) | |
download | Puppet-e89e896f4eb648d69fae2cfaa9c40c9944711556.tar.gz Puppet-e89e896f4eb648d69fae2cfaa9c40c9944711556.tar.zst Puppet-e89e896f4eb648d69fae2cfaa9c40c9944711556.zip |
Fix parted and add hour to backup
Diffstat (limited to 'modules')
-rw-r--r-- | modules/profile/manifests/fstab.pp | 2 | ||||
-rw-r--r-- | modules/role/manifests/backup.pp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/profile/manifests/fstab.pp b/modules/profile/manifests/fstab.pp index 46c3600..8ecfe72 100644 --- a/modules/profile/manifests/fstab.pp +++ b/modules/profile/manifests/fstab.pp | |||
@@ -2,7 +2,7 @@ class profile::fstab ( | |||
2 | Optional[Array] $mounts = [] | 2 | Optional[Array] $mounts = [] |
3 | ) { | 3 | ) { |
4 | $mounts.each |$mount| { | 4 | $mounts.each |$mount| { |
5 | ensure_package(["parted"]) | 5 | ensure_packages(["parted"]) |
6 | 6 | ||
7 | unless empty($mount) { | 7 | unless empty($mount) { |
8 | $infos = split($mount, ';') | 8 | $infos = split($mount, ';') |
diff --git a/modules/role/manifests/backup.pp b/modules/role/manifests/backup.pp index d01abd9..ab485b0 100644 --- a/modules/role/manifests/backup.pp +++ b/modules/role/manifests/backup.pp | |||
@@ -47,7 +47,7 @@ class role::backup ( | |||
47 | command => $backup_script, | 47 | command => $backup_script, |
48 | user => $user, | 48 | user => $user, |
49 | minute => 25, | 49 | minute => 25, |
50 | hour => 3, | 50 | hour => "3,15", |
51 | require => Concat[$backup_script], | 51 | require => Concat[$backup_script], |
52 | } | 52 | } |
53 | 53 | ||