Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jordiprats committed Jul 14, 2016
1 parent 744dacc commit 5a16ee0
Showing 1 changed file with 4 additions and 44 deletions.
48 changes: 4 additions & 44 deletions manifests/init.pp
Original file line number Diff line number Diff line change
@@ -1,47 +1,9 @@
# == Class: virid
#
# Full description of class virid here.
#
# === Parameters
#
# Document parameters here.
#
# [*sample_parameter*]
# Explanation of what this parameter affects and what it defaults to.
# e.g. "Specify one or more upstream ntp servers as an array."
#
# === Variables
#
# Here you should define a list of variables that this module would require.
#
# [*sample_variable*]
# Explanation of how this variable affects the funtion of this class and if
# it has a default. e.g. "The parameter enc_ntp_servers must be set by the
# External Node Classifier as a comma separated list of hostnames." (Note,
# global variables should be avoided in favor of class parameters as
# of Puppet 2.6.)
#
# === Examples
#
# class { 'virid':
# servers => [ 'pool.ntp.org', 'ntp.local.company.com' ],
# }
#
# === Authors
#
# Author Name <author@domain.com>
#
# === Copyright
#
# Copyright 2015 Your name here, unless otherwise noted.
#
class virid (
$disable=true,
){
class virid (
$disable = true,
) {

$packages=[ 'python-viri', 'viri', 'viri-release' ]


if($disable)
{
service { 'virid':
Expand All @@ -50,14 +12,12 @@
}

package{ $packages:
ensure => 'purged',
ensure => 'purged',
require => Service['virid'],
}
}
else
{
fail("are you fucking sure?!?!?!?!?!")
}


}

0 comments on commit 5a16ee0

Please sign in to comment.