X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=3rdparty%2Fmodules%2Fpostgresql%2Fmanifests%2Fpython.pp;fp=3rdparty%2Fmodules%2Fpostgresql%2Fmanifests%2Fpython.pp;h=16fc638a2013782aaec5fd715301d7b29a2dbde1;hb=a29c0d1b4d2420aeb3ef6acf66feb00709dd2652;hp=0000000000000000000000000000000000000000;hpb=d98d8ae49a60547132c555f3669f3b9ae6a666bd;p=mirror%2Fdsa-puppet.git diff --git a/3rdparty/modules/postgresql/manifests/python.pp b/3rdparty/modules/postgresql/manifests/python.pp new file mode 100644 index 000000000..16fc638a2 --- /dev/null +++ b/3rdparty/modules/postgresql/manifests/python.pp @@ -0,0 +1,18 @@ +# Class: postgresql::python +# This class installs the python libs for postgresql. +# +# Parameters: +# [*ensure*] - ensure state for package. +# can be specified as version. +# [*package_name*] - name of package +class postgresql::python( + $package_name = $postgresql::params::python_package_name, + $package_ensure = 'present' +) inherits postgresql::params { + + package { 'python-psycopg2': + ensure => $package_ensure, + name => $package_name, + } + +}