Re: [Puppet Users] Broken puppetdb

2016-06-12 Thread Wyatt Alt
On 06/12/2016 11:29 AM, Wyatt Alt wrote: This is the configuration file for the puppetdb terminus, and puppet server uses it to find puppetdb. Without the file, the hostname "puppetdb" is assumed, hence the error you see. You need to configure it like this:

Re: [Puppet Users] Broken puppetdb

2016-06-12 Thread Wyatt Alt
On 06/11/2016 07:35 PM, Zeke Dehnert wrote: There was a puppetdb.conf file in the /etc/puppetlabs/puppet directory, but I moved it out, restarted puppet server and I’m still getting errors: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to execute

Re: [Puppet Users] Anyone know how to use the puppetlabs-packer module ?

2016-06-12 Thread Rich Burroughs
Hi Dan, Yeah I took a look and there's not a lot there doc wise. It's quite possible they're driving this from Jenkins or another tool. The Packer JSON files all appear to all be in the templates directory. I'd imagine you could run Packer against the one you need to get the base OS you want,

Re: [Puppet Users] Issue copying files if package exists

2016-06-12 Thread Helmut Schneider
Rob Nelson wrote: > Your code only shows one package, $package, being created, but it > does not show where the value for $package is set. Either that var The package block is missleading, it just installs fail2ban: $package = $::operatingsystem ? { /(?i:Ubuntu|Debian|Mint)/ =>

[Puppet Users] Anyone know how to use the puppetlabs-packer module ?

2016-06-12 Thread Dan White
There was a request on the mailing list for a newer version of puppetlabs/centos-6.6-64-puppet I would like to try building a 6.8 version but I am not completely sure how to use puppetlabs-packer There are either a piece or two missing or exactly HOW to use it is not clear - not clear to me

Re: [Puppet Users] Issue copying files if package exists

2016-06-12 Thread Rob Nelson
Your code only shows one package, $package, being created, but it does not show where the value for $package is set. Either that var has the value 'postfix', or the postfix package is managed in another file. Regardless, there is nothing showing where a package called $sshdPackage is managed here,

[Puppet Users] Issue copying files if package exists

2016-06-12 Thread Helmut Schneider
Hi, I want to copy files if a package is installed. What works fine with the packages 'postfix', 'fail2ban' and 'apache2' does not with 'openssh-server. class fail2ban { $postfixPackage = $::operatingsystem ? { /(?i:Ubuntu|Debian|Mint)/ => 'postfix', default =>