Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade metadata to puppet 8, require Boolean type #72

Merged
merged 7 commits into from
Oct 10, 2023
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions lib/puppet/type/libvirt_domain.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# frozen_string_literal: true

require 'puppet/parameter/boolean'


Enucatl marked this conversation as resolved.
Show resolved Hide resolved
Puppet::Type.newtype(:libvirt_domain) do
@doc = 'ensures a persistent domain (vm) (transient domains are ignored)
'
Expand Down
3 changes: 3 additions & 0 deletions lib/puppet/type/libvirt_network.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# frozen_string_literal: true

require 'puppet/parameter/boolean'

Enucatl marked this conversation as resolved.
Show resolved Hide resolved

Puppet::Type.newtype(:libvirt_network) do
@doc = 'ensures a persistent network (transient networks are ignored)
'
Expand Down
3 changes: 2 additions & 1 deletion lib/puppet/type/libvirt_nwfilter.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# frozen_string_literal: true

#
require 'puppet/parameter/boolean'

Enucatl marked this conversation as resolved.
Show resolved Hide resolved

Puppet::Type.newtype(:libvirt_nwfilter) do
@doc = 'ensures a nwfilter
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"requirements": [
{
"name": "puppet",
"version_requirement": ">=5.0.0 < 8.0.0"
"version_requirement": ">=5.0.0 < 9.0.0"
}
],
"tags": [
Expand Down
Loading