Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9126034
docker_volume.rb
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
569 B
Subscribers
None
docker_volume.rb
View Options
Puppet
::
Type
.
newtype
(
:docker_volume
)
do
@doc
=
'A type representing a Docker volume'
ensurable
newparam
(
:name
)
do
isnamevar
desc
'The name of the volume'
end
newproperty
(
:driver
)
do
desc
'The volume driver used by the volume'
end
newproperty
(
:options
)
do
desc
'Additional options for the volume driver'
end
newproperty
(
:mountpoint
)
do
desc
'The location that the volume is mounted to'
validate
do
|
value
|
raise
(
Puppet
::
ParseError
,
"
#{
value
}
is read-only and is only available via puppet resource."
)
end
end
end
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jun 21 2025, 9:37 PM (4 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3399943
Attached To
R205 puppet-puppetlabs-docker
Event Timeline
Log In to Comment