From 1b90b499acb0200745795ba42ccf997ef1ee25cb Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Tue, 20 Oct 2015 12:52:28 +0300 Subject: lint fixes for transifex --- modules/transifex/manifests/init.pp | 6 +++--- modules/transifex/templates/40-apps.conf | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'modules') diff --git a/modules/transifex/manifests/init.pp b/modules/transifex/manifests/init.pp index e4500b9f..51c57ca1 100644 --- a/modules/transifex/manifests/init.pp +++ b/modules/transifex/manifests/init.pp @@ -6,7 +6,7 @@ class transifex { $pgsql_password = extlookup('transifex_pgsql','x') $ldap_password = extlookup('transifex_ldap','x') - $templates_dir = "/var/lib/transifex/templates" + $templates_dir = '/var/lib/transifex/templates' postgresql::remote_db_and_user { 'transifex': description => 'Transifex database', @@ -16,12 +16,12 @@ class transifex { define config() { $filename = $name - file { "/etc/transifex/$filename": + file { "/etc/transifex/${filename}": group => 'apache', mode => '0640', require => Package['transifex'], notify => Service['apache'], - content => template("transifex/$filename"), + content => template("transifex/${filename}"), } } diff --git a/modules/transifex/templates/40-apps.conf b/modules/transifex/templates/40-apps.conf index fe1d0492..dd92fb1c 100644 --- a/modules/transifex/templates/40-apps.conf +++ b/modules/transifex/templates/40-apps.conf @@ -56,4 +56,3 @@ AJAX_LOOKUP_CHANNELS = { 'projects' : ('projects.lookups', 'ProjectsLookup'), 'resources' : ('resources.lookups', 'ResourcesLookup'), } - -- cgit v1.2.1