Mercurial > repos > other > Puppet
view modules/python/manifests/dev.pp @ 157:c6b1b42f3e4b puppet-3.6
Move all sites to separate LetsEncrypt certs to make adding future domains easier
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Thu, 30 Mar 2017 20:41:18 +0100 |
parents | 956e484adc12 |
children |
line wrap: on
line source
class python::dev($ensure=present, $version=latest) { $python = $version ? { 'latest' => "python", default => "python${version}", } # python development packages depends on the correct python package: $package_suffix = $operatingsystem ? { /(?i)centos|fedora|redhat/ => 'devel', default => 'dev', } package { "${python}-${package_suffix}": ensure => $ensure, } }