Displaying 18 results from an estimated 18 matches for "clientconfigs".
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...
2008 Mar 29
10
create new clientconfigs database
...st and have "dbmigrate = true"
in my config.
When I try to run puppetd, I''m getting:
Could not migrate database: SQLite3::SQLException: no such table:
schema_info: SELECT version FROM schema_info
I''m perfectly blowing away my old db (by deleting /var/lib/puppet/
state/clientconfigs.sqlite3 ?), but I haven''t figured out how to
create a new db with the latest schema. I''ve tried re-running the
install.rb, but that doesn''t seem to do anything. Any tips here?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you ar...
2013 May 07
7
puppet node clean using SQLite instead of PuppetDB
...bug, :links=>:follow, :owner=>"puppet", :mode=>"750", :ensure=>:directory, :backup=>false, :path=>"/var/lib/puppet/server_data"}''
Debug: Using settings: adding file resource ''dblocation'': ''File[/var/lib/puppet/state/clientconfigs.sqlite3]{:group=>"puppet", :loglevel=>:debug, :links=>:follow, :owner=>"puppet", :mode=>"660", :ensure=>:file, :backup=>false, :path=>"/var/lib/puppet/state/clientconfigs.sqlite3"}''
Debug: Using settings: adding file resource...
2006 Dec 29
5
sqlite errors
...", "line",
"title", "host_id", "restype", "source_file_id") VALUES(NULL, 23,
''svnpkgadd-emacs-nox-etc'', NULL, NULL, NULL)
The database does exist, and when I attempt to execute the SQL
statement from sqlite3 I get:
# sqlite3 clientconfigs.sqlite3
SQLite version 3.3.6
Enter ".help" for instructions
sqlite> INSERT INTO resources ("exported", "line", "title", "host_id",
"restype", "source_file_id") VALUES(NULL, 23,
''svnpkgadd-emacs-nox-etc'', NULL...
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
2008 Dec 18
3
errors after 0.24.7 upgrade ..
...seeing;
Thu Dec 18 15:55:58 +1100 2008
/Settings[/etc/puppet/puppet.conf]/Settings[puppetmasterd]/File[/opt/puppet/bucket]/owner
(warning): Cannot manage ownership unless running as root
Thu Dec 18 15:55:58 +1100 2008
/Settings[/etc/puppet/puppet.conf]/Settings[rails]/File[/var/lib/puppet/state/clientconfigs.sqlite3]/owner
(warning): Cannot manage ownership unless running as root
Thu Dec 18 15:55:58 +1100 2008
/Settings[/etc/puppet/puppet.conf]/Settings[puppetmasterd]/File[/var/log/puppet/masterhttp.log]/owner
(warning): Cannot manage ownership unless running as root
Thu Dec 18 15:55:58 +1100 2008...
2007 Aug 08
6
Exporting collections/sshkeys
Hullo,
I am attempting to use collections in order to distribute ssh keys
across (soon) many hosts but I am hitting some trouble (the recipe I am
using is at the end of this email). Namely it looks like sshkeys
resources are not marked as exported in the sqlite db. I.e. if I do:
sqlite3 clientconfigs.sqlite3
SQLite version 3.3.5
Enter ".help" for instructions
sqlite> select * from resources where exported = ''t'';
I get nothing. But if I manually set all sshkey resources as exported
then suddenly all clients start getting ssh keys from other machines i.e.:
sqlite...
1999 Nov 22
0
ANNOUNCE: 1.2pre14
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have just released 1.2pre14 at:
http://violet.ibs.com.au/openssh/
Changes:
Attempt to make <enter> close gnome-ssh-askpass. This works OK
when gnome-ssh-askpass is run from the commandline, but doesn't
work when it is run from ssh-add. Further investigation is
required.
Lots of portability fixes. The ssh client now appears to run
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
2008 Aug 01
2
Unable to modify TDB passwd ERROR
I'm trying to track down why I can't seem to add a computer to the domain.
I've looked high and low to no avail. Right now, when I try to add the
computer as a "trusted machine," I've added it to the Unix passwd dB with
the appropriate machinename$ and the added the machine to the dmbpasswd
via:
smbpasswd -a -m machinename
But, when I go to add the machine to the
2009 Jun 10
10
puppet client looking for server puppet
...rundir = /var//opt/csw/puppet/run
genconfig = true
pluginsource = puppet://mypuppet.example.net/plugins
factpath = /var//opt/csw/puppet/facts
libdir = /var//opt/csw/puppet/lib
statedir = /var//opt/csw/puppet/state
railslog = /var//opt/csw/puppet/log/rails.log
dblocation = /var//opt/csw/puppet/state/clientconfigs.sqlite3
runinterval = 60
localconfig = /var//opt/csw/puppet/state/localconfig
puppetdlog = /var//opt/csw/puppet/log/puppetd.log
ca_server = mypuppet.example.net
statefile = /var//opt/csw/puppet/state/state.yaml
server = mypuppet.example.net
httplog = /var//opt/csw/puppet/log/http.log
splaylimit = 6...
2012 Aug 23
1
Puppet Agent VS User
...= /etc/puppet
config = /etc/puppet/puppet.conf
config_version = ""
configprint = all
configtimeout = 120
couchdb_url = http://127.0.0.1:5984/puppet
csrdir = /var/lib/puppet/ssl/ca/requests
daemonize = true
dbadapter = sqlite3
dbconnections = ""
dblocation = /var/lib/puppet/state/clientconfigs.sqlite3
dbmigrate = false
dbname = puppet
dbpassword = puppet
dbport = ""
dbserver = localhost
dbsocket = ""
dbuser = puppet
deviceconfig = /etc/puppet/device.conf
devicedir = /var/lib/puppet/devices
diff = diff
diff_args = -u
dns_alt_names = ""
document_all = false
do...
2017 May 15
4
Golang CertChecker hostname validation differs to OpenSSH
On Mon, May 15, 2017 at 11:39 AM, Peter Moody <mindrot at hda3.com> wrote:
> my reading of the sshd manpage is that ssh is more permissive than it should be
>
> SSH_KNOWN_HOSTS FILE FORMAT :
> ...
>
> A hostname or address may optionally be enclosed within `[' and `]'
> brackets then followed by `:' and a non-standard port number.
Hi Peter, I'm not
2008 Aug 01
2
INFO Request: Samba PDC, Windows NT4 Style, Failure to Add Trusted Machine
Here's my document reference point:
http://samba.org/samba/docs/man/Samba-HOWTO-Collection/domain-member.html#machine-trust-accounts
I've had some moderate success setting up this Samba network. But, it's
failing at adding a Windows XP Pro machine to the trusted machine list,
or it's disallowing it to log in. This explanation is as complete as I
can make it, so it will be
2010 Feb 08
2
Noob (it seems) can't get XP client to join Samba Domain
I have followed:
http://rudd-o.com/en/linux-and-free-software/making-windows-xp-join-a-samba-domain-in-5-minutes
and
http://samba.org/samba/docs/man/Samba-HOWTO-Collection/ClientConfig.html#WXPP009
and the reg hack even though I'm using Samba 3.3.2
I keep getting the error message:
"The following error occured attempting to join the domain "ROOM101"
The username could not
2011 Nov 04
1
Storeconfigs and nagios and foreman
...s
normally use `info`
# and other environments normally use `debug`.
# The default value is ''info''.
# rails_loglevel = info
# The database cache for client configurations. Used for
# querying within the language.
# The default value is ''$statedir/clientconfigs.sqlite3''.
# dblocation = /var/lib/puppet/state/clientconfigs.sqlite3
# The name of the database to use.
# The default value is ''puppet''.
dbname = puppet
# The database user for caching. Only
# used when networked databases are used.
# The def...
2009 Oct 21
2
Bug #2617(?) in Puppet 0.25.1rc2
....pp (the contents
are not important)
6. I put the same options for both server and client. They don''t
differ from the generated defaults only in --genconfig = false, but
here are they:
[main]
genconfig = false
railslog = /var/puppet/log/rails.log
dblocation = /var/puppet/state/clientconfigs.sqlite3
cert_inventory = /etc/puppet/ssl/ca/inventory.txt
cakey = /etc/puppet/ssl/ca/ca_key.pem
caprivatedir = /etc/puppet/ssl/ca/private
capass = /etc/puppet/ssl/ca/private/ca.pass
cadir = /etc/puppet/ssl/ca
capub = /etc/puppet/ssl/ca/ca_pub.pem
csrdir = /etc/puppet/ssl...
2006 Jan 22
4
SeBackupPrivilege
We're using Samba 3.0.21a-1 on a CentOS 4.2 server (kernel
2.6.9-22.0.2.ELsmp); everything works more or less fine,
it's functioning as the PDC with an OpenLDAP back end (setup
essentially straight from the Idealx.org playbook), etc.
We're trying to mount Windows shares to back them up, and
getting "permission denied" errors when trying to read
certain files from those