Bug #2808
puppetqd doesn't give an error when no config is given
| Status: | Closed | Start date: | 11/12/2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | error reporting | |||
| Target version: | 0.25.2 | |||
| Affected Puppet version: | 0.25.1 | Branch: | http://github.com/jes5199/puppet/tree/ticket/0.25.x/2808 | |
| Keywords: | ||||
| Votes: | 0 |
Description
I was trying out puppetqd from 0.25.1 and I noticed that nothing from the queue was written into the database. After some searching, I found this to be because I had my database config in [puppetmaster] and not in [main]. It would be helpful if puppetqd could output something like “No database config found.” I spent my time now mostly trying different queuing software and the like.
Related issues
History
Updated by James Turnbull about 2 years ago
- Category set to queuing
- Status changed from Unreviewed to Accepted
- Assignee set to Markus Roberts
Updated by Markus Roberts about 2 years ago
- Assignee changed from Markus Roberts to Jesse Wolfe
- Target version set to 0.25.2
Updated by Markus Roberts about 2 years ago
- Category changed from queuing to error reporting
Updated by Luke Kanies about 2 years ago
This is correct behaviour — it’s using the default because it didn’t find any configuration – but we can add some logging to make its choice more clear.
Updated by Jesse Wolfe about 2 years ago
- Status changed from Accepted to In Topic Branch Pending Review
- Branch set to http://github.com/jes5199/puppet/tree/ticket/0.25.x/2808
Added an info message about what database we're connecting to.
In the case of the default database, it looks like:
info: Connecting to sqlite3 database: /var/lib/puppet/state/clientconfigs.sqlite3
Updated by James Turnbull about 2 years ago
- Status changed from In Topic Branch Pending Review to Closed
Pushed in commit:e0488b26f04e931b17b104fd7f69f6527436e81d in branch 0.25.x