/[adm]/puppet/modules/youri-check/manifests/init.pp
ViewVC logotype

Diff of /puppet/modules/youri-check/manifests/init.pp

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

revision 1510 by pterjan, Sun Apr 10 23:33:00 2011 UTC revision 1767 by misc, Sat Jun 18 00:28:02 2011 UTC
# Line 17  class youri-check { Line 17  class youri-check {
17          $pgsql_db = 'youri_check'          $pgsql_db = 'youri_check'
18          $pgsql_user = 'youri'          $pgsql_user = 'youri'
19          $pgsql_password = extlookup('youri_pgsql','x')          $pgsql_password = extlookup('youri_pgsql','x')
20          postgresql::remote_user { $pgsql_user:          
             password => $pgsql_password,  
         }  
         postgresql::remote_database { $pgsql_db:  
             description => "Youri Check results",  
             user => $pgsql_user,  
         }  
   
21          file { "$config":          file { "$config":
22              ensure => present,              ensure => present,
23              owner => $user,              owner => $user,
# Line 54  class youri-check { Line 47  class youri-check {
47              mode => 755              mode => 755
48          }          }
49    
50            postgresql::remote_user { $pgsql_user:
51                password => $pgsql_password,
52            }
53    
54            postgresql::remote_database { $pgsql_db:
55                description => "Youri Check results",
56                user => $pgsql_user,
57            }
58    
59          package { ['youri-check', 'perl-DBD-Pg'] :          package { ['youri-check', 'perl-DBD-Pg'] :
60              ensure => installed              ensure => installed
61          }          }

Legend:
Removed from v.1510  
changed lines
  Added in v.1767

  ViewVC Help
Powered by ViewVC 1.1.30