Re: [foreman-dev] Puppetdb Plugin Options Update .

2017-01-19 Thread Ewoud Kohl van Wijngaarden
On Mon, Jan 16, 2017 at 03:01:23AM -0800, Karen Harutyunyan wrote:
> PuppetDB plugin has new version which bring a lot of interesting parameters 
> to get puppetdb.4.3 working properly . like ssl-ca and etc. Please can 
> someone send me docs how to add (or create pull request) to this params. If 
> you have time enough to do that it`s also perfect for me .

https://github.com/theforeman/puppet-foreman/commit/c12169e8f6b13b05a6f70074078ce4ede78b5d6e
fixes this and is part of puppet-foreman 7.1.0.

-- 
You received this message because you are subscribed to the Google Groups 
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[foreman-dev] Puppetdb Plugin Options Update .

2017-01-16 Thread Karen Harutyunyan
Hi All ,

PuppetDB plugin has new version which bring a lot of interesting parameters 
to get puppetdb.4.3 working properly . like ssl-ca and etc. Please can 
someone send me docs how to add (or create pull request) to this params. If 
you have time enough to do that it`s also perfect for me .

Sharing new features below which I`ll prefer to see in next release of 
foreman.

Usage: 

Go to Administer > Settings > PuppetDB and set puppetdb_address with your 
PuppetDB address, puppetdb_dashboard_address (optional) to proxy the 
dashboard, puppetdb_enabled to either true or false if you want to enable 
or disable PuppetDB integration. Obviously you will need a PuppetDB 
instance at the address you provide.

Alternatively you can put your settings in config/settings.yaml. Please 
keep in mind these will be overwritten if changed in the application, and 
if the application is rebooted, YAML rules will overwrite again your 
manually changed settings. Hence passing your settings in this format is 
discouraged, but allowed.

for PuppetDB 4

:puppetdb:
  :enabled: true
  :address: 'https://puppetdb:8081/pdb/cmd/v1'
  :dashboard_address: 'http://puppetdb:8080/pdb/dashboard'


*  :puppetdb_ssl_ca_file: '/etc/puppetlabs/puppet/ssl/certs/ca.pem'
  :puppetdb_ssl_certificate: '/etc/puppetlabs/puppet/ssl/certs/FQDN.pem'
  :puppetdb_ssl_private_key: '/etc/puppetlabs/puppet/ssl/private_keys/FQDN.pem'*

Regards
Karen

-- 
You received this message because you are subscribed to the Google Groups 
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.