Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9124966
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
755 B
Subscribers
None
system_reload_spec.rb
View Options
require
'spec_helper'
describe
'docker::systemd_reload'
,
type
:
:class
do
let
(
:facts
)
do
{
osfamily
:
'Debian'
,
operatingsystem
:
'Debian'
,
lsbdistid
:
'Debian'
,
lsbdistcodename
:
'stretch'
,
kernelrelease
:
'9.3.0-amd64'
,
operatingsystemrelease
:
'9.3'
,
operatingsystemmajrelease
:
'9'
,
os
:
{
distro
:
{
codename
:
'stretch'
},
family
:
'Debian'
,
name
:
'Debian'
,
release
:
{
major
:
'9'
,
full
:
'9.3'
}
},
}
end
context
'with systems that have systemd'
do
it
{
is_expected
.
to
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, 7:49 PM (2 w, 6 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3422436
Attached To
R205 puppet-puppetlabs-docker
Event Timeline
Log In to Comment