similar to: variables created with generate() function have a newline when used in a template

Displaying 20 results from an estimated 4000 matches similar to: "variables created with generate() function have a newline when used in a template"

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 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
2011 Jan 08
3
Passing node hostname to the Puppet managed node
Hi, First of all, this is my very first message to this list, so please bear with me while I''m getting used to it. Sorry for any non-standard way to ask a question here which I can be using without prior knowledgment. I would like to be able to set up some config parameters on a given node which is going to be config-managed by Puppet and, for various reasons, I would like to be able
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 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 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 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 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
2012 Feb 03
16
neatest way to determine a major version of centos/linux?
Just started a rollout of centos 6.x across our Puppet deployment (100-odd servers). what fact would people suggest I use to distinguish 5.x from 6.x (quite a lot of subsystems are different between major releases)? lsb* facts don''t seem to be present on centos 6 - is this an EPEL bug, or have they just been removed in Facter? Thanks! -- You received this message because you are
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:
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
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
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
2010 May 12
19
puppet-module-apache
Hey all, I''ve open-sources Digg''s apache module: http://github.com/plathrop/puppet-module-apache I know this isn''t much more advanced than what I''ve seen a lot of people using. Here''s my proposition, though. Let''s get all the disparate "apache" modules out there merged together into One Awesome Module. What do you think? One module
2007 Mar 14
3
DECT to SIP gateway experiences
G'day. I hope this isn't off-topic for the list. I am looking at an Asterisk setup that includes cordless phones. The three choices I can see, at this stage, are: * wifi phones * an ATA and a cordless analog phone * a DECT to SIP basestation The various wifi phone options don't grab us as suitable -- they are costly, have poor battery life and even the best have pretty mixed