Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F1614761
pool.rake
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Mar 21, 3:54 AM
Size
418 B
Mime Type
text/plain
Expires
Mon, Mar 23, 3:54 AM (8 h, 26 m)
Engine
blob
Format
Raw Data
Handle
354191
Attached To
rARCHIVING archiving
pool.rake
View Options
namespace
:pool
do
desc
'Send new pool parameters to upstream schedules'
task
apply_upstream
:
:environment
do
# update the config files for all the deployed clients
for
host
in
Host
.
where
(
status
:
Host
::
STATUSES
[
:deployed
]
)
do
puts
"sending:
#{
host
.
name
}
"
BaculaHandler
.
new
(
host
)
.
send
(
:send_config
)
end
# reload bacula
BaculaHandler
.
new
(
host
)
.
send
(
:reload_bacula
)
if
host
end
end
Event Timeline
Log In to Comment