Version information
This version is compatible with:
- ,
Start using this module
Add this module to your Puppetfile:
mod 'caseyfw-robo', '1.0.1'
Learn more about managing modules with a PuppetfileDocumentation
puppet-robo
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.
Dependencies
- maestrodev/wget (>=1.2.0)
Copyright (c) 2015 Casey Fulton <casey@caseyfulton.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.