Displaying 20 results from an estimated 36 matches for "dbadapter".
2010 Jun 09
12
Foreman -- Reporting
...dir = /var/lib/puppet
logdir = /var/log/puppet
rundir = /var/run/puppet
reports= log, foreman
[puppetmasterd]
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
modulepath = $confdir/modules
#reports=log, foreman
storeconfigs = true
dbadapter = mysql
dbuser = app_puppet
dbpassword = password
dbserver = localhost
dbsocket = /sql/mysql/mysql.sock
rrddir=/var/lib/puppet/rrd
rrdinterval=$runinterval
rrdgraph=true
[puppetd]
classfile = $vardir/classes.txt
report = true
localconfig = $vardir/localconfi...
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
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 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
_______________________________________________
Puppet-users mailing list
Puppet-users@madstop.com
https://mail.madstop.com/mailman/listinfo/puppet-users
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
2007 Aug 15
5
PuppetDatabase - collection "yes", anything in db "no"
...t find?
What I Did (TM):
- installed MySQL on same host as Puppetmaster
- created db (puppetdb)
- crated user/pass(puppetdb/puppetdb)
- granted rights
- manually added a table just to check - works
Puppetmaster configured to use that DB:
#puppet.conf
[puppetmasterd]
storeconfigs = true
[rails]
dbadapter = mysql
dbserver = localhost
dbname = puppetdb
dbuser = puppetdb
dbpassword = puppetdb
#
#rails.log
Defined connections: {}
Active connections: {}
Active connection name:
#
Thanks for taking a look!
cheers
Simon
_______________________________________________
Puppet-users mailing list
Puppet-us...
2009 Nov 12
6
Multiple environments
..."puppetd --test --
environment=test -d". Am I missing something?
Here''s a copy of my puppet.conf file:
[main]
vardir = /var/lib/puppet
manifest = /etc/puppet/manifests/site.pp
modulepath = /etc/puppet/modules
pluginsync = true
storeconfigs = true
#
dbadapter = mysql
dbuser = puppet
dbpassword = ****
dbserver = mysql.example.com
[puppetmasterd]
certname=puppet.example.com
[testing]
manifest=/etc/puppet-testing/manifests/site.pp
modulepath=/etc/puppet-testing/modules
[production]
manifest=/etc/puppet/manifests/site.pp
m...
2013 Feb 08
3
issue storing facts values in mysql on puppet master 3.0.2
Hi,
I got the following error:- Error: Could not retrieve catalog from remote
server: wrong header line format
In puppet.conf file on puppetmaster, I added following lines -
facts_terminus = inventory_active_record
dbadapter = mysql
dbname = dashboard
dbuser = test
dbpassword = test123
dbserver = puppet-master.com
dbsocket = /var/run/mysqld/mysqld.sock
How can i solve this error?
--
You received this message because you are subscribed to the Google Groups "Puppet Users" gr...
2012 Jan 13
1
mysql errors
...LUES (?, ?, ?)
I don''t see any errors on the other two masters running CentOS 5.7.
I have a separate server running CentOS 6.1 and MySQL 5.1.52 for the
inventory db.
On the masters, I have inventory configured in the puppet.conf as
follows:
facts_terminus = inventory_active_record
dbadapter = mysql
dbname = inventory
dbuser = inventory
dbpass = xxxx
dbserver = x.x.x.x
The masters are running ruby enterprise 1.8.7 and all have exactly the
same versions of ruby gems installed.
*** LOCAL GEMS ***
activemodel (3.1.3)
activerecord (3.1.3)
activesupport (3.1.3)
arel (2.2.1)
b...
2011 Dec 05
3
puppet kick problem: host is already running
...r = <hidden>
classfile = $vardir/classes.txt
report = true
listen = true
localconfig = $vardir/localconfig
preferred_serialization_format = yaml
[master]
certname = <hidden>
reports = http, store
reporturl = http://<hidden>:3000/reports/upload
pluginsync = true
storeconfigs = true
dbadapter = mysql
dbuser = root
dbpassword =
dbserver = localhost
dbsocket = /var/lib/mysql/mysql.sock
I don''t know how to go about fixing/debugging this. I already tried to
get the raw output with curl, but it wasn''t helpful (In one case I get
the ruby object telling me it''s in...
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
2010 Jul 22
8
Foreman / External Nodes -- Node Not found
...petmasterd]
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
modulepath = $confdir/modules
templatedir = /etc/puppet/manifests/templates
#clientyamldir = /var/lib/puppet/yaml/node
reportdir = /var/lib/puppet/reports
storeconfigs = true
dbadapter = mysql
dbuser = app_puppet
dbpassword = xxxxxxxxxxxxxx
dbserver = localhost
dbsocket = /sql/mysql/mysql.sock
rrddir = /var/lib/puppet/rrd
rrdinterval = $runinterval
rrdgraph = true
[puppetd]
classfile = $vardir/classes.txt
report = true
localconfig = $vardi...
2010 Nov 01
7
No report named 'puppet_dashboard'
...uppet_dashboard''
Relevant configuration (names changed to protect the innocent)..
==== /etc/puppet/puppet.conf
[puppetd]
libdir=$vardir/lib
libdir=/var/www/puppet-dashboard/lib/puppet
[puppetmasterd]
reports = puppet_dashboard
storeconfigs = true
dbadapter = mysql
dbuser = XXX
dbpassword = XXX
dbserver = localhost
dbsocket = /var/lib/mysql/mysql.sock
[user@host /var/lib/puppet/reports]# ls -l puppet_dashboard.rb
lrwxrwxrwx 1 root root 56 Nov 1 11:20 puppet_dashboard.rb -> /var/www/
puppet-dashboard/ext/puppet/pup...
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
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 database:
> lsof -np $(pgrep puppet)
...
puppet 23542 puppet 7u IPv4 1180771 0t0 TCP *:8140 (LISTEN)
puppet 23542 puppet 9w REG 252,1 7...
2012 Jul 25
7
cwd dot folders
Hi,
I am trying to
exec { myexectest:
path => "/bin:/usr/bin:/usr/sbin",
cwd => "/home/user/.ssh",
command =>"echo test > test.txt",
onlyif => "test -f test.txt"
}
it doesnt work any clues why? I think it cannot change directory to a DOT
directory
please HELP!!
--Nikos Hatzopoulos
--
You received
2013 May 07
7
puppet node clean using SQLite instead of PuppetDB
...Debug: Finishing transaction 69920208130760
Info: Connecting to sqlite3 database: /var/lib/puppet/state/clientconfigs.sqlite3
Error: Could not find table ''hosts''
Error: Try ''puppet help node clean'' for usage
''puppet config print all'' lists the dbadapter as sqlite3 as well, even though it''s not. I can''t seem to figure out the new way to print the config in master mode though. Any ideas on how to clean this node up properly?
--
You received this message because you are subscribed to the Google Groups "Puppet Users" grou...
2011 Feb 08
12
multiple puppetmasters (w/ Passenger) behind load balancer
Hello Gang,
I''m working on scaling my puppet solution, and I''m deploying multiple
masters w/ passenger that are going sit behind a load balancer. If anyone
is using these type of setup, would you share how you deal with the SSL
certs? I''ve been following Bode''s Blog (http://bodepd.com/wordpress/?p=7),
and it''s not working to good for me.
2012 Jul 07
1
plugin sync in masterless mode
...localconfig = $vardir/localconfig
report = true
report_server = provisions.mydomain
reports = foreman
manifest = $confdir/environments/$environment/manifests/site.pp
modulepath=$confdir/environments/$environment/modules
storeconfigs = true
thin_storeconfigs = true
dbadapter = mysql
dbuser = puppet
dbpassword = puppetpass
dbserver = db.mydomain
pluginsync = true
graph = true
preferred_serialization_format = yaml
And Ive got plugins in modules/custom_facts/lib/facter/
Running this:
puppet apply --environment=$PUPPET_ENV
--modulepath=/etc/puppe...
2008 Dec 18
3
errors after 0.24.7 upgrade ..
...rundir = /var/run/puppet
pluginsync = true
certdnsnames = puppet:< removed >
report = true
configtimeout = 300
puppetdlog = $logdir/puppetd.log
splaylimit = 1800
splay = true
runinterval = 3600
ca_port = 8145
[puppetmasterd]
storeconfigs = true
dbadapter = mysql
dbname = puppet
dbuser = puppet
dbpassword = < removed >
dbserver = localhost
dbsocket = /var/lib/mysql/mysql.sock
reports = store,tagmail
ssl_client_header = HTTP_X_SSL_SUBJECT
--~--~---------~--~----~------------~-------~--~----~
You received this messa...