Puppet Class: python::fabric
- Defined in:
- manifests/fabric.pp
Overview
Class: python::fabric
Installs Fabric, the Python command-line tool for SSH interaction.
Parameters
- package
-
The package name to install, defaults to ‘Fabric’.
- version
-
The package version to install (via package ensure parameter). Defaults to ‘installed’.
- provider
-
Package provider to use. Defaults to ‘pip’.
17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'manifests/fabric.pp', line 17
class python::fabric(
$package = 'Fabric',
$version = 'installed',
$provider = 'pip',
) {
package { $package:
ensure => $version,
alias => 'fabric',
provider => $provider,
require => Class['python'],
}
}
|