Merge pull request #68 from puppetlabs/release
(MODULES-8420) Merge back 0.5.0
(MODULES-8456) Update pdk config for testing module tasks
Ensure pdk config preserves necessary information for testing module tasks with bolt.
Merge pull request #70 from puppetlabs/pdk_sync
(MODULES-8456) Update pdk config for testing module tasks
Merge pull request #69 from puppetlabs/pdksync_pdksync_heads/master-0…
…-g6814a87 pdksync - pdksync_heads/master-0-g3978a9c
(MODULES-8456) Do not use custom rake task for test invocation
This commit changes the rake task acceptance test invocation from `task_acceptance` to the "default" `beaker` to avoid having "special cases" in CI.
Merge pull request #71 from donoghuc/MODULES-8456
(MODULES-8456) Do not use custom rake task for test invocation
Merge pull request #75 from puppetlabs/pdksync_pdksync_1.9.0-0-g7281db5
pdksync - pdksync_1.9.0-0-g7281db5
Merge pull request #73 from david22swan/consolidate
(FM-7720/FM-7722/FM-7723) Consolidate Windows Metadata
Merge pull request #77 from puppetlabs/revert-73-consolidate
Revert "(FM-7720/FM-7722/FM-7723) Consolidate Windows Metadata"
(MODULES-3958) enable rspec-mock and code coverage
Merge pull request #79 from tphoney/MODULES-3958
(MODULES-3958) enable rspec-mock and code coverage
Merge pull request #80 from eimlav/modules-8717
(MODULES-8717) Fix dependency issue with BoltSpec
Merge pull request #82 from puppetlabs/pdksync_modules-8728
pdksync - Remove .project from .gitignore
(BOLT-1103) Rewrite and fix status output
Return information from the service command itself, i.e. systemctl, service, or initctl. Also provide the error message as part of the json object. Directly check the return code of commands instead of storing $? in a variable when we can. Use mktmp and exec to manage stderr.
(BOLT-1103) Update bash task implementation metadata
This commit adds the restart option to the list of acceptable values for action.
(maint) Update rspec to use include pattern
Previously when verifying hash results with the `eq` matcher the output would be difficult to debug. This commit refactors the matchers to use `include` which allows the contents of the has to be verified in the debug message for a failed test.
(BOLT-1103) Unify bash task implementation output
This commit updates the output values for the bash implementation of the task to match those of the ruby/puppet implementation.
(BOLT-1103) Unify powershell implementation output
Previously the powershell implementation did not have the same output as the bash or ruby/puppet implementation. This commit also adds test for windows specific target OS that use powershell implementation.
(BOLT-1103) Standardize error reporting
Update the bash and powershell error output to have same keys as ruby/puppet implementation.
(BOLT-1103) Use -inputObject parameter for service manipulation
When invoking the `{start,stop,restart}-service` functions on a `ServiceController` object in powershell <= 2.0 the `-inputObject` parameter is required. This commit avoids errors when older powershell versions are uses while maintaining compatability with newer versions.(FM-7798) Adopt task_run pattern for testing module
Update to generic task_run function for testing the task implementations to support transitioning to Litmus for testing.
(BOLT-1103) Validate action parameter for bash/powershell
The enable and disable actions are not allowed in bash/powershell because the behavior with different init systems is too complicated/unreliable. In the case where the `service::linux` or `service::windows` task is invoked directly the metadata validation will handle this, however if the task is invoked with just `service` and the `puppet-agent` feature is not set on the target and the `shell` or `powershell` feature is then those actions will not be forbidden by metatdata. This commit implements verification that only the available actions are allowed.
Merge pull request #85 from conormurraypuppet/add-discovery-extension…
…-metadata (SEN-796) Add discovery extension metadata
Merge pull request #86 from conormurraypuppet/SEN-796-move-extension-…
…metadata (SEN-796) Move extension metadata
(BOLT-1206) Refactor acceptance tests to use BoltSpec update
This refactor leverages new functionality in BoltSpec::Run whereby the run_* functions will set config and inventory based on bolt_config or bolt_inventory being defined in scope. This allows us to use the run_task function efficiently and cleanly without having to define a task_run helper.
Merge pull request #83 from donoghuc/BOLT-1103
(BOLT-1103) Unify output of task implementations
(MODULES-8887) - 0.6.0 Release Prep
Merge pull request #87 from david22swan/ReleasePrep
(MODULES-8887) - v0.6.0 Release Prep