Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
$puppetdb_group = '_puppetdb'
$puppetdb_initconf = undef
}
'RedHat', 'Suse': {
'RedHat', 'Suse', 'Gentoo': {
$puppetdb_package = 'openvoxdb'
$terminus_package = 'openvoxdb-termini'
$etcdir = '/etc/puppetlabs/puppetdb'
Expand Down
7 changes: 7 additions & 0 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@
"22.04",
"24.04"
]
},
{
"operatingsystem": "Gentoo",
"operatingsystemrelease": [
"2.18"
]
}
],
"requirements": [
Expand All @@ -94,3 +100,4 @@
}
]
}

2 changes: 1 addition & 1 deletion spec/support/acceptance/shared/puppetserver.pp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
'Archlinux': {
$puppetserver_package = 'puppetserver'
}
'Debian', 'RedHat', 'Suse': {
'Debian', 'RedHat', 'Suse', 'Gentoo': {
$puppetserver_package = 'openvox-server'
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not a Puppet expert at all, I'm just here as a Gentoo person and also someone who is slowly learning Puppet ropes for Gentoo infra: are you sure this part is right? In Gentoo, packages have categories, so normally you would want app-admin/openvox-server or something, but I am not sure how this value is used here.

It also might be worth holding off (can still get it ready of course, just maybe keep it as a draft?) until we have it in ::gentoo, because otherwise the category and package name are subject to change.

}
default: {
Expand Down
2 changes: 1 addition & 1 deletion spec/unit/classes/master/config_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
case facts[:os]['family']
when 'Archlinux', 'OpenBSD'
'puppetdb-termini'
when 'Debian', 'RedHat', 'Suse'
when 'Debian', 'RedHat', 'Suse', 'Gentoo'
'openvoxdb-termini'
end
end
Expand Down
2 changes: 1 addition & 1 deletion spec/unit/classes/server_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
case facts[:os]['family']
when 'Archlinux', 'OpenBSD'
'puppetdb'
when 'Debian', 'RedHat', 'Suse'
when 'Debian', 'RedHat', 'Suse', 'Gentoo'
'openvoxdb'
end
end
Expand Down
Loading