Skip to content
This repository was archived by the owner on Dec 14, 2021. It is now read-only.

Conversation

@tanc
Copy link

@tanc tanc commented May 23, 2015

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.

Stephen Cox and others added 5 commits January 23, 2015 12:55
…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.
@tanc tanc changed the title Updated bootstrap.sh to install latest puppet Add nodejs to parrot May 23, 2015
@tanc
Copy link
Author

tanc commented May 23, 2015

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.

@tanc
Copy link
Author

tanc commented May 23, 2015

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.
@tanc
Copy link
Author

tanc commented May 23, 2015

Also added an option to the NFS mount to greatly speed up tasks which watch for file changes.

@computerminds-jenkins
Copy link

Can one of the admins verify this patch?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants