From e29e0c0d58c75d4911243de8121e35c89f6f5f11 Mon Sep 17 00:00:00 2001 From: fhrbek Date: Thu, 7 Feb 2013 10:51:33 +0100 Subject: [PATCH] Reverted some of the coding style fixes. Strings containing single quotes may be easier to read if enclosed in double quotes although it generated puppet lint warning. --- manifests/config/beforeservice.pp | 2 +- manifests/init.pp | 1 - manifests/params.pp | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/manifests/config/beforeservice.pp b/manifests/config/beforeservice.pp index 2545848..eda08ee 100644 --- a/manifests/config/beforeservice.pp +++ b/manifests/config/beforeservice.pp @@ -73,7 +73,7 @@ class postgresql::config::beforeservice( # managing their own settings in a second conf file. file_line { 'postgresql.conf#include': path => $postgresql_conf_path, - line => 'include \'postgresql_puppet_extras.conf\'', + line => "include 'postgresql_puppet_extras.conf'", notify => Service['postgresqld'], } diff --git a/manifests/init.pp b/manifests/init.pp index 4f9fe07..6cf3f0e 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -50,7 +50,6 @@ class postgresql ( $charset = 'UTF8' ) { class { 'postgresql::params': - version => $version, manage_package_repo => $manage_package_repo, package_source => $package_source, diff --git a/manifests/params.pp b/manifests/params.pp index 2d65577..06ad377 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -81,7 +81,7 @@ class postgresql::params( # that pluginsync might not be enabled. Ideally this would be handled directly # in puppet. if ($::postgres_default_version == undef) { - fail 'No value for postgres_default_version facter fact; it\'s possible that you don\'t have pluginsync enabled.' + fail "No value for postgres_default_version facter fact; it's possible that you don't have pluginsync enabled." } case $::operatingsystem {