-
Notifications
You must be signed in to change notification settings - Fork 16
Add nodejs to parrot #90
base: master
Are you sure you want to change the base?
Conversation
Closing hotfix
…supporting additional configuration options via config.yml, for example drush_installed: true to install drush and drush_branch: '7.x' to install latest 7.x branch for Druapl 8.
The puppet version installed by Ubuntu 12.04 is an older version of puppet. The updated bootstrap script adds the puppetlabs repo so apt-get can install the latest stable puppet.
To make the installation of front end tools easier this update adds nodejs and npm, then uses npm to install bower, gulp and grunt.
|
Hi @darthsteven, I was hoping to split this into individual commits but I ended up with a pull request for all of them, so I've updated this ticket's title to match. To make things easier for our front enders we wanted to get the tools installed that we need to manage our front end workflow from within the vagrant box. These are based on node.js and include bower and gulp (I also included grunt for people that prefer that). To be able to install the nodejs module puppetlabs provides I needed to have a more modern version of puppet installed (3.x version rather than 2.x). So the first commit modifies the bootstrap script to add the puppet labs repo so that when apt-get install runs it'll install the latest stable version. The next commit updates the stdlib module. I'm not sure if this is strictly necessary to install nodejs. The last commit includes the nodejs module and adds the needed declarations to the parrot.pp manifest to install the packages. Oh and the last commit is a cleanup. |
|
Its possible you'll want the install of node.js and the other packages as optional items using the config.yml file? If so let me know and I'll make them optional. I figure they use such little resources and they are pretty important to modern front end dev that having them in parrot makes sense. |
When watching files for changes within vagrant using Gulp watch it was taking a long time to recognise a file change. Adding this option to the NFS mount makes a huge difference and changes are picked up immediately.
|
Also added an option to the NFS mount to greatly speed up tasks which watch for file changes. |
|
Can one of the admins verify this patch? |
The puppet version installed by Ubuntu 12.04 is an older version of
puppet. The updated bootstrap script adds the puppetlabs repo so apt-get
can install the latest stable puppet.