search for: concatenated_fil

Displaying 10 results from an estimated 10 matches for "concatenated_fil".

Did you mean: concatenated_file
2009 Dec 08
5
Cleaning Out Stored Configs
Hi, We''re using thin stored configs heavily to manage things like Munin and Nagios and we''re currently wondering what to do when nodes go away, or change considerably. If we get rid of a server then all it''s stored config is still present in the database, as well as it''s nagios and munin configurations. We created a script that iterates through the database
2009 Jul 10
6
Best practices for building a file from distributed data.
...eate an exported ''file'' containing the configuration for that machine. (storeconfig enabled, obviously.) 2. On the munin central host, collect the exported file objects, creating them on disk in a random directory. 3. On the munin central host use some solution like "concatenated_file" to run a shell command, post-hoc, to build the munin.conf file from those fragments stored on disk. Is this really still the best method for achieving this? Is it possible for me to access the storeconfig database from a puppet template running on the puppetmaster? Regards,...
2007 Jun 26
4
multiple ldap classes?
I''d like to keep some pretty granular class definitions in ldap; but I''m not sure what is the best way to turn that into a puppet manifest. Is anybody else doing something like this? For instance, a samba server might have the following classes defined (in ldap): samba, samba-bdc, samba-file-shares, samba-build-shares, etc... And I would like to do something like this: -- class
2008 Jul 02
12
Module interaction and dependencies in Puppet (SNMP in particular)
Hello folks, I''m sitting here converting my static, simple classes/snmp.pp into a full module, and I''ve run into a bit of a brick wall. net-snmp is one of those wonderful programs that will only read two configuration files (it reads a few more, but only 2 are in /etc) - /etc/snmpd.conf and /etc/snmpd.local.conf. This means that my SNMP module is somehow going to have to
2007 Oct 30
4
append to static array (was: Re: Why External Node Classification is my future)
On 10/29/07, Luke Kanies <luke@madstop.com> wrote: > On Oct 29, 2007, at 2:35 PM, Brian Finney wrote: > > Although iteration would be really cool if we could also append to an > > array in a global fashion, but thats a completely different dream. > > What do you mean? Thinking some thing like: # define for simple firewall control define port($port, $status){ push
2007 Dec 06
1
order, managing one file and refreshonly
Hello! I''m quite newbie to puppet. I''ve got 3 questions: 1. I''ve noticed, that puppet apply defined classes/modules in specyfic order. I''ve got something like this im my configs: /etc/puppet/cf/manifests/site.pp: import "networks/*/site.pp" node generic_node { include "puppet" include "apt" include "debian" } ---
2007 Dec 01
6
Building files from snippets
Hi there, I''m facing a problem that I think it''s common enough to be solved directly by puppet or at least have a best practice recommended: building a config file from snippets. I''m thinking for example about a dns zone and hosts inside that zone, ldap server and ldap databases, samba server and samba shares, a firewall config and firewall rules,... The first part of
2008 May 18
6
connection timeout / memory usage / locks / recompiling
...1], which will generate the data file (dns entries) from defines in puppet classes. This is all fine and working. :) However I autogenerated after a few tests the classes for the domains from the current source of our domains. Which are about 50 classes each calling around 3 defines, which will be concatenated_file calls (from davids common module), which are in the end around 350 files (done by the file-resource and using the content parameter), often containing only a single line. After having all these classes I tried to run puppet once with puppetd --test on the client which then should get all these cl...
2007 Dec 05
8
How does one use a module?
Greetings - Maybe I''m a bit slow, but I''ve been trying to understand how to use a module for the better part of a day and I''m not getting it. Here''s what I''ve done: Using puppet 0.23.2 1. Downloaded the shorewall module from David Schmitt''s git repo (Thanks David!!!!) and placed it in the directory /var/lib/puppet/modules (using the rpm
2007 Dec 04
10
Using puppet to manage user access to servers.
I''m guessing this is a common use case, but I wasn''t able to find anything in the site FAQ. We''re looking at using Puppet on about 100 servers to control which user groups have access to which servers. The use case is as follows: We have Groups of servers, for example: CUSTOMERservers (serverA, serverB, ...,serverK) ADMINISTRATIVEservers