Skip to content

Commit 8d69318

Browse files
committed
Update snap package resources
Signed-off-by: Ian Maddaus <[email protected]>
1 parent f76cdb0 commit 8d69318

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

data/infra/resources/snap_package.yaml

+22-1
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,25 @@ properties_list:
7474
required: false
7575
description_list:
7676
- markdown: The version of a package to be installed or upgraded.
77-
examples:
77+
examples: |
78+
**Install a package**
79+
80+
```ruby
81+
snap_package 'hello'
82+
```
83+
84+
**Upgrade a package**
85+
86+
```ruby
87+
snap_package 'hello' do
88+
action :upgrade
89+
end
90+
```
91+
92+
**Install a package with classic confinement**
93+
94+
```ruby
95+
snap_package 'hello' do
96+
options 'classic'
97+
end
98+
```

0 commit comments

Comments
 (0)