Skip to content

Commit ee5f42d

Browse files
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 11dc0df commit ee5f42d

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
@@ -338,6 +338,7 @@
338338
weekday => '*',
339339
command => "/usr/bin/find ${vardir}/stockpile/discard/ -type f -mtime ${dlo_max_age} -delete",
340340
user => $puppetdb_user,
341+
require => Package[$puppetdb_package],
341342
}
342343
}
343344
}

0 commit comments

Comments
 (0)