Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 257

How should I structure my hiera for systemd limits?

$
0
0
I am trying to use https://github.com/camptocamp/puppet-systemd. I want to setup some systemd limits for a service so I have included ... include ::systemd ... in my manifest. And I have this hiera data: systemd::service_limits: 'openstack-nova-compute.service': limits: LimitNOFILE: 32768 But when puppet on my node I get this error: Error while evaluating a Function Call, Class[Systemd]: parameter 'service_limits' unrecognized key 'openstack-nova-compute.service' at ... I have looked at the docs and they do not explain how to form the hash in hiera, they just give this example: ::systemd::service_limits { 'foo.service': limits => { 'LimitNOFILE' => 8192, 'LimitNPROC' => 16384, } } So how would I do that in hiera/yaml?

Viewing all articles
Browse latest Browse all 257

Trending Articles