File tree Expand file tree Collapse file tree 4 files changed +4
-45
lines changed Expand file tree Collapse file tree 4 files changed +4
-45
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 66# @param file_ensure
77# Ensure the connection validation script is present
88# @param validcon_script_path
9- # Optional. Absolute path for the postgresql connection validation script.
9+ # Deprecated: absolute path for the postgresql connection validation script that is now ensured absent .
1010# @param package_name
1111# Sets the name of the PostgreSQL client package.
1212# @param package_ensure
2626 }
2727
2828 file { $validcon_script_path:
29- ensure => $file_ensure ,
30- content => file (' postgresql/validate_postgresql_connection.sh' ),
31- owner => 0,
32- group => 0,
33- mode => ' 0755' ,
29+ ensure => absent ,
3430 }
3531}
Original file line number Diff line number Diff line change 2323# @param service_status Overrides the default status check command for your PostgreSQL service.
2424# @param default_database Specifies the name of the default database to connect with.
2525#
26- # @param validcon_script_path Scipt path for the connection validation check.
26+ # @param validcon_script_path Deprecated parameter for the scipt path for the connection validation check. This file will be ensured absent
2727#
2828# @param initdb_path Path to the initdb command.
2929# @param psql_path Sets the path to the psql command.
Original file line number Diff line number Diff line change 2222 end
2323
2424 it 'has specified validate connexion' do
25- expect ( subject ) . to contain_file ( '/opt/bin/my-validate-con.sh' ) . with ( ensure : 'file' ,
26- owner : 0 ,
27- group : 0 ,
28- mode : '0755' )
25+ expect ( subject ) . to contain_file ( '/opt/bin/my-validate-con.sh' ) . with ( ensure : 'absent' )
2926 end
3027 end
3128
You can’t perform that action at this time.
0 commit comments