similar to: Puppet truth, nil and templates

Displaying 20 results from an estimated 5000 matches similar to: "Puppet truth, nil and templates"

2012 Aug 04
1
string matching in erb template
Hi! I am trying to match a string in an ERB template but for what ever reason it does not work. <% if has_variable?("apache2_phpmyadmin_url") && apache2_phpmyadmin_url != "" then %> ProxyPass /<%= apache2_phpmyadmin_url %>/ ! <% end %> The conditional works on has_variable? but the != "" is not getting evaluated. When the
2013 Feb 20
0
APC MeasureUPS support
I sent this to the NUT users list and no response so I thought I'd send it here next.. It's a pretty easy issue really: > Hey all, > > I have a measure-UPS card and the external cabled module. > > They're supposed to operate the same... does NUT auto detect them when using the apcsmart driver or are there config parms required? > > The the smart-slot unit is
2003 Nov 24
0
Joining Samba 3.0.0 to Windows 2000 domain
Hi, After unsuccessfully trying to join a samba server to my Win2k domain, I turn to you guys for help. The samba server in question is called BRITERSEN, and is on 192.168.1.4, the Win2k domain controller is called SPOCK and is on 192.168.1.3, the domain in question is petenet.britersen.co.uk Getting a kerberos ticket seems to go ok: [root@britersen:~]# klist Credentials cache:
2006 Oct 11
1
Problem adding printer drivers
Hello, Environment: Samba-3.0.23c on Solaris 9 using LDAP (Sun DS 5.2) I'm trying to follow the procedure in the Samba 3 HOWTO in Chapter 21 to install printer drivers to the print$ share on the samba server. I've got as far as extracting the drivers from a Windows machine and am trying to register them with Samba using the rpcclient adddriver command. The command I'm using:
2011 Jan 11
2
Differences between puppet and puppetd
Hi all, I am using Puppet to execute an Expect script (http://expect.sourceforge.net) on a client. The Puppet recipe, test.pp, is: exec { ''/root/test.exp'': command => ''/root/test.exp'', logoutput => true } The recipe runs correctly when run using ''puppet --debug --verbose test.pp'': debug: /Stage[main]//Exec[/root/test.exp]:
2005 Aug 30
0
No subject
Does anyone know a solution ? TIA Patrick -- "Live long and prosper, Spock." -- T'Pau "I shall do neither. I have killed my captain, and my friend." -- Spock Fingerprint = 2792 057F C445 9486 F932 3AEA D3A3 1B0C 1059 273B ICQ# 316932703 Registered Linux User #44550 http://counter.li.org --Signature=_Sun__11_Jan_2004_20_46_41_+0100_0GSwb.JLcjNTC0By Content-Type:
2009 Aug 20
2
[Bug 1634] New: [PATCH] openbsd-compat/glob.h conflicts with system glob.h
https://bugzilla.mindrot.org/show_bug.cgi?id=1634 Summary: [PATCH] openbsd-compat/glob.h conflicts with system glob.h Product: Portable OpenSSH Version: 5.2p1 Platform: All OS/Version: FreeBSD Status: NEW Severity: normal Priority: P2 Component: Miscellaneous AssignedTo:
2002 Jul 04
2
Samba Server - WinNT Domain
I successfully joined my Redhat Linux 7.2 box to my Windows NT domain. I can ping it's IP address but not its Netbios name. I have it set to obtain the IP address form the NT DHCP. Also on the RH Linux box, when I try to browse the local network, I receive the error: Unable to connect to host localhost. My samba configurations are okay. And I have the nameserver set in the resolv.conf file
2011 Nov 28
11
Is it possible to conditionally replace a file ?
As far as I can tell, the "replace" parameter is all or nothing. What I am looking for is something like the exec/onlyif parameter that I can use to conditionally replace a file. Any thoughts ? “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bill Waterson (Calvin & Hobbes) -- You received this
2006 Oct 02
3
Mongrel cluster FreeBSD rc.d script
Hello all After installing Mongrel, Mongrel Cluster and all it''s dependencies via gems under FreeBSD. Next I have configured all config/mongrel_cluster.yml for each Rails app, then: % mkdir /usr/local/etc/mongrel_cluster and likend each railsapp.yml to it''s refering app/config/mongrel_cluster.yml My question is, after preparing all base configs now I need to add some rc.d
2001 Oct 17
0
Caldera/SCO Binaries Available
Binary packages for Caldera/SCO OpenServer 5.0.6 and for OpenUnix 8 (UnixWare 7.1.x) are now available from the Binary_Packages area on the Samba FTP site. Please note that these are the official Caldera/SCO release packages. Cheers, John T. -- John H Terpstra Email: jht@samba.org An argument of minds: "Please help me to find the intellect in Intellectual Property" "Not me, I
2012 Oct 23
1
Permission "nfsnobody" and mounting an nfs share in a datacenter
Hi A datacenter I use provides mountable nfs shares that are provided through a subnet, the only person having access to the nfs share is me. If I do this: mount -t nfs 192.168.53.21:/USERNAME /mnt/share/ then I get the share: [root at hostname /mnt/share] #>ls -la total 12 drwxrwxrwx 2 nfsnobody nfsnobody 4096 Oct 9 18:04 . drwxr-xr-x 7 root root 4096 Oct 9 17:55 ..
2013 Dec 16
0
[Bug 58378] [NV86] Distorted graphics on NVIDIA GeForce 8400M G after upgrade the kernel to 3.7.0 version
https://bugs.freedesktop.org/show_bug.cgi?id=58378 --- Comment #39 from Andreas Loew <awl1 at gmx.net> --- > You really want to be doing a git bisect to do the least amount of work; I > don't see what you mean by "move forward" but I really hope that you are > testing the commits in a binary tree style. Yup. Indeed, I am trying to use a "binary" approach to
2010 Sep 03
0
DHCP server 4.x rpm?
Hi all, Has anyone built an rpm for DHCP server 4.x for CentOS 5 or used a Fedora rpm? Anyone using dhcpd 4.x on 5.5 and can give me a heads up on any pitfalls that I need to be aware of? Thanks in advance. ____________________________ Matt Ausmus Network Administrator Chapman University 635 West Palm Street Orange, CA 92868 (714)628-2738 mausmus at chapman.edu <mailto:mausmus
2005 Mar 22
1
Can't Modify files on SMB PDC
Hi all .. I'm having problems with my Samba PDC and WinXP clients, I can create and delete files/directories on any share, but when i try to modify any file, it sends a "Permission Denied, Maybe the disk it's full .. " error on the client. My conf is: Redhat 8.0 on i386 Linux 2.4.18-14 Samba 3.0.4 For corporate reasons i can't upgrade my linux distro..
1997 Sep 20
0
SAMBA digest 1426
samba@samba.anu.edu.au wrote: > Samba, as we know, is wonderful. I truly enjoyed my Sun PC/NFS > disk/documentation bonfire. I operate Samba on some Sparc 10's running > Solaris 2.5 and 2.6, mixed in with Win/NT 4.0 servers at SP3. Everybody > (almost) at this site uses Win95 and WinNT PCs, but needs access to > unix disk space for some other purposes. Samba bridges that
2008 Mar 28
13
Is Wine taking my donations and giving them to CrossOver?
Well I must say. I certainly feel like a fool now. I have been contributing to Wine for about five months, and was shocked to see a blatant advertisement for CrossOver, who take the hard work of those who have contributed their intellect for free and sell it for profit, on your home page. I then discovered through your own FAQ that most Wine developers are employed by CrossOver. Is this legal?
2006 Feb 07
17
Easy way of dealing with nil properties in templates?
Is there an easy way to deal with nil properties in templates? All I''m aware of are these methods, and it''s quite tedious and surely violates DRY. <%= @member.name unless @member.name.nil? %> <%= @member.name.to_is %> <%= "#{@member.name}" %> csn __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the
2003 Apr 22
0
Correct SE in a poisson model.
Hi all, I'm here again with my newbies questions :( I have a simple example: count of slugs in two fields. I need to make a barplot with mean and SE of mean. So I have: The mean: > tapply(slugs,field,mean) Nursery Rookery 1.275 2.275 The SE: > tapply(slugs,field,sd)/sqrt(tapply(slugs,field,length)) Nursery Rookery 0.3651264 0.3508004 If the data has been normally
2013 Feb 01
1
Question for Dev's on NUT's upsstats.cgi
Hey guys, New user to NUT and was playing with the upsstats.cgi. On my website, I have everything going through a wrapper script that frames the pages. So my web files are actually truncated since the wrapper installs all my headers for me. When using the upsstats.cgi, it works fine embedding it into my pages and then editing the .html template EXCEPT, I can't get rid of: Content-type: