/[adm]/puppet/modules/postgresql/manifests/init.pp
ViewVC logotype

Diff of /puppet/modules/postgresql/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1354 by misc, Tue Mar 22 17:27:09 2011 UTC revision 1355 by misc, Tue Mar 22 17:27:10 2011 UTC
# Line 90  class postgresql { Line 90  class postgresql {
90      }      }
91    
92    
93        define remote_db_and_user($description = "",
94                                  $tag = "default",
95                                  $password ) {
96    
97            remote_database { $name:
98                              description => $description,
99                              user => $name,
100                              tag => $tag,
101            }
102    
103            remote_user { $name:
104                          password => $password
105            }
106        }
107    
108      define remote_database($description = "",      define remote_database($description = "",
109                             $user = "postgresql",                             $user = "postgresql",
110                             $tag = "default")                             $tag = "default")

Legend:
Removed from v.1354  
changed lines
  Added in v.1355

  ViewVC Help
Powered by ViewVC 1.1.30