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, 2019 in Puppet by anonymous
1,081 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, 2019 by Sirajul
• 59,230 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
4,028 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, 2019 in Puppet by Krishti

edited Feb 15, 2019 3,693 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
785 views
+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
4,064 views
+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,230 points
756 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, 2019 in Puppet by Sirajul
• 59,230 points
847 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP