FAQ
Hi all,

hope to be on the right place here..

I'm playing with Vagrant and Puppet for a small Apache2+Passenger Server
above ubuntu-precise-32. I like to get this working for a small group of
developers.

I confess, I didn't read the whole documentation about puppet, but I've
browsed the whole Internet.... twice! ...about this problem. I only want to
get this small environment working at the moment, so I don't want to spend
much time in reading and coding examples. Maybe some of you can help me a
bit.

The manifest is working so far, but the Installation of passenger fails
with this error:

notice:
/Stage[main]/Rvm::Passenger::Apache::Ubuntu::Post/File[/etc/apache2/mods-enabled/passenger.load]/ensure:
created
err: /Stage[main]/Apache::Service/Service[httpd]: Failed to call refresh:
Could not start Service[httpd]: Execution of '/etc/init.d/apache2 start'
returned 1: at /tmp/vagrant-puppet/modules-0/apache/manifests/service.pp:28
notice:
/Stage[main]/Install-rvm/Rvm_gem[[email protected]/ruby-hmac]/ensure:
created
notice: /Stage[main]/Postconfig/Exec[use-rubyver]/returns: executed
successfully
notice: /Stage[main]/Postconfig/Exec[gemset-use]/returns: executed
successfully
err: /Stage[main]/Postconfig/Exec[passenger-install-apache]/returns: change
from notrun to 0 failed: rvm gemset use mygemset &&
passenger-install-apache2-module --auto returned 1 instead of one of [0] at
/tmp/vagrant-puppet/manifests/development.pp:62

The passenger-install-apache2-module command runs smoothly if I fire it in
a shell on the vagrant box. I think thats the problem for the first error.
Apache cannot start because of the missing module.

The manifest I use is this:
http://pastie.org/private/xcsmy8b6lwivymegeqcrrw

Thanks in advance!

Chris


--
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

  • Christian at Sep 26, 2013 at 8:34 am
    Anyone?

    --
    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 post to this group, send email to [email protected].
    Visit this group at http://groups.google.com/group/puppet-users.
    For more options, visit https://groups.google.com/groups/opt_out.
  • Ellison Marks at Sep 26, 2013 at 4:41 pm
    At a guess, you're simply including things in a specific order, which has
    no effect on the order that puppet will attempt to apply them. Try giving
    things an explicit order with before/after, require/subscribe, or ->/~>.
    On Monday, September 23, 2013 5:19:45 AM UTC-7, Christian wrote:

    Hi all,

    hope to be on the right place here..

    I'm playing with Vagrant and Puppet for a small Apache2+Passenger Server
    above ubuntu-precise-32. I like to get this working for a small group of
    developers.

    I confess, I didn't read the whole documentation about puppet, but I've
    browsed the whole Internet.... twice! ...about this problem. I only want to
    get this small environment working at the moment, so I don't want to spend
    much time in reading and coding examples. Maybe some of you can help me a
    bit.

    The manifest is working so far, but the Installation of passenger fails
    with this error:

    notice:
    /Stage[main]/Rvm::Passenger::Apache::Ubuntu::Post/File[/etc/apache2/mods-enabled/passenger.load]/ensure:
    created
    err: /Stage[main]/Apache::Service/Service[httpd]: Failed to call refresh:
    Could not start Service[httpd]: Execution of '/etc/init.d/apache2 start'
    returned 1: at /tmp/vagrant-puppet/modules-0/apache/manifests/service.pp:28
    notice:
    /Stage[main]/Install-rvm/Rvm_gem[[email protected]/ruby-hmac]/ensure:
    created
    notice: /Stage[main]/Postconfig/Exec[use-rubyver]/returns: executed
    successfully
    notice: /Stage[main]/Postconfig/Exec[gemset-use]/returns: executed
    successfully
    err: /Stage[main]/Postconfig/Exec[passenger-install-apache]/returns:
    change from notrun to 0 failed: rvm gemset use mygemset &&
    passenger-install-apache2-module --auto returned 1 instead of one of [0] at
    /tmp/vagrant-puppet/manifests/development.pp:62

    The passenger-install-apache2-module command runs smoothly if I fire it in
    a shell on the vagrant box. I think thats the problem for the first error.
    Apache cannot start because of the missing module.

    The manifest I use is this:
    http://pastie.org/private/xcsmy8b6lwivymegeqcrrw

    Thanks in advance!

    Chris

    --
    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 post to this group, send email to [email protected].
    Visit this group at http://groups.google.com/group/puppet-users.
    For more options, visit https://groups.google.com/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppuppet-users @
categoriespuppet
postedSep 23, '13 at 12:21p
activeSep 26, '13 at 4:41p
posts3
users2
websitepuppetlabs.com

2 users in discussion

Christian: 2 posts Ellison Marks: 1 post

People

Translate

site design / logo © 2023 Grokbase