Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

How do I invoke a build script after downloading from git

$
0
0
Here is the code: exec { "Download Phalcon": path => ["/usr/bin/", "/home/cphalcon/build"], command => "git clone git://github.com/phalcon/cphalcon.git /home/cphalcon", require => [Package["git"], Package["php5-fpm"]] } exec { "Build Phalcon": require => Exec["Download Phalcon"], command => "./install", # creates => "/home/cphalcon/build", cwd => "/home/cphalcon/build", path => ["/usr/bin", "/home/cphalcon/build"] } Here are the errors: ==> default: Error: ./install: line 38: rm: command not found ==> default: ./install: line 64: phpize: command not found ==> default: Error: /Stage[main]/Main/Exec[Build Phalcon]/returns: change from notrun to 0 failed: ./install: line 38: rm: command not found ==> default: ./install: line 64: phpize: command not found Any ideas? phpize is not missing when I manually invoke ./install from the CLI - why would it be missing now?

Viewing all articles
Browse latest Browse all 6104

Trending Articles