Ask Your Question
0

Puppetdb install from module fails [closed]

asked 2015-01-28 04:19:37 -0600

chriscowley gravatar image

I am trying the simplest possible config - Puppetserver, PuppetDB and PGSQL all on the same machine. I have done this many times before.

My puppetmaster node configuration contains:

node /puppetmaster/ { class { 'puppetdb': } class { 'puppetdb::master::config': } }

However, the puppet run is failing with:

Error: /Stage[main]/Postgresql::Server::Config/Concat[/var/lib/pgsql/data/pg_ident.conf]/Exec[concat_/var/lib/pgsql/data/pg_ident.conf]: Could not evaluate: '/var/lib/puppet/concat/bin/concatfragments.sh' is not executable

It is quite clearly executable as sudo -u puppet ls -l /var/lib/puppet/concat/bin/concatfragments.sh gives:

-rwxr-xr-x 1 root puppet 3945 Jan 28 10:24 /var/lib/puppet/concat/bin/concatfragments.sh

I have done no pre-configuration in puppet.conf, this is a clean install.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by chriscowley
close date 2015-01-30 07:24:33.142169

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-01-30 07:24:12 -0600

chriscowley gravatar image

In fact it was problem with the custom image my client had supplied. /var was being mounted with no_exec - which was annoying :-(

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-01-28 04:19:37 -0600

Seen: 221 times

Last updated: Jan 30 '15