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

Add support for Resource Accounting via systemd #65

Merged
merged 2 commits into from
Mar 13, 2018

Conversation

bastelfreak
Copy link
Member

No description provided.

@bastelfreak bastelfreak added the enhancement New feature or request label Feb 28, 2018
@bastelfreak
Copy link
Member Author

Depends on #66

@bastelfreak
Copy link
Member Author

Depends on #67

Optional[Variant[Array,String]] $ntp_server,
Optional[Variant[Array,String]] $fallback_ntp_server,
Boolean $manage_accounting,
Hash $accounting,
Copy link
Member

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]?

Copy link
Member Author

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
Copy link
Member

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

Copy link
Member Author

Choose a reason for hiding this comment

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

updated it

@bastelfreak bastelfreak force-pushed the accounting branch 2 times, most recently from 89be23f to 393cf36 Compare March 3, 2018 13:19
@raphink
Copy link
Member

raphink commented Mar 12, 2018

#67 was merged, so you can refactor this one.

@bastelfreak
Copy link
Member Author

@raphink rebased it.

@ekohl
Copy link
Member

ekohl commented Mar 12, 2018

Could you also fix the typo in the title of this PR? :)

@bastelfreak bastelfreak changed the title Add support for Ressource Accounting via systemd Add support for Resource Accounting via systemd Mar 12, 2018
@bastelfreak
Copy link
Member Author

I think I fixed it :D

@bastelfreak bastelfreak merged commit 2c3345d into voxpupuli:master Mar 13, 2018
@bastelfreak bastelfreak deleted the accounting branch March 13, 2018 08:32
@sirinek
Copy link

sirinek commented Jun 5, 2018

With this enhancement, the module is working great for me. Any thoughts about cutting a new release or moving it to voxpupuli?

op-ct pushed a commit to op-ct/puppet-systemd that referenced this pull request Jun 17, 2022
Contain the versionlock subclass to help with ordering around package resources
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants