From 6cb34834072419713bd486892af689b4a9e941d0 Mon Sep 17 00:00:00 2001 From: Steffen Zieger Date: Thu, 13 Mar 2014 14:40:17 +0100 Subject: [PATCH] fix lint errors --- manifests/client/config.pp | 2 +- manifests/server/host_key.pp | 4 ++-- tests/init.pp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/manifests/client/config.pp b/manifests/client/config.pp index 608fd8cbd..2658ac02c 100644 --- a/manifests/client/config.pp +++ b/manifests/client/config.pp @@ -1,4 +1,4 @@ -class ssh::client::config { +class ssh::client::config { file { $ssh::params::ssh_config: ensure => present, owner => 0, diff --git a/manifests/server/host_key.pp b/manifests/server/host_key.pp index b8e22151f..a89606842 100644 --- a/manifests/server/host_key.pp +++ b/manifests/server/host_key.pp @@ -36,10 +36,10 @@ $private_key_content = '', ) { if $public_key_source == '' and $public_key_content == '' { - fail("You must provide either public_key_source or public_key_content parameter") + fail('You must provide either public_key_source or public_key_content parameter') } if $private_key_source == '' and $private_key_content == '' { - fail("You must provide either private_key_source or private_key_content parameter") + fail('You must provide either private_key_source or private_key_content parameter') } $manage_pub_key_content = $public_key_source ? { diff --git a/tests/init.pp b/tests/init.pp index 1c7d29f18..6687c2c70 100644 --- a/tests/init.pp +++ b/tests/init.pp @@ -1 +1 @@ -class {"::ssh::server": } +class { '::ssh::server': }