Displaying 20 results from an estimated 39 matches for "dbpassword".
2012 Nov 12
3
Unable to lauch php-script to truncate database
...tatie
in each database I have placed a executable file cron.php
-------------------------------------------------------------------------------------------------------------------
<?php
include "./config.php"; //nuBuilder config file
$conn = mysql_connect($DBHost, $DBUser, $DBPassword);
mysql_select_db($DBName,$conn);
/**************************************************************
emptying zzsys_trap and zzsys_variable tables
**************************************************************/
$sql = "TRUNCATE TABLE zzsys_trap";
mysql_quer...
2010 Jun 09
12
Foreman -- Reporting
...ppet
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/localconfig
What am I missing here? Thanks,
Henry
--...
2007 Dec 22
8
puppet with postgresql adapter
...gresql. 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 Aug 15
5
PuppetDatabase - collection "yes", anything in db "no"
...- 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-users@madstop.com
https://mail.madstop.com/mailman/listinfo/puppet-users
2009 Nov 12
6
Multiple environments
...-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
modulepath=/etc/puppet/modules
Cheers,
Sco...
2013 Feb 08
3
issue storing facts values in mysql on puppet master 3.0.2
...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" group.
To unsubscribe from this group and stop receiving emails from it, se...
2011 Dec 05
3
puppet kick problem: host is already running
...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 status running, in the other case...
2010 Jul 22
8
Foreman / External Nodes -- Node Not found
..._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 = $vardir/localconfig
Any ideas?
Thanks,
Henry
--...
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
2010 Nov 01
7
No report named 'puppet_dashboard'
...ion (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/puppet_dashboard.rb
[user@host /var/lib/puppet/rep...
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 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 Apr 16
1
Ruby Error Encountered when Installing Dashboard for Puppet Open Source
...t-dashboard
I updated the database.yml and settings.yml files and created a puppet DB
in MySQL by running the following in MySQL''s workbench.
CREATE DATABASE dashboard CHARACTER SET utf8;
CREATE USER ''dashboard''@''localhost'' IDENTIFIED BY ''dbpassword'';
GRANT ALL PRIVILEGES ON dashboard.* TO ''dashboard''@''localhost'';
I''ve added the following line to the /etc/mysql/my.cnf file.
max_allowed_packet = 32M
And executed ''set max_allowed_packet = 33554432;'' in the MySQL workb...
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
2010 Jun 29
2
Upgrade Too 1.2.11 Broke Everything
...ing was changed to make it work...
mail_location = mbox:~:INBOX=/var/mail/%u
Used to be:
mail_location = mbox:~/mail/:INBOX=/var/mail/%u
grep -v '^ *\(#.*\)\?$' dovecot-mysql.conf
driver = mysql
default_pass_scheme = CRYPT
connect = host=xx.xx.xx.xx dbname=nameofdb user=dbuser password=dbpassword
password_query = SELECT password FROM mailbox WHERE username = '%u' AND
active = '1'
user_query = SELECT maildir, concat('/var/mail/',maildir) AS home, 125 AS
uid, 125 AS gid FROM mailbox WHERE username = '%u' AND active = '1'
This query used to be:
user_qu...
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.
2008 Nov 07
0
CEntOS-5.2 & php-mssql
...ian).
CEntOS-5.2 (final)
- php 5.1.6-20
- php-mssql 5.1.6-15 (from "extras" repository).
- freetds 0.64-11
--------------------------- php test code --------------------------------
<?php
ini_set('display_errors',1);
error_reporting(E_ALL);
$user='dbuser';
$pass='dbpassword';
$server='calcantita';
$db='dbtest';
$conn = mssql_connect($server, $user, $pass)
or die('Connection error');
$dbselect= mssql_select_db($db, $conn)
or die('DB select error.');
$sql = 'select * from tbtest';
$result = mssql_query(...
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
2012 Jul 07
1
plugin sync in masterless mode
...eport = 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/puppet/environments/$PUPPET_ENV/modules --plugin...
2008 Dec 18
3
errors after 0.24.7 upgrade ..
...snames = 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 message because you are subscribed to the Google Groups "Puppet...