Puppet Class: powerline
- Defined in:
- manifests/init.pp
Overview
Class: powerline
This is the powerline module for installing Powerline.
Powerline is a statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome and Qtile.
Parameters
None.
Variables
None.
Examples
class { ‘powerline’: }
Authors
Leon Brocard <acme@astray.com>
Copyright
Copyright 2013 Leon Brocard.
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'manifests/init.pp', line 29
class powerline {
if(!defined(Package['python'])) {
package { 'python':
ensure => present,
}
}
if(!defined(Package['python-pip'])) {
package { 'python-pip':
ensure => present,
require => Package['python']
}
}
package { 'Powerline':
provider => 'pip',
source => 'git+git://github.com/Lokaltog/powerline',
require => Package['python-pip']
}
}
|