Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i'm on a ubuntu machine when i fail to install jenkins with puppet with 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.

and indeed i don't have this:

/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 from:

and placed it in puppet under modules.

anyone can help how can i overcome this? thanks

share|improve this question
up vote 3 down vote accepted

Doesn't it tell you where this error occurs? I.e. which line of your Puppet manifests? Do you have an exec somewhere, that has "unless"? The error message you get seems to be clear. Either you should fully qualify the executables, i.e.

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

or you should add a path, i.e.

path => ['/bin', '/usr/bin'],
unless => 'apt-key list | grep -Fqe D50582E6',    
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.