Displaying 20 results from an estimated 1000 matches similar to: "oddness with fileserver, facts and plugins sync"
2006 Sep 15
4
before everything
I have some facter file to distribute before running puppet on the platform.
The problem is :
how can i send the facter local.rb file so the rest of the .pp file take
into account the new facts created ?
ex: i have sudopath as a facter fact and one sudoers class that need
that sudopath to work. How do you model that ?
it seems puppet would have to rerun after the new local.rb is downloaded
2007 Apr 17
7
Still having factsync trouble ...
Some time ago i sent to the list a problem i was having with facts on
fedora core 6 and wasn''t able to find a solution at that time, but with
the release of RHEL5 and CentOS 5 based on fc6 i have hit the problem again.
i have written several facts to collect information about a clients
network and i am also using the vmware fact from the wiki. i have
separated my original fact into
2012 Aug 23
1
Puppet Agent VS User
Hello,
Running into a problem when wanting to daemon-ize the agent. It doesnt
seems to do anything:
- cannot find any daemon process with (ps aux | grep puppet)
- the config is not updated after editing some params on the master
- /var/log/puppet stay empty...
while, when logged as root, it is working without issue with $puppet agent
--test.
##Conf
Ubuntu 12.04
Puppet 2.7.11
## Daemon is
2006 Nov 02
6
certificate not trusted
Hello,
I try to install puppet on freebsd 6.X. All is well but i cannot get
the certificte to install and be recognized. I run .19.3.
I run the puppetd --test --waitforcert 60
then sign
and then i got:
err: No certificate; running with reduced functionality.
info: Creating a new SSL key at
/usr/local/.aqadmin/puppet/conf/ssl/private_keys/xxxxxxxxxxxxxx.pem
info: Creating a new certificate
2007 Jan 10
7
Problem adding facts ...
I have created my first ''fact'', first attempt at Ruby too, and
configured the fileserver to server it but when a Fedora (5 or 6)
client sync''s puppetd appears to hang. CentOS clients sync and use the
new fact fine.
Find attached the fact file and the output from ''puppetd --debug
--factsync'' on a FC5 client is below. This is a 0.20.1 client and
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 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 Aug 28
1
adding facts
Hello,
I''m a little confused how to configure the puppermaster and puppetd to
add a new fact. I''ve followed this tutorial
http://reductivelabs.com/trac/puppet/wiki/AddingFacts but I''m with
doubts about the factsource. In my puppetmaster I have the new fact in
/etc/puppet/facts directory.
fileserver.conf (on puppetmaster server):
[files]
path /etc/puppet/files
[facts]
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 = ''''
) {
2011 Nov 04
1
Storeconfigs and nagios and foreman
All-
Poking around in the bug database it looks like storeconfigs is being
actively worked on. I am using 2.7.6 on my master as well as all the
clients. I have clients boot , start puppet and get a signed cert via
auto signing. The nagios module (and currently the only thing puppet
does) complains a lot during compile time about not having
storeconfigs enabled, which is not the case in my
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 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 May 08
1
Fact sync problems
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
I''m having a problem pulling down new facts. On one of my nodes I''m
getting this error:
err: fact_collector/file=/var/lib/puppet/facts/source: Could not
describe /facts: Fileserver module ''facts'' not mounted
notice: fact_collector/file=/var/lib/puppet/facts: source
puppet://puppet/facts does not exist
err:
2007 Aug 19
6
Problem with adding custom facts
Hi
I''m trying to add extra facts to facter. The puppetd is running on
Debian Etch Amd64 as Xen 3.1 guest. I''ve follow the Wiki on adding
the facts.
First I used relative path in the manifest and added "factsync=true"
in client''s puppetd.conf. And then tested it with "puppetd -vt". But
no matter what i tried, this error came:
File paths must be fully
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 13
10
multiple files with same attributes
I''m almost afraid to ask because this probably sticks out
like a sore thumb on the wiki somewhere, and I''m just not
seeing it.
But I have a bunch of files with the same owner/mode. Is
there a way to somehow collapse these, so that all I repeat
is the file name?
Example:
file {
"/opt/test/1":
owner => "jtan",
group =>
2007 Aug 18
0
Out of memory error while running puppet
I found what the problem is but I am posting this so hopefully people
don''t scratch their heads when this happens.
I need to be able to configure different things depending whether I''m
running on a system that has a Xen kernel or not. I added a fact in
/var/lib/puppet/facts/
Facter.add("xen_kernel") do
server= `uname -r`
if
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 Jun 14
19
Please test export/collect from svn
For those of you out there using export/collect (which we really need
to come up with a better name for...), can you test the current SVN
code?
I''m mostly wondering if the performance is any better. To use it,
you''ll have to remove your current database, since the database
schema is significantly changed.
I''m getting what looks like an additional 25% reduction
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