From a8244bd3ee9cc464802d7e6eea7153bf045f3de6 Mon Sep 17 00:00:00 2001 From: Jordi Prats Date: Tue, 19 Jan 2016 15:43:10 +0100 Subject: [PATCH 1/3] actualitzat gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 405908d..dae55d8 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ controller-v4.0.6.1.sh .vagrant junit log +spec/fixtures/ From 744dacc68e369b5f2d86341dde9fe0f9442ecedb Mon Sep 17 00:00:00 2001 From: Jordi Prats Date: Mon, 22 Feb 2016 10:10:41 +0100 Subject: [PATCH 2/3] afegit gemfile lock al gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index dae55d8..1ff109f 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ controller-v4.0.6.1.sh junit log spec/fixtures/ +Gemfile.lock From 5a16ee009e3c963a6cb0125312c8a0c62f715ac2 Mon Sep 17 00:00:00 2001 From: Jordi Prats Date: Thu, 14 Jul 2016 11:37:06 +0200 Subject: [PATCH 3/3] lint --- manifests/init.pp | 48 ++++------------------------------------------- 1 file changed, 4 insertions(+), 44 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 33ce5b1..7c797a7 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -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 -# -# === 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': @@ -50,7 +12,7 @@ } package{ $packages: - ensure => 'purged', + ensure => 'purged', require => Service['virid'], } } @@ -58,6 +20,4 @@ { fail("are you fucking sure?!?!?!?!?!") } - - }