Displaying 20 results from an estimated 1000 matches similar to: "Client vs server storeconfigs"
2011 Nov 15
4
Reopening sqlite3 db
Hello,
I am not sure if I trigger a bug and if so it could also be in ruby
sqlite3 backend. However, maybe I do something totally wrong.
I have the following part in puppet.conf:
[master]
storeconfigs = true
dblocation = /var/lib/puppet/state/clientconfigs.sqlite3
dbadapter = sqlite3
Now every time a client (agent in puppet speak) is run I get one more
connection to the
2008 Dec 18
3
errors after 0.24.7 upgrade ..
After upgrading my puppetmaster to 0.24.7 from 0.24.6 i am getting the
following errors in the puppetmaster logs. Any help would be appreciated.
Thu Dec 18 16:11:39 +1100 2008 Puppet (err): Could not store configs:
undefined method `environment='' for #<Puppet::Rails::Host:0xb72c0c38>
I do not use environment''s and they are not defined anywhere in the
puppet.conf
2009 Aug 26
7
storeconfigs + environments issue
Hi Guys,
Im trying to turn on storeconfigs with a mysql db backend. On my
testing server in our lab, i configured this successfully and can see
if keeping information on all test hosts.
When trying to implent the same idea onto our production puppet
server, I get the following errors:
Aug 26 16:35:53 opsynxsr0097 puppetmasterd[27003]: (/Settings[/etc/
2013 Aug 21
11
Confusion with puppetdb (storeconfig) and query database
Hello,
I have configured puppet and puppetdb (storeconfig) with postgresql and the
service run and the collecting are good for example:
I can make query with the next command and responds ok .
[.........................]
[root@master]# curl -X GET -H ''Accept: application/json''
http://127.0.0.1:8080/v2/facts --data-urlencode ''query=["=", "name",
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
2013 Jul 25
9
Not collecting exported resources without storeconfigs
# cat /etc/redhat-release
CentOS release 6.4 (Final)
# puppet --version
3.2.3
# rpm -q puppetdb
puppetdb-1.3.2-1.el6.noarch
I am now receiving "Not collecting exported resources without storeconfigs"
for my opsview module. It was working fine on puppet 2.7 with
Activerecord/MySQL. I am still new to puppetdb so maybe I am missing
something. This is from puppet.conf:
storeconfigs
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
2010 Jul 22
8
Foreman / External Nodes -- Node Not found
Hello All,
So I finally got around to start to cut over node definitions
from standard flat files to external nodes (foreman), and getting
error message: "Error 400 on SERVER: Could not find node ''nodename'';
cannot compile" - So basically it can''t pick up the node from the
external node config.
When I test the fetching of the yaml file it seems to work
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
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
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
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 May 28
12
Anyone using storeconfigs with a DB other than sqlite?
Just wondering if anyone is using a backend database other than sqlite,
and if so, how easy/hard it was to configure.
I''m constantly receiving "SQLite3::BusyException: database is locked..."
which I presume is due to sqlite''s relatively coarse locking method.
Cheers,
James
--
Senior Linux Platform Engineer
Midrange Services
AXA Technology Services - Asia Pacific
2012 Jul 18
2
Remote site puppet infrastructure
I''m trying to figure out if there is a common/working setup that people are
using to host puppet in remote sites.
At first our setup was that we have several puppetmasters (PM) in site A
and a couple in our smaller site B. In site A we are also hosting Foreman
and our mysql DB for storeconfigs. site A and B are connected via a WAN
that is fairly slow.
With this setup the issue I
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
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,
2010 Jun 09
12
Foreman -- Reporting
Hello All,
I don''t seem to be able to get reports to display on the foreman
interface. I copied extras/puppet/foreman/files/foreman-report.rb to /
usr/lib/ruby/site_ruby/1.8/puppet/reportsforeman.rb, instead of /usr/
lib/ruby/1.8/puppet/reports/foreman.rb. Config: Centos5.4, Apache/
Passenger, Puppet 0.25.4.
The reports are coming from the clients, because I can see them
in
2013 Dec 09
2
Are storeconfigs without puppetDB possible?
I''m doing some testing with the puppetlabs/haproxy module on a vagrant box
with puppet 3 set up. The module we use requires exported resources to be
enabled in order to specify haproxy backends, but I don''t have it
configured in puppet. I have our puppet repo checked out to the VM and am
using puppet apply, pointed at the specific module path we use for
development, to
2010 Apr 28
2
storeconfigs seems to disable external nodes
I have a working configuration using external nodes, but when I enable
storeconfigs using either Sqlite or MySQL, nodes no longer get
assigned their classes from the external nodes script. I''m currently
using the 0.25.4-2ubuntu6 packages from Ubuntu 10.4. Disabling
storeconfigs and restarting puppetmaster causes nodes to be assigned
classes from the external nodes script. I''ve
2008 Jan 07
3
Storeconfigs
Hello,
Anyone have any luck getting storeconfigs + MySQL working? I was getting
some freaky uninformative errors:
err: Could not call: wrong number of arguments (1 for 0)
It''d be great if we could get a wiki page up, there appears to be a
pretty large consensus of people who are unable to get it running.
Regards,
AJ