similar to: Passing node hostname to the Puppet managed node

Displaying 20 results from an estimated 6000 matches similar to: "Passing node hostname to the Puppet managed node"

2010 Dec 03
7
Puppet updating from relative directories or chroot
Anyone had any experience getting puppet to update multiple OS''s on a single server? For example, for a set of blades Network booting from a primary server, the OS for each blade would be stored on the primary server. For example: /pxe/host1/<normal OS directory structure> /pxe/host2/<normal OS directory structure> ..... /pxe/hostn/<normal OS directory structure> Can
2010 Dec 26
6
variables created with generate() function have a newline when used in a template
I have this in nodes.pp $puppetmaster_fqdn = generate("/usr/bin/facter","fqdn") and this in a template http://<%= puppetmaster_fqdn %>:8080 When puppet runs, this is the result: http://puppet.home :8080 Anybody any clue to whats causing this? I''ve tried -%> -- You received this message because you are subscribed to the Google Groups "Puppet
2010 Oct 22
15
Accessing Facter in other languages than Ruby?
Hi all, We''re writing a few scripts at the moment that could really make use of Facter, however the vast majority of them team (including my self!) are not proficient in Ruby, however they are highly proficient in other languages such as (dare I say it!) Python. Is there (or are there any plans to!) release bindings for other languages to enable facts to be used in scripts other
2010 Apr 23
6
/etc/passwd, shadow, group, hosts
Hello All, I''m new to puppet, and I''d like to know: Is there a formal best practices guide for syncing { /etc/passwd, shadow, group, hosts} across clients from the master? For instance; is it a better practice to make a hard link to these files and share the link, as opposed to just sharing the files directly via a target in fileserver.conf? Inquiring minds want to know...
2009 Jul 10
6
Best practices for building a file from distributed data.
G''day. I am wondering what the current best practice for building a single file out of distributed fragments is with puppet. Specifically, my problem: 1. Install munin-node on arbitrary machines. 2. Install ''munin.conf'' as a single file on one machine, containing a configuration stanza for every machine that munin-node is installed on. The current best practice
2010 Nov 11
9
preferred directory structure for multiple environments
Hello All, Moving from 2.5 to 2.6.2 and I was wondering if there is a preferred directory structure for using multiple environments? Does it work much different in 2.6 than in 2.5? When I made the move I assumed (I know) that my current structure and configurations would just roll over but that isn''t the case. Thanks, Jim -- You received this message because you are subscribed to the
2010 Dec 15
3
having trouble with puppet 0.25.5 on openbsd 4.8 on amd64
My manifest includes this snippet class app_client_openbsd { $app_client_pkgs_obsd = [ ''glib2-2.24.1p2'', ''gtar-1.23p1'' ] package { "${app_client_pkgs_obsd}": ensure => ''installed'', source => "http://${installserver}/openbsd/${operatingsystemrelease}/packages/${hardwaremodel}/${name}.tgz", } This
2010 Nov 11
7
Problem with modules
Hello. I use puppet 2.6.3-rc2 Now I try move my classes to modules. But I got a problem that Puppet does not sees modules. in puppet.conf: [main] logdir = /var/log/puppet rundir = /var/run/puppet ssldir = $vardir/ssl libdir = /opt/puppet-dashboard/lib/puppet modulepath=$confdir/modules In nodes : node postgres { include basesystem include postgres } In
2011 Jan 07
7
My external node classifier script is totally ignored
Hi, I just added an external classifier script, and things are not working as I expected to. Trying to read documentation about ext.nodes and searching the archives I couldn''t come up with any useful results. My classifier script outputs: --- YAML --- classes: - geodns::production::backend environment: production name: z01-06-02 parameters: puppet_server:
2010 May 20
10
Question about templates from variables
I''m running into an issue trying to do something like the following: class test { file {"test": content => template(''mytemplate1'',''mytemplate2''), } } class test::test2 inherits test { File["test"] { content +> template(''mytemplate3''), } } So, basically I want the inherited class to tack on another
2010 Dec 09
10
Invalid parameter when assigning parameterized class to a node
Hello, I searched through the archive of the google group but did not found any solution or hint for my problem. I want to assign the following parameterized class to a node. class httpd($certMail, $certOU) { ... } This is the node statement to assign the class to a node. node "someserver" inherits basenode { class { httpd: certEMail =>
2011 Jan 14
10
Using puppet to redeploy staging app
Hi, I''m building a staging environement and I would like it to be able to redeploy automatically, after each commit - or every hour, some applications. Those applications are right now deployed and set up by puppet. I wonder if I should use puppet to redeploy those applications after each commit, and if I should how trigger, on the puppet, a full redeployement of the application ? --
2012 Feb 13
5
Removing the ability to serve symlinks as symlinks from the master...
G''day. We recently found some issues with the `links => follow` setting in recursive file copying; the designed behaviour is that it should allow you to determine if the master serves a symlink in a module as a symlink, or as the content of the file that the symlink points to. The full details are here: https://projects.puppetlabs.com/issues/12418 The short version is that toggling
2008 Feb 07
1
SIP / RTCP statistics logging
G'day. I am wanting to find out how my SIP service is performing with Asterisk, especially jitter and dropped packets. I can get an overview of that using the 'rtcp stats' function at the console, but is there any way to get those logged to a file or some other permanent record? Nothing in logger.conf seems applicable, save perhaps directing verbose messages somewhere, but it
2011 Jan 06
7
Certificate / Private Key Mismatch
Hi, When I start puppetd on my client machine I get this message in /var/ log/messages: Parsing /etc/puppet/puppet.conf reopening log files could not request certificate; retrieved certificate does not match private key; Please remove certificate from server and regenerate it with current key Could not retrieve catalog from remote server Using cached catalog Could not retrieve catalog
2010 Nov 19
1
using an array to generate several files to down load via erb
Hi I have a requirement to generate several very similar config files which are just a couple of tokens different and with different names. These are barnyard conf files if anyone is interested and differ only in the interface name which is also part of the file name. I can include [eth1, eth2] in the manifest and I want to get files: barnyard.conf.eth1 ..... interface eth1
2002 May 25
3
Switching video mode
Hi, This is some short of technical question or might be my stupidity, please tell me so ;o) Ok, let's say I have an application which I would like to run in 640x480x32/fullscreen. I have my basic X desktop settings at 1024x768 and I would no like to change the resolution. Is there any way to let wine start an X server on another shell with a different resolution, automatically switch
2007 Apr 23
5
Asterisk dialing next extension only if first is busy?
G'day. I am having reasonable success getting Asterisk 1.4.2 running and doing what I want, but I can't figure out one particular idiom that I want: There are a few situations where I want to have Asterisk push a call through to the first available transport on a list, such as: I have two SIP ports attached to one local (two port) analog phone system. I want to ring line 1 for the
2010 Dec 10
2
Best practices using puppet on partially installed systems.
So, my configuration attempts are aimed at Linodes . Ubuntu 10.10 to be exact. Linodes are libcloud enabled as well as basically provisioned. What I seek to do is add to that, not build from nothing, since libcloud et. al. give me a base to work with. What is the canonical way to manage this situation? For example: $ puppet resource package --verbose openssh-client package {
2004 Mar 05
1
e2image, ext3 and nightly backups.
I have been looking at integrating the e2image tool into my nightly backup routines for my systems, to improve the odds that I can get data back if something disastrous happens to my file system. I have a couple of questions about this, though, to work out if this is actually worth doing. Is e2image worth running if the file system is online and in use, under the 2.6 series kernels, as part of