Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9125624
system_reload_spec.rb
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
658 B
Subscribers
None
system_reload_spec.rb
View Options
require
'spec_helper'
describe
'docker::systemd_reload'
,
:type
=>
:class
do
let
(
:facts
)
{
{
:osfamily
=>
'Debian'
,
:operatingsystem
=>
'Debian'
,
:lsbdistid
=>
'Debian'
,
:lsbdistcodename
=>
'stretch'
,
:kernelrelease
=>
'9.3.0-amd64'
,
:operatingsystemrelease
=>
'9.3'
,
:operatingsystemmajrelease
=>
'9'
,
}
}
context
'with systems that have systemd'
do
it
{
should
contain_exec
(
'docker-systemd-reload'
)
.
with
(
'path'
=>
[
'/bin/'
,
'/sbin/'
,
'/usr/bin/'
,
'/usr/sbin/'
]
,
'command'
=>
'systemctl daemon-reload'
,
'refreshonly'
=>
'true'
)
}
end
end
File Metadata
Details
Attached
Mime Type
text/x-ruby
Expires
Sat, Jun 21, 9:07 PM (4 w, 11 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3407463
Attached To
R205 puppet-puppetlabs-docker
Event Timeline
Log In to Comment