similar to: Help with custom class.

Displaying 20 results from an estimated 3000 matches similar to: "Help with custom class."

2009 Oct 19
7
Passenger Woes
Hello, I really didn''t expect this to be difficult, but I''ve been struggling with this all day :( I''m running CentOS 5.3, with rubygems, rack and fastthread, from EPEL. I''m running puppet-0.25.0-1 built from the spec file in the latest stable tarball. I''m using mod_passenger-2.2.5-2.el5 from Jeroen van Meeuwen (kanarip), which is effectively EPEL
2008 Jul 30
6
Refreshonly question
Does anyone have a technique for performing an exec the first time puppetd runs but then reverting to refreshonly => true state for subsequent runs? The basic idea is: file { "/etc/foo": notify => Exec["bar"] } exec { "bar": command => "Do stuff to /etc/foo", refreshonly => true } Should I use a fact that is unset based on a
2007 Dec 11
12
puppet seems to be restarting itself very often
I turned on reporting the other day and I''m seeing alot of these when puppet runs. Especially during times when nothing is going on (middle of the night etc) Tue Dec 11 12:34:48 -0500 2007 //base/puppet/puppet::client/Service[puppet]/ensure (notice): ensure changed ''stopped'' to ''running'' It''s also quite odd that puppet when it runs it thinks
2007 Jul 23
1
CentOS 5 Live USB
I took a stab at making a bootable CentOS 5 Live USB pendrive and I ended up with a kernel panic. I was able to do this with a live CD of CentOS 4, but it seems the same procedure does not work for the new version. Has anyone been able to accomplish this? Any and all thoughts are apprecicated! Mark
2005 Nov 24
3
The "single WINS" problem
Everybody encourages Samba admins to enable WINS whenever possible, and I agree that it helps a lot to solve these networks' problems. It's so good that, when it fails, it's a disaster. How are people coping with the samba limitation of not being able to replicate the WINS database and thus its inability to have more than one WINS server in a domain?
2007 Jul 06
1
help with route on centos
I have 2 machines running centos. each machine has 2 network cards. Box 1: eth1: T1 connection 74.X.X.X eth0: office connection 192.X.X.X Box 2: eth1: Cable modem 24.X.X.X eth0: office connection 192.X.X.X How do I issue a route command on each box so it will use eth0 as the shortest route between the two boxes??? Thanks, Jerry -------------------- On Box1 the route is: [root at mndemo ~]#
2007 Jul 05
3
New packages installation via CDRom
Hi, folks! Does anyone knows how could I install some new packages on CentOS (4 and 5) using the cdrom media? Att: My HD doesn't have much space to copy cdrom content to build a filesystem repository. I hope this great tool will should ask me by each cdrom witch it need, isn't it? Thanks in advance. Adriano Vieira
2008 Apr 02
1
service won't restart puppetd
I''ve got the following class that runs if I activate the repo in /etc/yum.conf. If I run "puppetd -t" from the command line it will restart puppetd fine. If I let the class run on it''s own as a deamon puppetd does not restart. The puppetmaster on the other hand does restart using either method. I ran the client in "--debug" but that doesn''t seem to
2010 Dec 14
7
source /etc/profile
Hello , There is a way to source /etc/profile inside puppet on demand? My problem is that I install Java, afterwards I set JAVA_HOME variable in /etc/profile. After Java is installed, a gem which depends on Java starts to install ... but as it needs JAVA_HOME environment to be set, it fails. I am not sure what can I do ... Thank you, Adrian -- You received this message because you are
2007 Apr 13
7
"Parsed Providers must define a default target" error
I''ve just noticed that Puppet is failing to automatically apply changes when running as a Red Hat service. Changes get applied with no problems or errors when I run Puppet manually with "puppetd --test" but fail with a "Could not apply complete configuration: Parsed Providers must define a default target" error in /var/log/messages when the service runs automatically
2011 Oct 05
4
SPlus to R
I'm trying to convert an S-Plus program to R.  Since I'm a SAS programmer I'm not facile is either S-Plus or R, so I need some help.  All I did was convert the underscores in S-Plus to the assignment operator <-.  Here are the first few lines of the S-Plus file:   sshc _ function(rc, nc, d, method, alpha=0.05, power=0.8,              tol=0.01, tol1=.0001, tol2=.005, cc=c(.1,2),
2009 May 13
1
[Fwd: Re: How to generate a .template and .jigdo from an iso image?]
Hi Ralph I received this e-mail from Fedora Infrastructure list. My problem at that moment was a proper syntax for the jigdo-file command. Using the their script as reference, I made a simpler one to test the command[1]. And it's working: newt (Linux) $pwd; ls -l *.jigdo *.template /users/newt2/mgarcia/iso/dvd -rw-r--r-- 1 mgarcia slocate 214226 May 13 13:44
2004 Aug 06
5
capturing pid from command line
On Mon, 2003-11-03 at 21:53, Dave St John wrote: > Anyone know of or how to capture the pid via the command line in bash? pidof ??? $ pidof httpd 827 825 824 788 -- Drew <p>--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only
2006 Jun 21
2
startup script for icecast
Hello, I was wondering about the feasibility of including a startup script for icecast for redhat/fedora installs? I've had to do an rpm install on an fc4 box, and a source install, rpms couldn't be found for an rh9 machine, yah i know that's old. And in both cases i had to drop in a custom-made startup script, see below. I was wondering esepcially in the case of the rpm, and
2002 Nov 03
1
Ansari-Bradley test (PR#2252)
Full_Name: Wei Xu Version: 1.5.1 OS: WindowsME Submission from: (NULL) (63.215.238.92) The P-value for a two.sided test is not consistent with the confidence interval. For example, P-value=0.1372, but the 95% CI doesn't include the H0 value(1). > x [1] 0.80 0.83 1.89 1.04 1.45 1.38 1.91 1.64 0.73 1.46 > y [1] 1.15 0.88 0.90 0.74 1.21 >
2006 Aug 02
7
OpenSuSE packages
Hello, I just made packages for puppet for OpenSuSE. They are available at my yum repo at http://lmmri.fri.uni-lj.si/suse/ I had to change the init scripts and the first line of puppetd and puppetmaster programs from #!/usr/bin/env ruby to #!/usr/bin/ruby otherwise the killproc from init scripts could not kill the daemons. Unfortunately I had to change the spec file as well. I wonder
2015 Apr 20
4
bash script fails conditional test
> > "-e" means "if file exists". You should use "-n" That did it!! [root at web1:~] #./bin/check-cass.sh Cassandra is running with pid: 26979 This is what the script looks like now: #!/bin/bash pid=$(ps -ef | grep cassandra | grep -v grep | grep -i -v -e grep -e screen -e s3fs|awk '{print $2}') if [[ -n $pid ]] then echo "Cassandra is
2019 Nov 21
3
Issue with "ExecStartPost" attribute in systemd daemon faile
Hello, I'm trying to configure a daemon (I'm doing tests with "crond" daemon) to send me an email after daemon restart. My "crond.service" file is: # /etc/systemd/system/crond.service [Unit] Description=Command Scheduler After=auditd.service systemd-user-sessions.service time-sync.target #OnFailure=crond-notify-email@%i.service [Service]
2015 Apr 20
1
bash script fails conditional test
> > You can probably replace that with a much cleaner pid=$(pidof cassandra). Good to know! I hadn't heard of pidof before. However this is what I get when I run it: [root at web1:~] #pidof cassandra [root at web1:~] # Returns nothing. However: [root at web1:~] #pidof java 27210 11418 10852 Gives me a few pids. Only one of which belongs to cassandra, as I have a few java processes
2004 Aug 06
4
REQ: Parent Id
Before the official release of icecast2 1.0 (non beta) i would like to see pid file management, ive discussed this before on how to capture the pid, but ended up with alot of bash rigamaroo that mounted to even more headaches. omething in the config file like <pid>/path/to/icecast.pid</pid> I would be willing to donate some bandwidth to xiph, to aleaviate this issue that causes sever