You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe that I may have identified a potential issue. I was installing PostGIS within a CentOS 6.4 environment (using the VirtualBox image at the URL http://developer.nrel.gov/downloads/vagrant-boxes/CentOS-6.4-x86_64-v20131103.box), and I found that there appeared to be a conflict involving this Module and puppet-postgresql:
class { 'postgresql::globals':
manage_package_repo => true,
}
[...]
include ::postgis
This fails with the error that $libdir cannot be resolved from within the appropriate SQL file for PostGIS (in this case, /usr/pgsql-8.4/share/contrib/postgis-1.5/postgis.sql). From what I could best determine, this can be traced to an error which arises when the postgresql-server package is installed using the yum.
I've attempted to resolve this by setting manage_package_repo to false, only to find a plethora of issues plaguing the installation process arising from deprecated releases of the GDAL releases (when attempting to install PostGIS from another third-party yum repository).
I've handled this locally by simply invoking sed to replace $libdir within the needed SQL files during the creation of PostGIS databases. I certainly understand if this is far too low a priority an issue to address (CentOS 6.4 and PostGIS 1.5 are quite old).
Please note that, should this more properly be resolved by the maintainers of puppetlabs/puppetlabs-postgresql, I've created the JIRA issue MODULES-1635.
Thank you greatly for your time and contributions.
The text was updated successfully, but these errors were encountered:
Hello Everyone,
I believe that I may have identified a potential issue. I was installing PostGIS within a CentOS 6.4 environment (using the VirtualBox image at the URL http://developer.nrel.gov/downloads/vagrant-boxes/CentOS-6.4-x86_64-v20131103.box), and I found that there appeared to be a conflict involving this Module and puppet-postgresql:
This fails with the error that $libdir cannot be resolved from within the appropriate SQL file for PostGIS (in this case, /usr/pgsql-8.4/share/contrib/postgis-1.5/postgis.sql). From what I could best determine, this can be traced to an error which arises when the postgresql-server package is installed using the yum.
I've attempted to resolve this by setting manage_package_repo to false, only to find a plethora of issues plaguing the installation process arising from deprecated releases of the GDAL releases (when attempting to install PostGIS from another third-party yum repository).
I've handled this locally by simply invoking sed to replace $libdir within the needed SQL files during the creation of PostGIS databases. I certainly understand if this is far too low a priority an issue to address (CentOS 6.4 and PostGIS 1.5 are quite old).
Please note that, should this more properly be resolved by the maintainers of puppetlabs/puppetlabs-postgresql, I've created the JIRA issue MODULES-1635.
Thank you greatly for your time and contributions.
The text was updated successfully, but these errors were encountered: