We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add resource_source JSON extension resource_format: 'resourcejson'
diff --git a/modules/rundeck/manifests/config/resource_source.pp b/modules/rundeck/manifests/config/resource_source.pp --- a/modules/rundeck/manifests/config/resource_source.pp +++ b/modules/rundeck/manifests/config/resource_source.pp @@ -81,7 +81,7 @@ define rundeck::config::resource_source( String $mapping_params = '', Integer $number = 1, Optional[String] $project_name = undef, - Enum['resourcexml', 'resourceyaml'] $resource_format = $rundeck::params::resource_format, + Enum['resourcexml', 'resourceyaml', 'resourcejson'] $resource_format = $rundeck::params::resource_format, Boolean $running_only = true, String $script_args = '', Boolean $script_args_quoted = $rundeck::params::script_args_quoted, @@ -154,6 +154,9 @@ define rundeck::config::resource_source( 'resourceyaml': { $file_extension = 'yaml' } + 'resourcejson': { + $file_extension = 'json' + } default: { err("The rundeck resource model resource_format ${resource_format} is not supported") }
The text was updated successfully, but these errors were encountered:
Hi @felipegules , thanks for creating this issue. Can you create a PR with this code?
Sorry, something went wrong.
Obsoleted by #520.
No branches or pull requests
How to reproduce (e.g Puppet code you use)
Add resource_source JSON extension
resource_format: 'resourcejson'
Any additional information you'd like to impart
The text was updated successfully, but these errors were encountered: