aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2015-10-20 12:52:28 +0300
committerThomas Backlund <tmb@mageia.org>2015-10-20 12:52:28 +0300
commit1b90b499acb0200745795ba42ccf997ef1ee25cb (patch)
treea6b6595be0e98a8a4b6ceaf1426419688bf47f9f
parent8087ac4ad9b6c363d55b65c6bb1c801d5d274c84 (diff)
downloadpuppet-1b90b499acb0200745795ba42ccf997ef1ee25cb.tar
puppet-1b90b499acb0200745795ba42ccf997ef1ee25cb.tar.gz
puppet-1b90b499acb0200745795ba42ccf997ef1ee25cb.tar.bz2
puppet-1b90b499acb0200745795ba42ccf997ef1ee25cb.tar.xz
puppet-1b90b499acb0200745795ba42ccf997ef1ee25cb.zip
lint fixes for transifex
-rw-r--r--modules/transifex/manifests/init.pp6
-rw-r--r--modules/transifex/templates/40-apps.conf1
2 files changed, 3 insertions, 4 deletions
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'),
}
-