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 fqdn.myhost.com
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'
/etc/puppet/modules/jenkins/manifests#

i have followed explanation in this page and use first module specified there: https://wiki.jenkins-ci.org/display/JENKINS/Puppet

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

Can somebody please help?

Aug 9 in Puppet by anonymous
24 views

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 by Sirajul
• 25,220 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
585 views
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 in Puppet by Krishti

edited Feb 15 260 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 in Puppet by Kavyashri
28 views
+13 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
147 views
0 votes
1 answer
0 votes
1 answer

Jenkins with puppet.

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

answered Aug 8 in Puppet by Sirajul
• 25,220 points
14 views
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 in Puppet by Sirajul
• 25,220 points
26 views