Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9123715
swh_lister_github.pp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
swh_lister_github.pp
View Options
# Deployment for swh-lister-github
class
profile
::
swh
::
deploy
::
worker
::
swh_lister_github
{
$concurrency
=
lookup
(
'swh::deploy::worker::swh_lister_github::concurrency'
)
$loglevel
=
lookup
(
'swh::deploy::worker::swh_lister_github::loglevel'
)
$task_broker
=
lookup
(
'swh::deploy::worker::swh_lister_github::task_broker'
)
$config_file
=
'/etc/softwareheritage/lister-github.com.yml'
$config
=
lookup
(
'swh::deploy::worker::swh_lister_github::config'
,
Hash
,
'deep'
)
$task_modules
=
[
'swh.lister.github.tasks'
]
$task_queues
=
[
'swh_lister_github_discover'
,
'swh_lister_github_refresh'
]
include
::
profile
::
swh
::
deploy
::
base_lister
::
profile
::
swh
::
deploy
::
worker
::
instance
{
'swh_lister_github'
:
ensure
=>
present
,
concurrency
=>
$concurrency,
loglevel
=>
$loglevel,
task_broker
=>
$task_broker,
task_modules
=>
$task_modules,
task_queues
=>
$task_queues,
require
=>
[
Package
[
'python3-swh.lister'
],
File
[
$config_file],
],
}
# Contains passwords
file
{
$config_file:
ensure
=>
'present'
,
owner
=>
'swhworker'
,
group
=>
'swhdev'
,
mode
=>
'0640'
,
content
=>
inline_template
(
"<%= @config.to_yaml %>\n"
),
}
}
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sat, Jun 21, 5:59 PM (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3240379
Attached To
rSPSITE puppet-swh-site
Event Timeline
Log In to Comment