Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F5134583
host.rb
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
Mon, Aug 17, 7:53 PM
Size
521 B
Mime Type
text/plain
Expires
Wed, Aug 19, 7:53 PM (1 d, 22 h)
Engine
blob
Format
Raw Data
Handle
417749
Attached To
rARCHIVING archiving
host.rb
View Options
FactoryGirl
.
define
do
factory
:host
do
sequence
(
:fqdn
)
{
|
n
|
"lala.
#{
n
}
-
#{
rand
(
1000
)
}
.gr"
}
password
'a strong password'
port
1234
file_retention
1
job_retention
2
baculized
false
trait
:configured
do
status
Host
::
STATUSES
[
:configured
]
job_templates
{
create_list
:enabled_job_template
,
1
}
verified
true
end
trait
:updated
do
status
Host
::
STATUSES
[
:updated
]
job_templates
{
create_list
:enabled_job_template
,
1
}
verified
true
end
end
end
Event Timeline
Log In to Comment