Skip to content
Snippets Groups Projects
postgres.pp 289 B
Newer Older
  • Learn to ignore specific revisions
  • Nils Olof Paulsson's avatar
    Nils Olof Paulsson committed
    # comment 
    class egg::postgres () {
    
      package { ['postgresql', 'postgresql-contrib']:
    
    Nils Olof Paulsson's avatar
    Nils Olof Paulsson committed
        ensure => 'installed',
      }
    
      class { 'postgresql::server': }
    
    
    Nils Olof Paulsson's avatar
    Nils Olof Paulsson committed
      postgresql::server::db { 'nta-digital_nodejs':
    
    Nils Olof Paulsson's avatar
    Nils Olof Paulsson committed
        user     => 'nilpa76',
    
    Nils Olof Paulsson's avatar
    Nils Olof Paulsson committed
        encoding => 'UTF8',
        locale   => 'en_US.UTF-8',
    
    Nils Olof Paulsson's avatar
    Nils Olof Paulsson committed
      }
    
    Nils Olof Paulsson's avatar
    Nils Olof Paulsson committed
    }