Displaying 20 results from an estimated 10000 matches similar to: "Anyone using storeconfigs with a DB other than sqlite?"
2007 Dec 22
8
puppet with postgresql adapter
Hi all,
i'' m trying to configure puppet to use rails with postgresql. I'' m having
troubles to make it work. Got no error when running puppetmasterd but
nothing is being populated in the DB. Is anybody using puppet with postgres
?
my config (in puppet.conf)
[rails]
dbadapter = postgresql
dbname = mydb
dbserver = localhost
dbuser = user
dbpassword = password
2007 Aug 15
5
PuppetDatabase - collection "yes", anything in db "no"
Hi there!
I´m trying to get my PuppetmasterDB running.
Problem is, though I´m not getting any errors from the puppetmaster
there is nothing stored in the database, not even tables are created. I
tried "puppetmasterd --dbmigrate", didn´t help either.
rails.log is kinda empty too..
Thing is: it kinda works anyway, there is just nothing stored in the DB
- exported a user on host A,
2008 Feb 11
9
Storeconfigs purge Perl
Here''s some happy-fun Perl to make your storeconfig/virtual resources day better. I probably should have written this in Ruby, but perl comes naturally :)
#!/usr/bin/perl
#
# Perl DBI to remove all related entries from Puppet''s storeconfigs database.
# Use when a host is removed from the Puppet network forcibly
# Alternatives: run puppet on host to be removed with a blank
2007 Sep 10
6
puppetshow setup.pp
Hi guys,
I''ve just checkout the puppetshow code, and I was looking for the
setup.ppfile, but I cant find it anywhere.... anyone has an idea where
should i look
for it?
(or what needs to be done?)
Thanks,
Ohad
_______________________________________________
Puppet-users mailing list
Puppet-users@madstop.com
https://mail.madstop.com/mailman/listinfo/puppet-users
2006 Nov 13
7
0.20.1 and sqlite3 error
Hello,
I just installed the latest version of puppet and puppetmaster on an
up to date RHEL4 system. If I turn on ''storeconfigs'' on the
puppetmaster server I get the following error:
debug: Calling puppetmaster.getconfigerr: Could not retrieve
configuration: Uncaught exception No such file to load -- sqlite3 in
method puppetmaster.getconfig
I have gems and rails installed
2006 Dec 29
5
sqlite errors
Hello,
When I kick off SVN1992 with storeconfigs=yes, I get the following error:
err: Could not store configs: SQLite3::SQLException: SQL logic error
or missing database: INSERT INTO resources ("exported", "line",
"title", "host_id", "restype", "source_file_id") VALUES(NULL, 23,
''svnpkgadd-emacs-nox-etc'', NULL, NULL,
2007 Apr 10
12
Wtih version 0.22.1 using SQLite storage, only resource -> host foreign keys are present
Hi,
I am developing an end user WWW-based front end for Rails for my
system integrator and developer colleagues to use to easily view and
search our Puppet configs via a Rails app.
I set up the SQLite storage option on the server and the puppet tables
are being populated in /var/puppet/state/, but foreign keys for
everything except host_id in resources are not being set.
Is this expected
2007 Aug 13
1
update from 0.22.4 to 0.23.x, not migrating database schema
Hello everybody,
I have updated the puppetmaster from 0.22.4 to 0.23.0 (and today to
0.23.2). Although ''dbmigrate=true'' is turned on AND the puppetmaster is
saying it migrates the databse at startup, this does not happen.
When it should store configs, I get the error:
Could not store configs: Mysql::Error: #42S02Table
''database.resource_tags''
2007 Jun 29
5
Installing a file only if a package is available
Hi,
is there a way to make sure a file is installed only if a certain
package is installed on the client?
e.g. I want to distribute the client key for NX via puppet. However I
only want to install these files if package ''freenx'' is installed on the
client.
I tried adding ''require => package["freenx"]'' but then puppetd complains
it
2009 May 12
3
Problem with storeconfigs
Hello all,
I have what is certainly a stupid problem on my part. I have setup puppet in a
test environment and it''s been working wonderfully. I am now in the process of
moving this to our production systems and I have rebuilt our puppetmaster
completely from scratch using the same modules/manifests, etc. from my test
system.
Unfortunately I am running into an issue with what I
2011 Jun 04
3
Client vs server storeconfigs
Hi all,
As I understand it, storeconfigs needs to be enabled on both the agent
and the master to function ideally. I have a couple of questions:
-> Can the various agents and the master safely share the same
storeconfigs db (say, a postgresql server)? Is there any benefit to
setting things up
this way?
-> Is there any benefit for an _agent_ to use an RDBMS vs sqlite for
its
2007 Sep 27
12
How does "case defined(Package["package"])" work?
I''m trying to use a "case defined" statement to configure Munin to
automatically create plugin links for packages that are defined by
Puppet but the behaviour seems to be unpredictable. I have a similar
setup for Samba which works, but the Postfix one doesn''t and I can''t see
any difference between them.
Can some explain to me how "case
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 May 01
2
ANNOUNCE: 0.22.4
I''ve just put it out; hopefully the packagers will get it in place
soon. Here''s the changelog:
Execs now autorequire the user they run as, as long as the user
is specified by name. (#430)
Files on the local machine but not on the remote server during
a source copy are now purged if purge => true. (#594)
Providers can now specify that some
2007 May 18
4
Requiring Yum be installed before classes use it as a provider
I''m in the process of creating Puppet classes to install Munin via Yum
on my RHEL4 hosts. Before Yum can be used as a provider, it obviously
needs to be installed.
I''ve tried requring the Yum package in the Munin classes but I still get
an error about "Provider ''yum'' is not functional on this platform".
Is there an easy way to require the yum class
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
2007 Jul 17
5
Recommended way to set $FACTERLIB?
Is there a recommended way to set $FACTERLIB so that Puppet will be able
to access custom facts when running as a Red Hat service?
If I export $FACTERLIB=/var/puppet/facts and then run Puppet manually I
have no problems, but I''m not sure how I should be setting $FACTERLIB
when Puppet is running automatically.
Cheers,
James
2008 Jan 04
3
Facts not being updated when using storeconfigs
Hi,
I think I''m having a similar problem to the user who raised this bug:
http://reductivelabs.com/trac/puppet/ticket/733
I''m running 0.23.2 with storeconfigs. I''ve got it working to the point
where my clients'' facts are being populated in the database[*] but
updates don''t seem to happen unless I restart puppetmasterd. For
example:
1) I run my test
2007 Apr 04
5
sshkey
Hello all,
How are you using the sshkey type? Are you using it to list hosts and keys in a class that nodes include in order to manage /etc/ssh/ssh_known_hosts or something else? How does any of this relate to the sshrsakey and sshdsakey facts on the host? I read some stuff about this on the Virtual Resources page but it''s too vague for my simple mind and I''d be reluctant to use
2007 Apr 05
4
Preferred method for setting customer facts?
I''ve checked out the page on adding custom facts for Facter and I see
that there are a number of ways to do this. Is there a preferred method
of setting system-wide facts?
In this case, I''d like to set a "Location" fact which represents the
data centre a server is in.
Cheers,
James
*********************************************************************************