Skip to content

(MODULES-2403) Improve error handling for sqlserver_tsql #131

New issue

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

Merged
merged 1 commit into from
Aug 14, 2015
Merged

(MODULES-2403) Improve error handling for sqlserver_tsql #131

merged 1 commit into from
Aug 14, 2015

Conversation

cyberious
Copy link
Contributor

  • Ensure we are capturing and throwing errors when we are unable to find dependencies

- Ensure we are capturing and throwing errors when we are unable to find dependencies
@@ -19,7 +19,7 @@ def get_config
resc.original_parameters[:instance_name] =~ /#{instance}/i
}
if config_resc.nil?
fail("Sqlserver_tsql #{resource[:title]} was unable to retrieve the config for the instance #{resource[:instance]}")
fail("Sqlserver_tsql[#{resource.title}] was unable to retrieve the config, please ensure the catalog contains sqlserver::config{'#{resource[:instance]}':}")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

catalog versus manifest? I typically prefer the word manifest, but I can see why catalog. Could be in another manifest.

ferventcoder added a commit that referenced this pull request Aug 14, 2015
(MODULES-2403) Improve error handling for sqlserver_tsql
@ferventcoder ferventcoder merged commit ba434a3 into puppetlabs:master Aug 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants