akumria / puppet-postgresql

Manage and install Postgresql databases and users
37 stars 20 forks source link

postgresql using puppet #23

Open rohitbharti275 opened 7 years ago

rohitbharti275 commented 7 years ago

Hi,

I have cloned this into my /etc/puppet/modules/puppet-postgresql and i have changed to postgresql and my site.pp is under /etc/puppet/manifests/site.pp it has

node default { class {'postgresql': version => '9.1', } } I am getting the follwoing error when i run puppet agent -t from my puppet agent postgreerror

Request you to look into this as i am trying hard to determine what causing this error because when i tried it in redhat it said unsupported platform and now i am trying it in ubuntu

akumria commented 7 years ago

The complaint is because apt is unable to find the package requested (see the lines prefixed with 'E:', which are the output from 'apt').

This is likely because postgres 9.1 has been removed from the repository you are trying to use. Check what version of Ubuntu you have and which version of Postgresql is installed with it.

You may need to specify a newer version.