Displaying 20 results from an estimated 10000 matches similar to: "odd manifest problem"
2007 Oct 22
1
unsubscribe
I''d like to be removed from the puppet-users email list... but I cant
find my name on the webpage.
Thanks,
Jennifer Ford
***********************************
Manager, Unix Administration
Teach For America
Phone: 212-279-2080 ext. 688
jennifer.ford at teachforamerica.org
One day, all children in this nation will have the opportunity to attain
an excellent education.
2008 Jan 08
1
odd facter error with split
Not sure if this is another issue cropping up with 0.24.1 but I''m getting
the following:
info: Loading fact raid
/etc/puppet/facts/location.rb:5: private method `split'' called for
nil:NilClass (NoMethodError)
from /usr/lib/ruby/site_ruby/1.8/facter.rb:510:in `call''
from /usr/lib/ruby/site_ruby/1.8/facter.rb:510:in `value''
from
2007 Jul 19
2
yaml representation of manifests
I''m using the external_nodes functionality to read in a flat file of a
node''s configuration. Currently said file is a straight yaml file (just to
keep things simple). The place I''m currently stuck is in doing some more
advance node configurations and placing that data in the yaml file. For
example:
node ''foo'' {
$var1 =
2007 Nov 06
4
strange behavior from purge
I have the following define...
define puppet::module_dir {
if $name {
include puppet
file { "${puppetdir}/modules/${name}":
ensure => directory,
mode => 0755,
purge => true,
recurse => true,
}
}
}
I call it like so:
puppet::module_dir { "main" }
puppet::module_dir
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
2008 Jan 10
3
memory leak in puppetd?
I have a cluster of 20 or so machines. On many of the nodes, the
puppetd process take up a ton of resident memory (> 400MB RES in top,
> 500GB VIRT in top) after running for a while (> 1 week). The only
thread I found on this was titled "memory leak?" and last updated on
06-Dec-2007. The question on that tread was whether or not the
memory was buffered memory. I
2007 Nov 17
7
oddness with fileserver, facts and plugins sync
I''m working with a pretty simple config at the moment to track down some
issues I''m seeing with custom facts and plugins.
I have factsync = true (default locations)
and I have a simple fact in /var/lib/puppet/facts/
(actually it''s David''s netmask plugin)
my pp file I''m testing with contains only:
notice "netmask: ${netmask}"
puppet -v
2007 Dec 13
2
logoutput attribute on exec type
so here I am trying to track down why one of my execs isn''t working properly
and I notice in the wiki[1]the option on_failure for logoutput. Turns out
it does''t work (in 0.23.0)
err: Parameter logoutput failed: Invalid ''logoutput'' value "on_failure".
Valid values are true, false, debug, info, notice, warning, err, alert,
emerg, crit.
err: Could not
2007 Dec 18
5
resource collection error
I''m seeing these in my logs on my puppetmaster:
puppetmasterd[4111]: Could not store configs: SQLite3::SQLException: SQL
logic error or missing database: DELETE FROM fact_values
WHERE "id" = 8
currently this is 0.24.0
relect from some previously collected resource that wasn''t cleaned up?
upgrade issue?
nothing to worry about?
that''s the only
2007 Feb 16
1
Puppet client not reloading manifest
Hi
I have installed the puppet master daemon and a puppet client but the puppet
client is not periodically reloading the manifest, even though the client
connects successfully and applies the manifest when started up the first
time. My simple test manifest looks as follows:
node default {
file {"/home/ubuntuvm1/test.txt":
mode => 777
}
}
Is it possible to set the
2007 Oct 12
10
external nodes
I use a simple yaml file and and an external nodes script to express each of
my nodes. What I''m trying to do is make sure that all individual data is
expressed at the node level and not have anything in classes or modules that
isn''t generic and shared.
the example below works really well but I can''t express it via my external
nodes, I have to bury it in a class (or
2007 Oct 18
3
verify before deploy
so I have this sudo module that I''ve been working on:
class auth::sudo {
package { sudo: ensure => installed }
file { sudo_config:
name => "/tmp/sudoers",
owner => "root",
group => "root",
mode => 0440,
notify => Exec["sudoers-syntax"],
source => [
2007 Dec 04
7
anyone using generate()?
I was playing around with the generate() function and was wondering if
anyone was making us of it.
The current way I''m attempting to use it is to determine what the homedir of
a given user is.
I have:
---
$homedir = generate("/bin/sh", "-c", "grep ^${name} /etc/passwd | cut -d:
-f6")
---
which returns what I expect it to return except that it preserves the
2007 Nov 21
9
purging exported resources
So I have the following:
define nagios::service (
$nagios_template = ''service-template'',
$host_name = $fqdn,
$service_groups = '''',
$contact_groups = $default_contact_group,
$max_check_attempts = 3,
$dependency = false,
$dependent_host = $fqdn,
$dependent_service = '''',
$check_command = ''''
) {
2007 Dec 11
4
EL5.1 client problems
Hi all,
I attempted to add an EL5.1 client to our puppet server (EL5), and after
signing the client cert, got the error "Certificates were not trusted:
hostname not match with the server certificate"
I found the mailing list discussion and the relevant page:
http://www.reductivelabs.com/trac/puppet/wiki/RubySSL-2007-006
As far as I can tell, my puppermaster''s cert CN matches
2007 Oct 18
1
ruby error on macosx
I don''t manage any macosx machines but I do run puppet standalone to check
syntax etc.
I''ve been getting the following error:
Could not autoload
"/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/resourceoverride.rb":
superclass mismatch for class ResourceOverride
specifically small test pp files still work, though I''ve found when I use
parseonly it
2007 Sep 24
3
conceptual problem deploying git repos to a puppetmaster
So before I start I should be upfront and disclose that I''m using
external_nodes, so in keeping with that I''m trying as hard as possible to
keep all the actually ''specific'' data in the node config files (currently
just yaml)and have nothing specific in modules especially.
So I have this definition: (credit goes to DavidS for the inspiration)
define git::repo (
2008 Jan 16
1
modulepath not working with environments
I''m testing the new environments feature in 0.24.1.
http://reductivelabs.com/trac/puppet/wiki/UsingMultipleEnvironments
But I am having a problem getting it to recognise the modulepath setting
within the environment.
I''m wondering if this is a bug or if I am doing something wrong
For this example, the environments are called "prod" and "test".
On the
2007 Dec 25
1
puppetd: err: Got an uncaught exception of type SystemStackError: stack level too deep
i''m having trouble with a file resource with 0.24.1. the manifest is
very simple:
file { "/":
ensure => directory,
owner => "root",
group => "root",
mode => 755
}
when i run puppetd, i get the attached stack trace. removing this
resource enables puppetd to complete its run successfully.
any ideas? didn''t have this
2007 Nov 09
4
variables in templates
Here''s the problem I''m trying to solve.
I use apache, for lots of things, some of those things are configured from a
performance standpoint differently.
In less vague terms I need to be able to change the MaxClients setting to
different things based on the different purposes apache serves. (say proxy
vs. app)
Under previous CMS/templating engines I would have a httpd.conf that