Forge Home

meteor

Module to install and configure a meteor stack. Both Dev and Prod configurations.

12,088 downloads

8,662 latest version

2.8 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 0.3.7 (latest)
  • 0.3.5
  • 0.3.4
  • 0.3.3
  • 0.3.2
  • 0.3.1
  • 0.3.0
  • 0.2.3
  • 0.2.2
  • 0.2.1
  • 0.2.0
  • 0.1.1
  • 0.1.0
released Jul 6th 2015
This version is compatible with:
  • , , , , , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'vormetriclabs-meteor', '0.3.7'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add vormetriclabs-meteor
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install vormetriclabs-meteor --version 0.3.7

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

vormetriclabs/meteor — version 0.3.7 Jul 6th 2015

meteor

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with meteor
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module

Overview

Installs Meteor onto Linux systems...

Module Description

Meteor is a new and exciting full stack javascript platform, that simplifies and shortcuts development efforts, yet it's a bit confusing on how to create a real production instance of the service. This puppet module aims to solve that problem.

It's designed to install meteor for the system, and selected user (root by default). Also it can be used to install MongoDB, Nginx, and PM2 for a production environment. It's currently HTTP only via a reverse proxy.

Installing meteor apps requires the orginal source files, and it then "builds" them into native node.js applications for hosting in PM2, with a nginx proxy.

Setup

What meteor affects

  • Installs meteor systemwide
  • Can be used to host production versions of a meteor app

Beginning with meteor

Simply install the module to your puppet module path

puppet module install vormetriclabs-meteor

or in Puppetfile/r10k/librarian-puppet

mod "vormetriclabs-meteor"

Usage

Just install it as root

include meteor

Installs it as a non-root user

class {"meteor":
    user => "meteor"
}

Reference

To use it as a class...

class {"meteor":

}

Host a meteor application

class {"meteor":}->
class { "meteor::app":
  app_name       => "simple-todos", # Application Name
  app_dir        => "/tmp/app_dir",  # Where the application bundle will be deployed/hosted
  app_root_url   => "http://simple-todos", # Actual URL for the application
  app_vhost_name => "simple-todos",  # Host name for nginx vhost setting
  from_source    => true,  # your application source is hosted in a git repo or not...
  source         => "https://github.com/meteor/simple-todos.git",  # URL to checkout your application source
  app_source_dir => "/home/vagrant/simple-todos",  # temp directory to check out too, or where you put the application source.
}

Limitations

Only tested on Ubuntu 12.04 and 14.04 32/64bits, but should work on any 32/64 bit Linux

Development

There is a Vagrantfile present to test out the module. Just "vagrant up" and it should build and install meteor on the guest OS. However there are 2 prereqs to "vagrant up" successfully.

  • You'll need to install vagrant-librarian-puppet to your vagrant installation - https://github.com/mhahn/vagrant-librarian-puppet
  • You'll need to create an empty folder in the project folder called "modules" it's a silly bug, that we'll get to someday :)

It does require vagrant-librarian-puppet, if you are using Windows you may need to use our fork until the Pull Request to fix the facter issue is merged. vormetriclabs/vagrant-librarian-puppet

Release Notes/Contributors/Etc Optional

Feel free to contribute or submit Pull Requests