[Mageia-sysadm] [190] - my trick about using $name do not work as expected

root at mageia.org root at mageia.org
Sun Nov 7 14:07:01 CET 2010


Revision: 190
Author:   misc
Date:     2010-11-07 14:07:01 +0100 (Sun, 07 Nov 2010)
Log Message:
-----------
- my trick about using $name do not work as expected

Modified Paths:
--------------
    puppet/modules/postgresql/manifests/init.pp

Modified: puppet/modules/postgresql/manifests/init.pp
===================================================================
--- puppet/modules/postgresql/manifests/init.pp	2010-11-07 13:04:26 UTC (rev 189)
+++ puppet/modules/postgresql/manifests/init.pp	2010-11-07 13:07:01 UTC (rev 190)
@@ -29,7 +29,7 @@
     }
 
     file { "postgresql.conf":
-        path => "$pgsql_data/$name",
+        path => "$pgsql_data/postgresql.conf",
         ensure => present,
         owner => postgres,
         group => postgres,
@@ -39,7 +39,7 @@
     }
     
     file { 'pg_hba.conf':
-        path => "$pgsql_data/$name",
+        path => "$pgsql_data/pg_hba.conf",
         ensure => present,
         owner => postgres,
         group => postgres,
@@ -49,7 +49,7 @@
     }
 
     file { 'pg_ident.conf':
-        path => "$pgsql_data/$name",
+        path => "$pgsql_data/pg_ident.conf",
         ensure => present,
         owner => postgres,
         group => postgres,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101107/8e79ab87/attachment.html>


More information about the Mageia-sysadm mailing list