Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

rails dev box should not conflict with other packages #5

Closed
stoune opened this Issue Sep 13, 2012 · 0 comments

Comments

Projects
None yet
2 participants

stoune commented Sep 13, 2012

If you wan't to include some additional modules like Redis you quickly will be burried with Puppet modules conflicts.
Almost everyone include build-essential and git-core and in this case the lasr ot the puppet module will fail.
So your puppet module should respect all resources that was declared by previous modules.

How to achive this:
I found good example at puppet-rvm module:
https://github.com/blt04/puppet-rvm/blob/master/manifests/dependencies/ubuntu.pp

if ! defined(Package['build-essential'])      { package { 'build-essential':      ensure => installed } }

https://github.com/blt04/puppet-rvm

By doing so your module will be more reliable.

@fxn fxn closed this in 6490676 Sep 13, 2012

@jaw6 jaw6 referenced this issue in jaw6/railsmn-dev-box Jul 17, 2013

@derekrockwell derekrockwell Merge pull request #5 from jaw6/master
Should install rails from gems
c9acce1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment