Forge Home

robo

This module installs Robo, a task runner for PHP.

9,306 downloads

9,084 latest version

4.6 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.

Version information

  • 1.0.1 (latest)
  • 1.0.0 (deleted)
released Jun 14th 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 'caseyfw-robo', '1.0.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add caseyfw-robo
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install caseyfw-robo --version 1.0.1

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
Tags: php, robo

Documentation

caseyfw/robo — version 1.0.1 Jun 14th 2015

puppet-robo

Build
Status

This module installs Robo, a task runner for PHP.

This puppet module uses Will Durand's Composer module as a template. See https://forge.puppetlabs.com/willdurand/composer

Installation

Using the Puppet Module Tool, install the caseyfw/robo by running the following command:

puppet module install caseyfw/robo

Otherwise, close this repository and make sure to install the proper dependencies (puppet-wget):

git clone git://github.com/caseyfw/puppet-robo.git modules/robo

Important: the right puppet-wget module is maestrodev/puppet-wget. You should not use any other puppet-wget module. Example42's module won't work for instance. So, please, run the following command:

git clone git://github.com/maestrodev/puppet-wget.git modules/wget

Usage

Include the robo class:

include robo

You can specify the command name you want to get, and the target directory (aka where to install Robo):

class { 'robo':
  command_name => 'robo',
  target_dir   => '/usr/local/bin'
}

You can specify a particular user that will be the owner of the Robo executable:

class { 'robo':
  user => 'foo',
}

Running the tests

Install the dependencies using Bundler:

BUNDLE_GEMFILE=.gemfile bundle install

Run the following command:

BUNDLE_GEMFILE=.gemfile bundle exec rake spec

License

puppet-robo is released under the MIT License. See the bundled LICENSE file for details.