-
-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quoting default_settings.py #35
Comments
I saw some chatter about this on IRC today. Is the report here the latest On Mon, Jun 9, 2014 at 2:57 AM, Jonathan [email protected] wrote:
Spencer Krum |
During the day I found that it is not necessary to quote integers like |
Can you provide a complete example of your instantiation class? Thanks On Mon, Jun 9, 2014 at 3:12 PM, Jonathan [email protected] wrote:
Spencer Krum |
What do you need that's not in my original post? That is the complete instantiation of |
I am poking at this now. |
Couple early responses. Yes this is a bug, we should be handling the quoting for you. Second your invocation is wrong, you need to be passing in 'True' for the ssl_verify because that gets handed to python directly as a string. That could be considered a bug in the module probably. Also you need to pass it the certificate under puppetdb_cert not the private key. This file will be found at |
Hi @djjudas21 I've added quoting for the puppetdb_cert and puppetdb_key parameters. Setting the path to your ca file is still really janky. I've added documentation for this into the README and added some beaker tests as well. Can you try #37 out? Or if it's been merged before you read this, can you try master as well? Thanks, |
Hi, just picked up your message. The diffs look good to me but our puppet modules are all deployed from puppet forge directly, so it's hard to slipstream in non-official releases. Thanks for your tips about what I'm passing in. I think I'd fixed most of these myself after talking to the the developer of puppetboard itself. I'm heading off home for the weekend now but on Monday I'll have a think about deploying this test code without using puppet forge. Thanks for your effort checking this issue out. Cheers, |
I think we fixed this ya? |
Yes, I'm happy with the latest code. Thanks! |
Some attributes in the
puppetboard
class are not quoted properly when their values are written out todefault_settings.py
.This is my calling syntax, and for some variables I have had to double-encapsulate strings in single quotes and double quotes, so they are written out to
default_settings.py
with single quotes.When these variables are not double-quoted, this happens in the apache log because config values are written without quotes:
I'm using nibalizer-puppetboard 2.4.0 with Puppet 3.6.1. Thanks.
The text was updated successfully, but these errors were encountered: