File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 68
68
) {
69
69
# Install required packages
70
70
if $package_name {
71
- ensure_packages($package_name )
71
+ stdlib:: ensure_packages($package_name )
72
72
}
73
73
if $install_cron {
74
74
if $facts [' os' ][' family' ] == ' RedHat' {
75
- ensure_packages(' cronie' )
75
+ stdlib:: ensure_packages(' cronie' )
76
76
} elsif $facts [' os' ][' family' ] != ' FreeBSD' {
77
- ensure_packages(' cron' )
77
+ stdlib:: ensure_packages(' cron' )
78
78
}
79
79
}
80
80
Original file line number Diff line number Diff line change 129
129
default => $package_ensure ,
130
130
}
131
131
132
- ensure_packages($package_name , {
132
+ stdlib:: ensure_packages($package_name , {
133
133
ensure => $_package_ensure,
134
134
tag => ' puppetlabs-postgresql' ,
135
135
})
Original file line number Diff line number Diff line change 27
27
# psql will default to connecting as $user if you don't specify name
28
28
$_datbase_user_same = $database == $user
29
29
$_dboption = $_datbase_user_same ? {
30
- false => " --dbname ${shell_escape($database )}" ,
30
+ false => " --dbname ${stdlib:: shell_escape($database )}" ,
31
31
default => ' '
32
32
}
33
33
37
37
# without specifying a password ('ident' or 'trust' security). This is
38
38
# the default for pg_hba.conf.
39
39
$escaped = postgresql::postgresql_escape($real_postgres_password )
40
- $exec_command = " ${shell_escape($psql_path )}${_dboption} -c \" ALTER ROLE \\\" ${shell_escape($user )}\\\" PASSWORD \$ {NEWPASSWD_ESCAPED}\" " # lint:ignore:140chars
40
+ $exec_command = " ${stdlib:: shell_escape($psql_path )}${_dboption} -c \" ALTER ROLE \\\" ${stdlib:: shell_escape($user )}\\\" PASSWORD \$ {NEWPASSWD_ESCAPED}\" " # lint:ignore:140chars
41
41
exec { 'set_postgres_postgrespw' :
42
42
# This command works w/no password because we run it as postgres system
43
43
# user
Original file line number Diff line number Diff line change 10
10
"dependencies" : [
11
11
{
12
12
"name" : " puppetlabs/stdlib" ,
13
- "version_requirement" : " >= 5.2 .0 < 10.0.0"
13
+ "version_requirement" : " >= 9.0 .0 < 10.0.0"
14
14
},
15
15
{
16
16
"name" : " puppetlabs/apt" ,
You can’t perform that action at this time.
0 commit comments