Jira (PDB-4554) Docs feedback for "Connecting Puppet masters to PuppetDB"

18 views
Skip to first unread message

Mindy Moreland (JIRA)

unread,
Oct 21, 2019, 1:30:03 PM10/21/19
to puppe...@googlegroups.com
Mindy Moreland created an issue
 
PuppetDB / Improvement PDB-4554
Docs feedback for "Connecting Puppet masters to PuppetDB"
Issue Type: Improvement Improvement
Assignee: Unassigned
Created: 2019/10/21 10:29 AM
Priority: Normal Normal
Reporter: Mindy Moreland

Url: /docs/puppetdb/latest/connect_puppet_master.html
Rank: 3/5
Message:
there are three things I found either wrong, or simply mistaken:
1. "puppet master --configprint route_file" (documentation is for puppet
latest, so I assume 6.10 at least) should be "puppet config print route_file"
2. when I will go through this documentation, my puppetdb on centos 7.0 never
starts, and... (this will be in point 3.0) it looks like then:"Oct 21
15:36:59 ansible puppetdb: PuppetDB requires PostgreSQL.  The [database]
section must contain an appropriate "//host:port/database" subname setting.
Oct 21 15:36:59 ansible puppetdb: Startup script was terminated before
completion
Oct 21 15:37:00 ansible systemd: puppetdb.service: control process exited,
code=exited status=1
Oct 21 15:37:00 ansible systemd: Stopped puppetdb Service."So I'm looking
configuration to connect puppetdb to postgresql
3. by default logs of puppetdb are going to ... /var/log/messages (for both:
puppet-agent, and puppetdb) so if one's doesn't know where one's doesn't know
why puppetdb is failing (and I need to configure now all rsyslogd for both,
everywhere in my local net(whatever I'm writing, I like puppet very very much
! gr8 job you are doing there) (it is a shame I think it is driven on java,
but... yeah)

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Austin Blatt (JIRA)

unread,
Oct 21, 2019, 2:05:03 PM10/21/19
to puppe...@googlegroups.com

Austin Blatt (JIRA)

unread,
Oct 21, 2019, 3:31:03 PM10/21/19
to puppe...@googlegroups.com
Austin Blatt updated an issue
Url: /docs/puppetdb/latest/connect_puppet_master.html
Rank: 3/5
Message:
there are three things I found either wrong, or simply mistaken:


1. "puppet master --configprint route_file" (documentation is for puppet
latest, so I assume 6.10 at least) should be "puppet config print route_file"


2. when I will go through this documentation, my puppetdb on centos 7.0 never
starts, and... (this will be in point 3.0) it looks like then:
"

{code:java}
Oct 21
15:36:59 ansible puppetdb: PuppetDB requires PostgreSQL.  The [database]
section must contain an appropriate "//host:port/database" subname setting.
Oct 21 15:36:59 ansible puppetdb: Startup script was terminated before
completion
Oct 21 15:37:00 ansible systemd: puppetdb.service: control process exited,
code=exited status=1
Oct 21 15:37:00 ansible systemd: Stopped puppetdb Service. " {code}
So I'm looking
configuration to connect puppetdb to postgresql ;)

3. by default logs of puppetdb are going to ... /var/log/messages (for both:
puppet-agent, and puppetdb) so if one's doesn't know where one's doesn't know
why puppetdb is failing (and I need to configure now all rsyslogd for both,
everywhere in my local net(whatever I'm writing, I like puppet very very much
! gr8 job you are doing there) (it is a shame I think it is driven on java,
but... yeah)

Austin Blatt (JIRA)

unread,
Oct 21, 2019, 4:14:04 PM10/21/19
to puppe...@googlegroups.com
Austin Blatt updated an issue
Url: /docs/puppetdb/latest/connect_puppet_master.html
Rank: 3/5
Message:
there are three things I found either wrong, or simply mistaken:


1. " {{ puppet master --configprint route_file " }} (documentation is for puppet
latest, so I assume 6.10 at least) should be
" {{ puppet config print route_file " }}


2. when I will go through this documentation, my puppetdb on centos 7.0 never
starts, and... (this will be in point 3.0) it looks like then:
{code
:java }
Oct 21 15:36:59 ansible puppetdb: PuppetDB requires PostgreSQL.  The [database]
section must contain an appropriate "//host:port/database" subname setting.
Oct 21 15:36:59 ansible puppetdb: Startup script was terminated before

