Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F401875
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
Thu, Feb 20, 1:42 PM
Size
418 B
Mime Type
text/plain
Expires
Sat, Feb 22, 1:42 PM (19 h, 4 m)
Engine
blob
Format
Raw Data
Handle
191853
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