Displaying 20 results from an estimated 10000 matches similar to: "Templates and Ruby"
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 07
17
Puppet/webrick benchmark
We haven''t been able to use mongrel for testing yet, but in order not to
waste time, we did some performance testing with 1, 2 and 4
puppetmasterd/webrick processes.
Attached is an HTML page (ripped from our wiki - not pretty, but
reasonably readable) which describes the method and results.
If someone feels like making some nice graphs, that would be great. If
not, I''ll try to
2008 May 27
12
Puppetting the puppetmaster problems
Hi,
installing puppet at my first site was quite easy (not w/o problems,
but still). At the second site, I''ve run into something more serious.
First things first - I install puppetmaster on existing server, used
to keep LDAP db (my puppetmaster DOES NOT use LDAP, it just tries to
coexist on the same machine). The thing is, I need to puppet this
baby, so I''m running into a
2010 Feb 19
11
Strange messages on 0.25.4.
Hi all.
I am testing 0.25.4 to upgrade from 0.23.2.
In testing, I found two strange messages on 0.25.4 which I have never
found on 0.24.3.
So could you tell me what these messages mean and how to fix them.
[Environment]
Puppetmasterd
-version : 0.25.4
-OS : Solaris10 10/09
Puppetd
-version : same as Puppetmasterd
-OS : same as Puppetmasterd
[Strange messages]
1.When Puppetd
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
2010 Dec 06
7
error running puppetrun
Hi,
I have been getting the below error for sometime now. Both master and
client are using version 0.24.8.
Output from /var/log/messages
err: Could not call puppetmaster.getconfig: #<#<Class:0xb7b50a9c>:
execution expired>
err: Could not retrieve catalog: execution expired
P.S- all of this was working absolutely fine and suddenly has started
to misbehave.
Regards,
--
You
2010 Oct 19
14
client won't use remote file bucket
Hi all,
I''m having a stupid moment getting a remote file bucket working. My
client only file buckets locally, not remotely.
I have this site.pp:
*********
filebucket { "main": server => "puppet" }
File { backup => "main" }
node ''default'' {
include test
}
*********
and this test module:
*********
class test {
file {
2013 Dec 06
13
Can't seem to get modulepath attribute recognized by puppetmasterd
Warning - Puppet newby here.
I am trying to set up a puppetmaster 3.3.2 and have run into a snag right
out of the box.
I want to add a new directory to modulepath= in /etc/puppet/puppet.conf
So I added the following line in the [main] header
modulepath = /etc/puppet/modules:/opt/our-repo/puppetmaster/modules
And populated new new directory with modules I have written.
I then run
puppet
2011 Jun 13
15
puppet clients
I''ve gone over the documentation several times now and I can''t figure out how to ''apply'' a manifest to a client.
The client does have a signed certificate but the only thing in the /etc/puppet folder on the client is an ssl directory.
I have a manifest that works fine on the puppet ''master''
I have added the client into
2009 Apr 07
3
Speed bumps on the way to successfully running puppetmasterd on Mac OSX Leopard, try one and two
Hey all,
I have recorded my steps towards getting puppet functional
through one of the four different methods that I can think of, which
are:
1.Source(copying and insatlling to the recommended unix FSH
directory, /usr/local/src)
2.pkg hosted at explanatorygap
3.MacPorts
4.RubyGems
I haven''t cleanly tested the last two, but here''s where I am with the
first two:
1. I
2012 Feb 09
2
Puppet master can not find file_metadata for my puppet module
Hello,
I am running a puppet master version 2.7.5 on Centos 5.7 and a puppet
agent version 2.7.5. I am simply trying to apply changes to files by
defining a file resource in my manifest. When I execute my puppet
agent to do the installation it complains it can not find the file
meta data.
Here is my manifest.
class neospeech::config {
file { "/usr/vwmrcpd/vwmrcpd/vwmrcpd":
2010 Aug 19
7
External CA: Could not run: Could not retrieve certificate for puppetsrv and not running on a valid certificate authority
Hi Experts,
I''m trying to generate my own certificates (all of them, including certs for
CA, server and client) for puppet to use.
and I''m getting "Could not run: Could not retrieve certificate for puppetsrv
and not running on a valid certificate authority"
Just wondering what the problem could be?
What I did is:
1. generate a self signed CA cert, and save the
2011 Feb 15
6
trouble with retrieving information from current source
I''m rather new to puppet and I''ve been trying to get a module to work
on the client servers. Right now I''m trying to get
http://forge.puppetlabs.com/ghoneycutt/pam to run. When I try to run
it I get these two errors:
err: //pam/File[/etc/pam.d/sshd]: Failed to retrieve current state of
resource: Could not retrieve information from source(s)
2011 Jun 20
13
confused about file ensure/require
my base/default includes this ntp manifest
# cat modules/ntp/manifests/ntp.pp
# ntp.pp
class ntp {
case $operatingsystem {
centos, redhat: {
$service_name = ''ntpd''
$conf_file = ''ntp.conf.el''
}
debian, ubuntu: {
$service_name = ''ntp''
$conf_file = ''ntp.conf.debian''
}
}
package {
2012 Jan 20
9
client not getting updates no error message
whenever i run a test from client it finishes sucessfully but client
is not getting any configuration changes from server
[root@PROXY-02 tmp]# puppetd --noop --test
notice: Ignoring --listen on onetime run
info: Caching catalog for proxy-02.carnation.in
info: Applying configuration version ''1327091881''
notice: Finished catalog run in 0.02 seconds
[root@PROXY-03 modules]# puppet
2007 Nov 26
2
Unable to launch puppetmasterd after installing mongrel
Moving to mongrel as our footprint has grown considerably.
Configs worked fine before but for some reason we are unable to start
puppet on the new host.
Any help would be greatly appreciated.
-jeff
Centos 5
# ruby -v
ruby 1.8.5 (2006-08-25) [i386-linux]
# gem list mongrel
*** LOCAL GEMS ***
mongrel (1.0.1)
A small fast HTTP library and server that runs Rails, Camping,
Nitro
and
2007 May 04
3
fileserver hanging
hello,
we just wanted to rollout our new puppetized dmz. therefore i change all
ip adresses from the test network to the live ips. after restarting
puppetmasterd it seems that the fileserver hangs:
client log:
debug: //true_base/update-check/File[/sbin/update_check.pl]/require:
requires Package[libmail-sendmail-perl]
debug: //true_base/puppetd/File[/etc/puppet/puppetd.conf]/require:
requires
2007 Nov 06
6
size of template file
Hi,
How big a template file can be?
When I tested with a kind of large file (about 23KB, 570 lines),
puppetmasterd ended up with a segmentation fault.
Then I made the file shorter than original (about 6KB, 145 lines),
the file was created but it is shorter than it should be.
What I have is just 3994 bytes and 80 lines.
Replacing the string is done correctly.
I would like to know the limit of
2007 Nov 11
4
puppetrun fails: "Certificates were not trusted"
Hello all,
I''ve tried to run ''puppetrun'', but there seems something unconfigured regarding the certificates. The reverse way (puppetd pulls the config from puppetmasterd) works fine.
The namespaceauth.conf on the client (where puppetd runs) is configured as follows:
[puppetrunner]
allow *.abc.net
(also tried the calling host: puppet1.abc.net)
But when I call
2007 Mar 20
3
err: cannot create directory, parent doesn''t exist. But it does.
I just updated to 0.22.2 and am running into a strange issue.
I''m starting puppetmaster, and seeing this in my error log:
err:
/puppetconfig/reporting/File[/Library/Puppet/Generated/Server/var/reports]/ensure:
change from absent to directory failed: Cannot create
/Library/Puppet/Generated/Server/var/reports; parent directory
/Library/Puppet/Generated/Server/var does not exist
err: