Skip to content

Commit c1debc3

Browse files
author
Travis Fields
committed
(docs) Fix desc call inside the newparam blocks
- desc blocks were being called outside the newparam block and need to move inside
1 parent 318a74b commit c1debc3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/puppet/type/sqlserver_tsql.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ def self.checks
1616
@checks.keys
1717
end
1818

19-
desc 'command to run against an instance with the authenticated credentials used in sqlserver::config'
2019
newparam(:command, :parent => Puppet::Property::SqlserverTsql) do
20+
desc 'command to run against an instance with the authenticated credentials used in sqlserver::config'
2121

2222
end
2323

24-
desc 'requires the usage of sqlserver::config with the user and password'
2524
newparam(:instance) do
25+
desc 'requires the usage of sqlserver::config with the user and password'
2626
munge do |value|
2727
value.upcase
2828
end
@@ -36,8 +36,8 @@ def self.checks
3636
end
3737
end
3838

39-
desc 'SQL Query to run and only run if exits with non-zero'
4039
newcheck(:onlyif, :parent => Puppet::Property::SqlserverTsql) do
40+
desc 'SQL Query to run and only run if exits with non-zero'
4141
#Runs in the event that our TSQL exits with anything other than 0
4242
def check(value)
4343
output = provider.run(value)

0 commit comments

Comments
 (0)