/[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 1758 by misc, Fri Jun 17 10:59:44 2011 UTC revision 1759 by misc, Fri Jun 17 11:05:25 2011 UTC
# Line 103  class postgresql { Line 103  class postgresql {
103          }          }
104          # fetch the exported ressources that should have been exported          # fetch the exported ressources that should have been exported
105          # once the db was created, and trigger a notify to the object passwed as callback_notify          # once the db was created, and trigger a notify to the object passwed as callback_notify
106          Postgresql::Database_callback <<| name == $name |>>          Postgresql::Database_callback <<| tag == $name |>>
107      }      }
108    
109      define remote_database($description = "",      define remote_database($description = "",
# Line 121  class postgresql { Line 121  class postgresql {
121              require => Postgresql::User[$user]              require => Postgresql::User[$user]
122          }          }
123    
124          Postgresql::Database_callback <<| name == $name |>>          Postgresql::Database_callback <<| tag == $name |>>
125      }      }
126    
127      define remote_user($password,      define remote_user($password,
# Line 170  class postgresql { Line 170  class postgresql {
170          # this is fetched by the manifest asking the database creation, once the db have been created          # this is fetched by the manifest asking the database creation, once the db have been created
171          # FIXME proper ordering ?          # FIXME proper ordering ?
172          @@postgresql::database_callback { $name:          @@postgresql::database_callback { $name:
173                tag => $name,
174              callback_notify => $callback_notify,              callback_notify => $callback_notify,
175          }          }
176      }      }

Legend:
Removed from v.1758  
changed lines
  Added in v.1759

  ViewVC Help
Powered by ViewVC 1.1.28