Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9125254
weekly_report_bot.pp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
602 B
Subscribers
None
weekly_report_bot.pp
View Options
# A bot creating a thread for people to send their weekly report
class
profile
::
weekly_report_bot
{
$command
=
'/usr/local/bin/weekly-report-bot'
$weekly_report_user
=
lookup
(
'weekly_report_bot::user'
)
$weekly_report_cron
=
lookup
(
'weekly_report_bot::cron'
)
file
{
$command:
ensure
=>
present
,
mode
=>
'0755'
,
owner
=>
'root'
,
group
=>
'root'
,
source
=>
'puppet:///modules/profile/weekly_report_bot/weekly-report-bot'
,
}
profile
::
cron
::
d
{
'weekly-report-bot'
:
command
=>
$command,
user
=>
$weekly_report_user,
*
=>
$weekly_report_cron,
}
}
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sat, Jun 21, 8:21 PM (3 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3242185
Attached To
rSPSITE puppet-swh-site
Event Timeline
Log In to Comment