similar to: Any path manipulating functions available in puppet''s lang?

Displaying 20 results from an estimated 10000 matches similar to: "Any path manipulating functions available in puppet''s lang?"

2006 Sep 06
4
FQDN nodes in LDAP
Hi, I''ve set up puppet to get node definitions from LDAP as per the docs. It''s been working well, but I now want to use fully qualified domain names instead of simple domain-less hostnames for the node name. I replaced the ou=Hosts entries with equivalent ones using FQDNs, restarted the puppetmasterd, and tried a "puppetd --test" from one of the nodes. However, I
2006 Sep 20
2
Defining function in template files?
Hi, Is it possible to define a function in a template file? For example, I thought it might be a good idea to define my Debian systems'' /etc/apt/sources.list files based on what level of stability and freeness a system should have. So I have this puppet code: #---------- apt.pp ---------------- define apt-sources-list
2006 Sep 07
13
How to handle config files used by a combination of classes?
Hi, How should I handle the combinatorics when one config file must be built for a combination of possible classes? Take for example the amd automounter''s configuration file, which on Debian is found at /etc/am-utils/amd.conf. This is an INI style file which looks like: [fsname1] param1=foo param2=bar [fsname2] param1=baz param2=quag In my case I have one class of machines
2006 Sep 01
4
Recent crashes
Hi, After figuring out the strange "rdoc" related crashes yesterday I''ve really started to test out puppet today. However, as my manifests become more complex I''m back to seeing random crashes again. I read the recent message in the archives of this list about downgrading to Debian''s libruby1.8-1.8.4-1 but it seems like only the "-5" version is in
2010 Aug 31
1
0.24.5 puppetmaster, 0.25.4 puppetd, version sheer?
This feels like a FAQ and sorry if it is, I failed to find an answer. I''d like some advice on handling backward compatibility between puppetd and puppetmaster. My puppetmaster is at v0.24.5 using Debian Lenny packages. I tried to bring up a puppetd client v0.25.4 (Ubuntu 10.04 packages) but failed to have it download the puppetmaster''s certificate. The puppetd client seemed
2006 Sep 12
8
"undefined method `retrieve'' for nil:NilClass" when attempting to run puppetmasterd
I posted this earlier on IRC, but it didn''t seem anyone was active: <mozillaman>Hey all! <mozillaman>Quick question for you :) <mozillaman>I installed puppet according to the directions on the site and got this: sudo /usr/bin/puppetmasterd --nonodes undefined method `retrieve'' for nil:NilClass <mozillaman>Anyone have any ideas? Any help would be
2006 Sep 02
7
BayLISA Puppet presentation video
Hi all, Jennifer Davis from BayLISA has done us the service of already posting the presentation from this past Wednesday night: http://video.google.com/videoplay?docid=8202036065161263530&hl=en http://video.google.com/videoplay?docid=7740462681265962824&hl=en It''s about 2 hours total, and I can''t promise it''s any kind of amazing presentation, but I do a
2018 Feb 08
2
[PATCH] syslinux/com32: Fix the printing of left zero padded hexadecimals with a leading '0x'.
From: Brett Walker <brett.walker at geometry.com.au> When printing hexadecimal numbers to a fixed width, padded with leading zeros, and also having a leading '0x'; the resultant string can be shortened by up to two characters if any leading zero padding character required is. int hexnum = 0x00001234; printf("%08X", hexnum); // results in 00001234
2010 Dec 10
3
Re: [Puppet-dev] Converting to Ruby DSL
On Dec 8, 2010, at 11:09 AM, Ken Barber wrote: > (cross posting here as I originally posted in puppet-users - I figure the question is more of a dev one then for puppet-users) > > Hi everyone, > > I''m experimenting with converting some of my live puppet content to > Ruby DSL and have found a few gaps I wouldn''t mind some advice on. I''m > not sure
2006 Sep 01
5
templates and require
Thanks everyone for your quick responses to my questions. I''m trying to get templates working. I want to pull the template down from the puppet server, then use it. It looks like the require parameter is not being enforced when using the content parameter so the template can''t be found. This doesn''t work: file { "/etc/lighttpd/lighttpd.conf" :
2007 Mar 06
1
Error: child 469 (imap) killed with signal 6 (with rc25)
I updated to the latest rc25 and started getting these messages(over and over again). This is on a Solaris 10 box and I tried compiling with gcc and sun c. I backed down to rc23 and the messages went away and everything works. Any body have an idea on what could be wrong? thank you dovecot: Mar 04 21:14:33 Error: child 467 (imap) killed with signal 6 dovecot: Mar 04 21:14:33 Error:
2010 Nov 07
2
Asterisk 1.6 (realtime) - Overwritten CallerID(num) Problem
Hello, I am running Asterisk 1.6 with Realtime enabled for my SIP users and peers. The backend is a MySQL database running through the ODBC backend in Asterisk. At this point everything works in terms of phones registering, placing calls between them, etc. However, I am having a problem setting the Caller ID number whenever I am using the Realtime database for the SIP users/peers. If I use a
2005 Feb 28
3
(no subject)
Dear R Can you tell me how to change the working directory of R It's just that I have some text files that I wish to save separately from the R filing structure eg. into C:/my documents and need to change the working directory of R so that it reads these files . This means if I ever upgrade the current version of R nothing will be effected. brett Brett Stansfield Environmental Scientist -
2005 Feb 02
1
FW: Document1
> -----Original Message----- > From: Brett Stansfield > Sent: Wednesday, 19 January 2005 4:25 p.m. > To: 'S.Ganesh at massey.ac.nz' > Subject: Document1 > > <<Doc1.doc>> I was trying to get R to analyse one variable of the file > Chicken Weight. when I ask > > hist(data$weight) > R says "x must be numeric" > yet when I
2011 Oct 15
5
fuck yeah markdown
brett terpstra continues his obsession with markdown... > http://fuckyeahmarkdown.com/ there's also a g-rated version: > http://heckyesmarkdown.com/ brett has accomplished more in the last three months than this listserve accomplished in the last three years. and it looks like he's only just getting started... meanwhile, fletcher is about to send off his rocket, which
2010 Nov 12
3
Official Documentation for Asterisk 1.6 Realtime ODBC Tables
Hi All, I'm having an issue where Asterisk continuously sends out a GAZILLION "SIP NOTIFY" messages when a user has a voice message in their INBOX. This issue is only present when my SIP users and peers are configured from my ODBC backend (MySQL). A static configuration of users in sip.conf resolves this and everything works fine. I'd like to confirm the layout of the
1998 Apr 07
2
SAMBA digest 1647
Very very very cool. I have been thinking of this one myself. I thought I tested it and that I came to the conclusion that Samba did not recognize named pipes, and just treated them like normal files (overwriting them when you drag a text file onto them). But I must have made a mistake somewhere. It' perfect. The way I will set it up is like this: a Progress program will sit on a named
2002 May 30
1
Documentation Bugs (PR#1618)
Just a few documentation "bugs" that I've noticed recently. 1. In the help for (dpqr)weibull(), the formula given for the variance of a Weibull is wrong. The correct formula is b^2 * sqrt(gamma(1 + 2/a) - (gamma(1 + 1/a))^2)) Note that I've also changed Gamma to gamma, which I think is preferable since this is actually the name of the gamma() function
2001 Feb 27
2
win clients and sftp
I'm having trouble with users transferring files to a solaris box running ossh v2.3.1p1 via sftp using ssh.com's windows client. The sftp client appears not to respect the users umask, creating files with either mode 666 or 600. We're using version 2.4.0 of the windows client. Any ideas? thanks, -Brett ----------------- Brett Longworth Systems Manager Department of Biology
2005 May 26
1
Chi Square Test on two groups of variables
Dear R help I have been trying to conduct a chi square test on two groups of variables to test whether there is any relationship between the two sets of variables chisq.test(oxygen, train) Pearson's Chi-squared test data: oxygen X-squared = 26.6576, df = 128, p-value = 1 > chisq.test(oxygen) Pearson's Chi-squared test data: oxygen X-squared = 26.6576, df = 128,