You don't say what version of puppet you're using, whether you're using
an ENC, or whether you're already using either extlookup() or hiera(),
so it's really difficult to suggest something that integrates well with
your current environment.
Sorry I didn't provide more detail. We're using puppet 2.6.13. We
have a single *.pp config file for each and every host, so specifying
additional classes is not hard to do on a host-per-host basis. Here's
the limits.conf config from the class that has been applied to these

file { "/etc/security/limits.conf":
owner => "root",
group => "root",
mode => "644",
content => "#<domain>\t\t<type>\t\t<item>\t\t<value>\n*\t\t-\t\tnofile\t\t65000\n*\t\t-\t\tnproc\t\t140000\n*\t\thard\t\tcore\t\tunlimited\ncdc-dev\t\t-\t\tpriority\t\t15\nhtc\t\t-\t\tnofile\t\t250000\n";

Basically I just want this "file" type to not be active on three
hosts. I don't need to be able to detect the hosts, as I can specify
the config manually in each of their config files.

You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Search Discussions

Discussion Posts


Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 10 | next ›
Discussion Overview
grouppuppet-users @
postedAug 17, '12 at 6:46p
activeAug 23, '12 at 10:32p



site design / logo © 2023 Grokbase