https://github.com/kwakwaversal/saltstack-formula-plenv
Install plenv and Perl http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
https://github.com/kwakwaversal/saltstack-formula-plenv
saltstack-formula
Last synced: about 2 months ago
JSON representation
Install plenv and Perl http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
- Host: GitHub
- URL: https://github.com/kwakwaversal/saltstack-formula-plenv
- Owner: kwakwaversal
- License: apache-2.0
- Created: 2016-11-08T16:16:18.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-12T08:58:58.000Z (about 9 years ago)
- Last Synced: 2025-02-28T22:21:47.531Z (over 1 year ago)
- Topics: saltstack-formula
- Language: SaltStack
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# saltstack-formula-plenv
Install [plenv](https://github.com/tokuhirom/plenv) and [Perl](http://perldoc.perl.org/)
http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
## Description
plenv will be installed in ~/.plenv. This is assumed when cloning the main
repository, when cloning plenv-related plugins, and conditional checks for
certain salt states. It's not currently possible to change the default
installation folder without updating the whole formula.
## Available states
- [plenv](#plenv)
- [plenv.clone](#plenv.clone)
- [plenv.global](#plenv.global)
- [plenv.global-packages](#plenv.global-packages)
- [plenv.install](#plenv.install)
- [plenv.plugins](#plenv.plugins)
- [plenv.profile](#plenv.profile)
## Basic pillar
Below is a basic pillar for the user `vagrant`. N.B., the user must exist on the
system you're salting.
```yaml
plenv:
# The version of perl to be installed for all users. N.B., this can be
# overridden per user.
perl:
packages: []
versions:
- 5.22.0
users:
vagrant:
user: vagrant
group: vagrant
perl:
global: 5.24.0
packages_install_options: -q --cascade-search --mirror ftp://mirror.bytemark.co.uk/CPAN/ --mirror http://cpan.org
packages:
- Carton
versions:
- 5.24.0
```