Can t start jenkins with puppet

0 votes

I'm trying to install jenkins on a puppet server which is a ubuntu machine.But i'm getting the following error:

/etc/puppet/modules/jenkins/manifests# puppet agent --no-daemonize --verbose
notice: Starting Puppet client version 2.7.1
info: Caching catalog for
err: Could not run Puppet configuration client: Parameter unless failed: 'apt-key list | grep -Fqe 'D50582E6'' is not qualified and no path was specified. Please qualify the command or specify a path.

I didn't have a few things:

/etc/puppet/modules/jenkins/manifests# apt-key list | grep -Fqe 'D50582E6'

i have followed explanation in this page and use first module specified there:

i have downloaded the apt module and placed it in puppet under modules.

Can somebody please help?

Aug 9, 2019 in Puppet by anonymous

1 answer to this question.

0 votes

You could probably try this:

Either you should fully qualify the executables, i.e.

unless => '/usr/bin/apt-key list | /bin/grep -Fqe D50582E6',

or you should try adding a path, i.e.

path => ['/bin', '/usr/bin'],
unless => 'apt-key list | grep -Fqe D50582E6'
answered Aug 9, 2019 by Sirajul
• 59,070 points

Related Questions In Puppet

+1 vote
1 answer

Steps to trigger puppet agent from jenkins

Heyy @Hannah,  First, you need to create Jenkins slave, ...READ MORE

answered Dec 16, 2018 in Puppet by Kiyara
0 votes
0 answers
0 votes
1 answer

Can I access environment variables with Facter in Puppet?

Hey @Ruth, not directly. However, Facter reads ...READ MORE

answered Feb 15, 2019 in Puppet by Krishti

edited Feb 15, 2019 1,854 views
0 votes
1 answer

How do I start a puppet server?

Hey if you're using Ubuntu, you can ...READ MORE

answered Feb 21, 2019 in Puppet by Kavyashri
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
+2 votes
1 answer
0 votes
1 answer

Jenkins with puppet.

For anyone interested in how to pull ...READ MORE

answered Aug 8, 2019 in Puppet by Sirajul
• 59,070 points
0 votes
1 answer

Managing a Domain Name System (DNS) nameserver file with Puppet.

In this case, you could  build a private ...READ MORE

answered Jul 26, 2019 in Puppet by Sirajul
• 59,070 points