You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exec { path => "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"}
include rvm
and I get this error:
vagrant@fullstack:~/.puppet$ sudo puppet apply --verbose /etc/puppet/manifests/site.pp --modulepath=/home/vagrant/.puppet/modules
Info: Loading facts in /home/vagrant/.puppet/modules/stdlib/lib/facter/root_home.rb
Info: Loading facts in /home/vagrant/.puppet/modules/stdlib/lib/facter/facter_dot_d.rb
Info: Loading facts in /home/vagrant/.puppet/modules/stdlib/lib/facter/puppet_vardir.rb
Info: Loading facts in /home/vagrant/.puppet/modules/stdlib/lib/facter/pe_version.rb
Info: Loading facts in /home/vagrant/.puppet/modules/rvm/lib/facter/rvm_version.rb
Info: Loading facts in /home/vagrant/.puppet/modules/rvm/lib/facter/rvm_installed.rb
Info: Loading facts in /home/vagrant/.puppet/modules/concat/lib/facter/concat_basedir.rb
Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
Notice: Compiled catalog for fullstack.lan in environment production in 0.29 seconds
Info: Loading facts in /home/vagrant/.puppet/modules/stdlib/lib/facter/root_home.rb
Info: Loading facts in /home/vagrant/.puppet/modules/stdlib/lib/facter/facter_dot_d.rb
Info: Loading facts in /home/vagrant/.puppet/modules/stdlib/lib/facter/puppet_vardir.rb
Info: Loading facts in /home/vagrant/.puppet/modules/stdlib/lib/facter/pe_version.rb
Info: Loading facts in /home/vagrant/.puppet/modules/rvm/lib/facter/rvm_version.rb
Info: Loading facts in /home/vagrant/.puppet/modules/rvm/lib/facter/rvm_installed.rb
Info: Loading facts in /home/vagrant/.puppet/modules/concat/lib/facter/concat_basedir.rb
Info: Applying configuration version '1390941992'
Error: Could not find command '/usr/bin/curl'
Error: /Stage[main]/Rvm::System/Exec[system-rvm]/returns: change from notrun to 0 failed: Could not find command '/usr/bin/curl'
Than I try this:
Exec { path => "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"}
stage {'req-install': before => Stage['rvm-install']}
class requirements {
package { 'curl':
ensure => present
}
}
class doinstall {
class { requirements:, stage => "req-install" }
}
include doinstall
include rvm
and I get this error:
vagrant@fullstack:~/.puppet$ sudo puppet apply --verbose /etc/puppet/manifests/site.pp --modulepath=/home/vagrant/.puppet/modules
Info: Loading facts in /home/vagrant/.puppet/modules/stdlib/lib/facter/root_home.rb
Info: Loading facts in /home/vagrant/.puppet/modules/stdlib/lib/facter/facter_dot_d.rb
Info: Loading facts in /home/vagrant/.puppet/modules/stdlib/lib/facter/puppet_vardir.rb
Info: Loading facts in /home/vagrant/.puppet/modules/stdlib/lib/facter/pe_version.rb
Info: Loading facts in /home/vagrant/.puppet/modules/rvm/lib/facter/rvm_version.rb
Info: Loading facts in /home/vagrant/.puppet/modules/rvm/lib/facter/rvm_installed.rb
Info: Loading facts in /home/vagrant/.puppet/modules/concat/lib/facter/concat_basedir.rb
Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
Notice: Compiled catalog for fullstack.lan in environment production in 0.63 seconds
Error: Could not find dependent Stage[rvm-install] for Stage[req-install] at /etc/puppet/manifests/site.pp:4
I'm also having issues with installing a package on CentOS 6 with package. I'm trying to install unzip, but when I try to use that it fails with error:
Error: Could not find command '/usr/bin/unzip'
Error: /Stage[main]/Akka/Exec[/usr/bin/unzip /tmp/akka_2.10-2.3.8.zip]/returns: change from notrun to 0 failed: Could not find command '/usr/bin/unzip'
I've this manifest file:
and I get this error:
Than I try this:
and I get this error:
Running Puppet v3.4.2 on Debian 7.1. Puppet module rvm-puppet installed via:
Any help would be greatly appreciated :)
The text was updated successfully, but these errors were encountered: