cmuench / puppet-n98magerun

n98-magerun puppet module [unmaintained]
Apache License 2.0
4 stars 15 forks source link

Validation of Exec[download n98-magerun] failed #2

Closed adam-paterson closed 10 years ago

adam-paterson commented 10 years ago

I've added the puppet module using puppet-librarian. When trying to run my provisioning manifest I get the following error.

    # n98-magerun install
    class { 'n98magerun': }
Error: Validation of Exec[download n98-magerun] failed: 'curl -o n98-magerun.phar
https://raw.github.com/netz98/n98-magerun/master/n98-magerun.phar' is not qualified
and no path was specified. Please qualify the command or specify a path. at
/etc/puppet/modules/n98magerun/manifests/init.pp:22
adam-paterson commented 10 years ago

Sorry, oversight on my behalf. I've fixed this by adding the paths to my manifest.

Exec {
    path => '/usr/bin:/usr/sbin/:/bin:/sbin:/usr/local/bin:/usr/local/sbin',
}