Hi
I am a newbie.
Trying to build passenger support in and keep getting this error below:
sudo puppet apply --verbose manifests/site.pp> info: Applying configuration version ''1344324839''
> info: FileBucket adding {md5}af62707310b11f1806137ce653ca064e
> info: /Stage[main]/Passenger/File[/etc/apache2/conf.d/passenger.conf]:
> Filebucketed /etc/apache2/conf.d/passenger.conf to puppet with sum
> af62707310b11f1806137ce653ca064e
> notice:
> /Stage[main]/Passenger/File[/etc/apache2/conf.d/passenger.conf]/content:
> content changed ''{md5}af62707310b11f1806137ce653ca064e''
to
> ''{md5}6313f7abd80413f1ac3d6f6d76ac686b''
> info: /Stage[main]/Passenger/File[/etc/apache2/conf.d/passenger.conf]:
> Scheduling refresh of Service[apache2]
> *err:
> /Stage[main]/Passenger/Exec[/usr/local/bin/passenger-install-apache2-module
> --auto]: Could not evaluate: bundler-1.1.5
> daemon_controller-1.0.0
> facter-1.6.10
> fastthread-1.0.7
> passenger-3.0.11
> passenger-3.0.15
> puppet-2.7.12
> rack-1.4.1
> rake-0.9.2.2
> rdoc-3.9.4*
> sh: 2: passenger-3.0.15/ext/apache2/mod_passenger.so: not found
> err: /Stage[main]/Apache2/Service[apache2]/ensure: change from stopped to
> running failed: Could not start Service[apache2]: Execution of
> ''/etc/init.d/apache2 start'' returned 1: at
> /etc/puppet/modules/apache2/manifests/init.pp:12
> notice: /Stage[main]/Apache2/Service[apache2]: Triggered
''refresh'' from 1
> events
> notice: Finished catalog run in 0.41 seconds
My modules/passenger/files/passenger.conf contains:
> LoadModule passenger_module
>
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.15/ext/apache2/mod_passenger.so
> PassengerRoot /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.15
> PassengerRuby /usr/local/bin/ruby
> PassengerUseGlobalQueue on
> PassengerMaxPoolSize 5
> PassengerPoolIdleTime 900
> PassengerMaxRequests 10000
My modules/passenger/manifests/init.pp:
> 1 class passenger {
> 2 exec {
> 3 "/usr/local/bin/gem install passenger -v=3.0.15":
> 4 user => root,
> 5 group => root,
> 6 alias => "install_passenger",
> 7 before => Exec["passenger_apache_module"],
> 8 unless => "ls
> /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.15/"
> 9 }
> 10 exec {
> 11 "/usr/local/bin/passenger-install-apache2-module
--auto":
> 12 user => root,
> 13 group => root,
> 14 path => "/bin:/usr/bin:/usr/local/apache2/bin/",
> 15 alias => "passenger_apache_module",
> 16 unless => "ls /usr/local/lib/ruby/gems/1.9.1/gems/
> 17 passenger-3.0.15/ext/apache2/mod_passenger.so"
> 18 }
> 19 file {
> 20 "/etc/apache2/conf.d/passenger.conf":
> 21 mode => 644,
> 22 owner => root,
> 23 group => root,
> 24 alias => "passenger_conf",
> 25 notify => Service["apache2"],
> 26 source =>
"puppet:///modules/passenger/passenger.conf"
> 27 }
> 28 }
Environment: ubuntu-server 12.04 | puppet 2.7.12 | ruby 1.9.3p194
(2012-04-20 revision 35410) [x86_64-linux]
I would appreciate any direction in debugging this thing.
Ross
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/JyC7Z935D8cJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.