completion
Oct 21 15:37:00 ansible systemd: puppetdb.service: control process exited,

code=exited status=
1
Oct
1Oct 21 15:37:00 ansible systemd: Stopped puppetdb Service.
{code}
So I'm looking configuration to connect puppetdb to postgresql ;)

3. by default logs of puppetdb are going to ... /var/log/messages (for both:
puppet-agent, and puppetdb) so if one's doesn't know where one's doesn't know
why puppetdb is failing (and I need to configure now all rsyslogd for both,
everywhere in my local net(whatever I'm writing, I like puppet very very much
! gr8 job you are doing there) (it is a shame I think it is driven on java,
but... yeah)

Austin Blatt (JIRA)

unread,
Oct 21, 2019, 4:26:03 PM10/21/19
to puppe...@googlegroups.com
Austin Blatt commented on Improvement PDB-4554
 
Re: Docs feedback for "Connecting Puppet masters to PuppetDB"

Jean Bond I don't think this is related.

1. is an old cli command, it'll need to be updated

2. They haven't connected PuppetDB to PostgreSQL, so they need to do that first (and I believe from their message they realized that).

3. I was unsure of what was happening here, it appears that some of the error logging happens before we initialize our own log files at /var/log/puppetlabs/puppetdb/... and so it ends up in the file they found. I'll need to check if that's expected behavior.

Austin Blatt (JIRA)

unread,
Oct 21, 2019, 4:43:03 PM10/21/19
to puppe...@googlegroups.com
Austin Blatt updated an issue
Change By: Austin Blatt
Url: /docs/puppetdb/latest/connect_puppet_master.html
Rank: 3/5
Message:
there are three things I found either wrong, or simply mistaken:

1. {{puppet master --configprint route_file}} (documentation is for puppet
latest, so I assume 6.10 at least) should be {{puppet config print route_file}}

2. when I will go through this documentation, my puppetdb on centos 7.0 never
starts, and... (this will be in point 3.0) it looks like then:
{code}Oct 21 15:36:59 ansible puppetdb: PuppetDB requires PostgreSQL.  The [database] section must contain an appropriate "//host:port/database" subname setting.

Oct 21 15:36:59 ansible puppetdb: Startup script was terminated before completion
Oct 21 15:37:00 ansible systemd: puppetdb.service: control process exited, code=exited status=
1Oct 1
Oct
21 15:37:00 ansible systemd: Stopped puppetdb Service.

{code}
So I'm looking configuration to connect puppetdb to postgresql ;)

3. by default logs of puppetdb are going to ... /var/log/messages (for both:
puppet-agent, and puppetdb) so if one's doesn't know where one's doesn't know
why puppetdb is failing (and I need to configure now all rsyslogd for both,
everywhere in my local net(whatever I'm writing, I like puppet very very much
! gr8 job you are doing there) (it is a shame I think it is driven on java,
but... yeah)

David McTavish (Jira)

unread,
Jan 26, 2022, 3:05:01 PM1/26/22
to puppe...@googlegroups.com
David McTavish updated an issue
Change By: David McTavish
Sprint: Froyo - 2/16/2022
This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)
Atlassian logo

David McTavish (Jira)

unread,
Jan 26, 2022, 3:29:01 PM1/26/22
to puppe...@googlegroups.com
David McTavish updated an issue
Change By: David McTavish
Sprint: Froyo HA 2022 - 2/ 02- 16 /2022

David McTavish (Jira)

unread,
Feb 2, 2022, 3:40:02 PM2/2/22
to puppe...@googlegroups.com

David McTavish (Jira)

unread,
Feb 16, 2022, 2:42:03 PM2/16/22
to puppe...@googlegroups.com
David McTavish updated an issue
Change By: David McTavish
Sprint: HAHA On Deck, HA 2022-02-16

David McTavish (Jira)

unread,
Mar 1, 2022, 1:52:01 PM3/1/22
to puppe...@googlegroups.com
David McTavish updated an issue
Change By: David McTavish
Sprint: I&M&H On Deck, HA 2022-02-16

David McTavish (Jira)

unread,
Mar 3, 2022, 8:24:02 AM3/3/22
to puppe...@googlegroups.com
David McTavish updated an issue
Change By: David McTavish
Labels: docs-pdb low-hanging-fruit
Reply all
Reply to author
Forward
0 new messages