Skip to content

Commit

Permalink
(PDK-468) Add parameters field to task metadata.
Browse files Browse the repository at this point in the history
  • Loading branch information
bmjen committed Oct 4, 2017
1 parent 086e627 commit d324544
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/pdk/generators/task.rb
Expand Up @@ -16,6 +16,7 @@ def template_data
puppet_task_version: 1,
supports_noop: true,
description: options.fetch(:description, 'A short description of this task'),
parameters: {},
}
end

Expand Down
2 changes: 2 additions & 0 deletions spec/unit/pdk/generate/task_spec.rb
Expand Up @@ -99,6 +99,7 @@
'puppet_task_version' => 1,
'supports_noop' => true,
'description' => 'A short description of this task',
'parameters' => {},
)
end
end
Expand All @@ -111,6 +112,7 @@
'puppet_task_version' => 1,
'supports_noop' => true,
'description' => 'This is a test task',
'parameters' => {},
)
end
end
Expand Down

0 comments on commit d324544

Please sign in to comment.