Skip to content

Commit 5eca5fd

Browse files
glennaalderingh0tw1r3
authored andcommitted
cron puppetdb-dlo-cleanup requires package
Fixes the following error Error: /Stage[main]/Puppetdb::Server/Cron[puppetdb-dlo-cleanup]: Could not evaluate: Cannot write the puppetdb user's crontab: The user does not exist
1 parent 3afd693 commit 5eca5fd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

manifests/server.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,7 @@
664664
weekday => '*',
665665
command => "/usr/bin/find ${vardir}/stockpile/discard/ -type f -mtime ${dlo_max_age} -delete",
666666
user => $puppetdb_user,
667+
require => Package[$puppetdb_package],
667668
}
668669
}
669670
}

0 commit comments

Comments
 (0)