Skip to content

Commit 37a957c

Browse files
committed
puppetlabs/stdlib: Require 9.x
1 parent 8212c56 commit 37a957c

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

manifests/backup/pg_dump.pp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@
6868
) {
6969
# Install required packages
7070
if $package_name {
71-
ensure_packages($package_name)
71+
stdlib::ensure_packages($package_name)
7272
}
7373
if $install_cron {
7474
if $facts['os']['family'] == 'RedHat' {
75-
ensure_packages('cronie')
75+
stdlib::ensure_packages('cronie')
7676
} elsif $facts['os']['family'] != 'FreeBSD' {
77-
ensure_packages('cron')
77+
stdlib::ensure_packages('cron')
7878
}
7979
}
8080

manifests/server/extension.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
default => $package_ensure,
135135
}
136136

137-
ensure_packages($package_name, {
137+
stdlib::ensure_packages($package_name, {
138138
ensure => $_package_ensure,
139139
tag => 'puppetlabs-postgresql',
140140
})

manifests/server/instance/config.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
}
187187
}
188188

189-
ensure_packages([$package_name])
189+
stdlib::ensure_packages([$package_name])
190190

191191
$exec_command = ['/usr/sbin/semanage', 'port', '-a', '-t', 'postgresql_port_t', '-p', 'tcp', $port]
192192
$exec_unless = "/usr/sbin/semanage port -l | grep -qw ${port}"

manifests/server/instance/passwd.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
# psql will default to connecting as $user if you don't specify name
3232
$_datbase_user_same = $database == $user
3333
$_dboption = $_datbase_user_same ? {
34-
false => " --dbname ${shell_escape($database)}",
34+
false => " --dbname ${stdlib::shell_escape($database)}",
3535
default => ''
3636
}
3737

@@ -41,7 +41,7 @@
4141
# without specifying a password ('ident' or 'trust' security). This is
4242
# the default for pg_hba.conf.
4343
$escaped = postgresql::postgresql_escape($real_postgres_password)
44-
$exec_command = "${shell_escape($psql_path)}${_dboption} -c \"ALTER ROLE \\\"${shell_escape($user)}\\\" PASSWORD \${NEWPASSWD_ESCAPED}\"" # lint:ignore:140chars
44+
$exec_command = "${stdlib::shell_escape($psql_path)}${_dboption} -c \"ALTER ROLE \\\"${stdlib::shell_escape($user)}\\\" PASSWORD \${NEWPASSWD_ESCAPED}\"" # lint:ignore:140chars
4545
exec { 'set_postgres_postgrespw':
4646
# This command works w/no password because we run it as postgres system
4747
# user

metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"dependencies": [
1111
{
1212
"name": "puppetlabs/stdlib",
13-
"version_requirement": ">= 5.2.0 < 10.0.0"
13+
"version_requirement": ">= 9.0.0 < 10.0.0"
1414
},
1515
{
1616
"name": "puppetlabs/apt",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy