Skip to content

Commit

Permalink
Merge pull request #227 from bastelfreak/gentoo
Browse files Browse the repository at this point in the history
  • Loading branch information
smortex authored Sep 10, 2021
2 parents 80820f4 + 04377d5 commit 9d3a464
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
8 changes: 8 additions & 0 deletions data/Gentoo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
systemd::accounting:
DefaultCPUAccounting: 'yes'
DefaultIOAccounting: 'yes'
DefaultIPAccounting: 'yes'
DefaultBlockIOAccounting: 'yes'
DefaultMemoryAccounting: 'yes'
DefaultTasksAccounting: 'yes'
3 changes: 3 additions & 0 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@
{
"operatingsystem": "Archlinux"
},
{
"operatingsystem": "Gentoo"
},
{
"operatingsystem": "Fedora",
"operatingsystemrelease": [
Expand Down
2 changes: 2 additions & 0 deletions spec/classes/init_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,8 @@
accounting = %w[DefaultCPUAccounting DefaultIOAccounting DefaultIPAccounting DefaultBlockIOAccounting DefaultMemoryAccounting DefaultTasksAccounting]
when 'Debian'
accounting = %w[DefaultCPUAccounting DefaultBlockIOAccounting DefaultMemoryAccounting]
when 'Gentoo'
accounting = %w[DefaultCPUAccounting DefaultIOAccounting DefaultIPAccounting DefaultBlockIOAccounting DefaultMemoryAccounting DefaultTasksAccounting]
when 'RedHat'
accounting = %w[DefaultCPUAccounting DefaultBlockIOAccounting DefaultMemoryAccounting DefaultTasksAccounting]
when 'Suse'
Expand Down

0 comments on commit 9d3a464

Please sign in to comment.