mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-29 06:58:55 +00:00
[PR #11658/25a4f568 backport][stable-12] puppet: deprecate param timeout (#11665)
puppet: deprecate param timeout (#11658)
* puppet: deprecate param timeout
* add changelog frag
* Update changelogs/fragments/11658-puppet-timeout-deprecation.yml
---------
(cherry picked from commit 25a4f568f9)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
4dfe6816a8
commit
555d7b9038
4 changed files with 47 additions and 6 deletions
|
|
@ -198,6 +198,33 @@ test_cases:
|
|||
rc: 0
|
||||
out: ''
|
||||
err: ''
|
||||
- id: puppet_agent_timeout_empty
|
||||
input:
|
||||
timeout: ""
|
||||
output:
|
||||
changed: false
|
||||
mocks:
|
||||
run_command:
|
||||
- command: [/testbin/puppet, config, print, agent_disabled_lockfile]
|
||||
environ: *env-def
|
||||
rc: 0
|
||||
out: blah, anything
|
||||
err: ''
|
||||
- command:
|
||||
- /testbin/puppet
|
||||
- agent
|
||||
- --onetime
|
||||
- --no-daemonize
|
||||
- --no-usecacheonfailure
|
||||
- --no-splay
|
||||
- --detailed-exitcodes
|
||||
- --verbose
|
||||
- --color
|
||||
- '0'
|
||||
environ: *env-def
|
||||
rc: 0
|
||||
out: ''
|
||||
err: ''
|
||||
- id: puppet_agent_waitforlock
|
||||
input:
|
||||
waitforlock: 30
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue