Skip to content

Commit

Permalink
Merge pull request #290 from puppetlabs/cat-1869-add_dsc_timeout_param
Browse files Browse the repository at this point in the history
(CAT-1869) - Add dsc_timeout param to all dsc resources
  • Loading branch information
david22swan authored Jun 26, 2024
2 parents 057dfee + e37068d commit 2700045
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Puppet.Dsc/internal/functions/Get-TypeContent.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ Puppet::ResourceApi.register_type(
behaviour: :parameter,
default: 'property',
},
dsc_timeout: {
type: 'Optional[Integer]',
desc: 'The maximum time in seconds to wait for the DSC resource to complete.',
behaviour: :parameter,
},
$((Get-TypeParameterContent -ParameterInfo $Resource.ParameterInfo) -join "`n")
},
)
Expand Down

0 comments on commit 2700045

Please sign in to comment.