-
-
Notifications
You must be signed in to change notification settings - Fork 146
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
Add support for Resource Accounting via systemd #65
Conversation
Depends on #66 |
8291a70
to
0050c1c
Compare
Depends on #67 |
manifests/init.pp
Outdated
Optional[Variant[Array,String]] $ntp_server, | ||
Optional[Variant[Array,String]] $fallback_ntp_server, | ||
Boolean $manage_accounting, | ||
Hash $accounting, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this be a Hash[String, String]
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
@@ -67,6 +67,28 @@ | |||
it { is_expected.to compile.with_all_deps } | |||
it { is_expected.to contain_systemd__service_limits('openstack-nova-compute.service').with_limits({'LimitNOFILE' => 32768}) } | |||
end | |||
|
|||
context 'when managing Accounting options' do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also like adding it { is_expected.to compile.with_all_deps }
to my tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated it
89be23f
to
393cf36
Compare
#67 was merged, so you can refactor this one. |
@raphink rebased it. |
Could you also fix the typo in the title of this PR? :) |
I think I fixed it :D |
With this enhancement, the module is working great for me. Any thoughts about cutting a new release or moving it to voxpupuli? |
Contain the versionlock subclass to help with ordering around package resources
No description provided.