Version information
This version is compatible with:
- Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x
- Puppet >= 5.0.0 < 7.0.0
- , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'treydock-phantomjs', '0.3.0'
Learn more about managing modules with a PuppetfileDocumentation
puppet-module-phantomjs
Table of Contents
- Overview
- Usage - Configuration options
- Reference - Parameter and detailed reference to all options
- Development - Guide for contributing to the module
Overview
This module installs phantomjs binary for Linux systems.
Usage
phantomjs
Install PhantomJS 2.1.1 to /usr/local/bin/phantomjs
class { 'phantomjs': }
Install specific version of PhantomJS
class { 'phantomjs':
version => '1.9.8',
}
Reference
http://treydock.github.io/puppet-module-phantomjs/
Development
Testing
Testing requires the following dependencies:
- rake
- bundler
Install gem dependencies
bundle install
Run unit tests
bundle exec rake release_checks
If you have Vagrant >= 1.2.0 installed you can run system tests
bundle exec rake beaker
Reference
Table of Contents
Classes
phantomjs
: Install and configure phantomjs
Classes
phantomjs
Install and configure phantomjs
Examples
Install PhantomJS 2.1.1 to /usr/local/bin/phantomjs
include ::phantomjs
Install specific version of PhantomJS
class { 'phantomjs':
version => '1.9.8',
}
Parameters
The following parameters are available in the phantomjs
class.
version
Data type: String
Version of PhantomJS to install.
Default value: '2.1.1'
source_url
Data type: Optional[String]
Optional URL for PhantomJS download.
Default value: undef
path
Data type: Stdlib::Absolutepath
The path to phantomjs binary.
Default value: '/usr/local/bin/phantomjs'
package_dependencies
Data type: Array
Array of package dependencies
Default value: ['bzip2','fontconfig']
Change log
All notable changes to this project will be documented in this file. The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
v0.3.0 (2019-08-30)
Added
- Add Debian 10 and drop Ubuntu 14.04 #9 (treydock)
- Bump version dependencies for stdlib and archive #7 (cubiclelord)
v0.2.0 (2019-05-07)
Added
v0.1.0 (2019-05-07)
Added
- Convert to PDK #5 (treydock)
- Use puppet strings #4 (treydock)
- Support Puppet 5 and 6 and update OS support matrix #3 (treydock)
0.0.1 (2017-11-27)
* This Changelog was automatically generated by github_changelog_generator
Dependencies
- puppetlabs/stdlib (>= 4.13.1 <7.0.0)
- puppet/archive (>= 1.0.0 <5.0.0)
Copyright (C) 2017 Trey Dockendorf treydock@gmail.com Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.