Displaying 20 results from an estimated 2000 matches similar to: "freebsd service management redux"
2006 Sep 21
3
FreeBSD startup script, can''t set pidfile
Hi,
I''ve installed puppet gem on freebsd 6.1 and wrote a simple startup
script for puppetmasterd. It starts fine, but doesn''t create the
pidfile, so I can''t stop it. Here is my script:
#!/bin/sh
utility_enable=${utility_enable-"NO"}
utility_flags=${utility_flags-""}
utility_pidfile=${utility_pidfile-"/var/run/puppetmasterd.pid"}
.
2007 Sep 17
7
syslog spam
Is there any "correct" way to get puppetmasterd to not spam syslog with (mount[blah]) File
source foo does not exist messages when using file source selection lists? I use them
quite extensively, so it''s getting quite out of hand. The last resort will be to comment
out the offending print statement!
--
Russell A. Jackson <raj@csub.edu>
Network Analyst
California State
2007 Feb 08
16
exported ressources
Hello,
i wanted to know if we can use exported ressrouces to do things like this:
- for all nodes tagged as xxx create on the node yyy a file which content is a template where we can have each hostname
, or create one file per nodes matching
exemple
/etc/hosts.allow
sshd: host1
sshd: host2
...
or
/etc/backuppc/host1
/etc/backuppc/host2
...
from the docs it seems i can collect only ALL
2007 Aug 01
12
Puppet uses too much RAM memory
Hello,
I have two Vmware images, with 256MB of RAM memory each one, running
puppetmasterd for the server and puppetd for the client. It''s normal
that my puppetmasterd and puppetd occupies almost 10% of RAM memory
each one? They aren''t doing anything especial, just listening on the
ports.
Thanks.
2007 Oct 30
1
puppet.conf sections
I''m a little confused by the configuration reference. Is the following configuration
supposed to work in 0.23.2?
# $Id$
2
3 [main]
4 confdir = <%= confdir %>
5 vardir = <%= vardir %>
6
7 rundir = /var/run
8 logdir = /var/log
9
10 ssldir = $vardir/ssl
11
12 [puppetmasterd]
13 manifestdir = $vardir/manifests
14
2007 Aug 07
5
parsing manifests in a pre-commit hook
Hello,
I was wondering if there is a way to parse individual manifest files as
part of a pre-commit hook in subversion. I am looking for something like
puppetmasterd --parseonly, but that will work on individual files. This
way I can reject a commit if it does not pass.
Any ideas?
TIA
2007 Jan 07
6
0.22.0 Errata: Facts are not downcased
I forgot to mention this in my announcement yesterday.
Puppet facts are no longer downcased in the language, and string
comparisons now default to being case-insensitive. Where your
operating system might previously have been ''solaris'' or ''debian'', it
is now ''Solaris'' or ''Debian''. However, you can still do comparisons
2007 Jun 13
3
trigger configuration run remotely
I was wondering how to trigger a configration run remotely. Is this
possible? Looking through the docs, I see mention that puppet can listen
on port 8139, but I don''t see that this is the case on my servers. Can
someone please enlighten me as to the proper method of doing this, if it
can indeed be done?
Thanks!
2007 Oct 03
4
puppet exit codes and svn pre-commit hook
Hi everyone,
I''m using a svn pre-commit hook to check manifests for syntax errors.
I''ve recently upgraded puppet from 0.22.4 to 0.23.2 and the hook stopped
working. I use the following command to parse .pp files:
/usr/local/bin/puppet --confdir=/tmp --vardir=/tmp --parseonly --ignoreimport /tmp/$$.pp
Now, I make a decision based on the exit code. If 0 then commit, else
exit
2007 Jun 08
5
website down ?
seems that the tracksite is down ?
--
Cordialement,
Ghislain
_______________________________________________
Puppet-users mailing list
Puppet-users@madstop.com
https://mail.madstop.com/mailman/listinfo/puppet-users
2007 Mar 28
4
How is defined() used?
Hello
What am I doing wrong here?
$test = defined(User[''foo''])
_______________________________________________
Puppet-users mailing list
Puppet-users@madstop.com
https://mail.madstop.com/mailman/listinfo/puppet-users
2007 Mar 13
11
N00B questions: How to dynamically set hostname in a config file . . .
Greetings -
I''ve just started testing Puppet and have a couple of questions:
1. Is there a way to dynamically change a configuraion file that is
sent to nodes?
For example, I want to modify /etc/hosts to have the hostname and ip
address set dynamically - the hosts file shoule look like:
12.34.56.78 node1.example.com
22.35.66.99 server1.example.com
But I don''t want to
2007 Sep 04
9
exec creates and subscribe
I have the following test case:
file { sendmail-conf:
path => "/etc/mail/${fqdn}.mc",
owner => "root",
group => "wheel",
mode => 0644,
links => follow,
source => "puppet:///sendmail/${hostname}.mc"
}
$mail_dir = "/etc/mail"
$cf_dir = "/usr/share/sendmail/cf/"
exec { build-conf:
command => "/usr/bin/m4
2007 Jul 02
3
0.23.0 puppet dependancy issue
Hello,
I use some define in classes like
class foo {
define bar() {}
}
before in .22.4 i had require => Bar[''mybar''] on object and it worked.
Now i have :
err: Could not apply complete configuration: Could not retrieve
dependency ''Shorewall-realize[shorewall.conf]'' at
/etc/puppet/manifests/classes/shorewall.pp:
for exemple. Do anyone knwo why it
2007 Oct 01
5
freebsd ports provider patch to use ports tree directly
The included patch is what I''ve been able to throw together in a few
hours after studying the pkgtools code. All I''m using the library for at
the moment is to resolve the proper base location of the ports tree, but
at least by invoking make directly instead of through portupgrade it
works *a lot* better.
Is there a proper way to include/require a third party ruby library?
2007 Jul 16
5
exec and notify
Are exec resources triggered by notify events supposed to be run once for every event
received or only run once per run irregardless of the number of resources that notified
it? It seems to me that it gets run twice no matter how many resources triggered it.
consider the following class:
class dhcp {
$prefix = "/usr/local/etc/dhcpd"
$dhcpd_conf = "$prefix/dhcpd.conf"
2007 Jun 05
3
custom type, recipe, how to solve this ?
Hi,
I have a little trickky thing i wanted to do with puppet, mainly this
is configuring web host on servers. I have a tree like this :
NODE
- WEB
-APACHE
- 1.x
- 2.x
- FTP
- VSFTP
- PROFTPD
- STATS
-AWSTATS
- if FTP then configure awstats for awstats
- URCHIN5
So my issue is that i want to be able to have
2006 Jul 02
0
Use of "&" kills rails -- redux
I see someone else mentioned this below, but the answer was just "use
&&", which isn''t what I''m looking for.
I''m using acts_as_ferret in my web app, but if the user inputs certain
symbols, like &, it kills his/her browser. I''m running everything
locally on OS X. I had to reboot OS X because the crash was so bad.
Is there a way to
2006 May 09
2
Hosting Question Redux
Well,
In my first email I asked if anyone knew how to set up a rails site for site5. I had one reply that sent me to rubyhosting.org, where it states: tutorial coming. Does anyone actually know how to host a rails site?
Thanks
__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at
2006 Apr 28
1
Full-text Search Options Redux
Hey all,
I haven''t heard much on the list in a while re: ActiveSearch, Ferret,
Hyper Estraier, etc. in a while.
Has anyone successfully used ActiveSearch on tables with rows in the
order of hundreds of thousands, if not millions?
(in our case, each row containing anywhere from a paragraph of text to
many pages)
Here''s some background on our search efforts.
A. Hyper