Hello,
I try to build nodejs, unfortunately by running of make via puppet it
returns 2 somehow.
When I run make manually it returns 0 as expected.
puppet agent -t
info: Retrieving plugin
info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
info: Loading facts in /var/lib/puppet/lib/facter/vmwaretools_version.rb
info: Loading facts in /var/lib/puppet/lib/facter/pper_installed.rb
info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
info: Loading facts in /var/lib/puppet/lib/facter/os_maj_version.rb
info: Loading facts in /var/lib/puppet/lib/facter/environment.rb
info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
info: Caching catalog for pc
info: Applying configuration version '1389785537'
notice: /Stage[main]/Development-pc::Nodejs/Exec[git checkout]/returns:
executed successfully
err: /Stage[main]/Development-pc::Nodejs/Exec[make nodejs]/returns: change
from notrun to 0 failed: /usr/bin/make returned 2 instead of one of [0] at
/etc/puppet/modules/development-pc/manifests/nodejs.pp:39
notice: /Stage[main]/Development-pc::Nodejs/Exec[make install nodejs]:
Dependency Exec[make nodejs] has failures: true
warning: /Stage[main]/Development-pc::Nodejs/Exec[make install nodejs]:
Skipping because of failed dependencies
notice: /Stage[main]/Development-pc::Nodejs/Exec[npm install grunt-cli]:
Dependency Exec[make nodejs] has failures: true
warning: /Stage[main]/Development-pc::Nodejs/Exec[npm install grunt-cli]:
Skipping because of failed dependencies
notice: Finished catalog run in 4.76 seconds
This is my exec:
exec {'make nodejs':
command => "/usr/bin/make",
creates => "/usr/local/src/node/out/Release/node",
cwd => "/usr/local/src/node",
path => ["/usr/bin", "/usr/sbin"],
require => Exec['configure nodejs'],
}
Do you got any idea?
Thanks!
Björn
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/8918fcca-4402-4c03-8148-0222e6735c89%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.