Skip to content

Commit 002cd69

Browse files
author
Travis Fields
committed
(fix) pluginsync'd sqlserver_tsql prop load fails
Based on how the sqlserver_tsql property is currently required, it will load properly for a `puppet apply`. However, when the module is pluginsync'd and run through a call to `puppet agent`, the load path is no longer correct and will fail.
1 parent c5fceca commit 002cd69

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/puppet/type/sqlserver_tsql.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
require 'puppet'
2-
require 'puppet/property/sqlserver_tsql'
2+
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'property/sqlserver_tsql'))
3+
34

45
Puppet::Type::newtype(:sqlserver_tsql) do
56
newparam :name, :namevar => true

0 commit comments

Comments
 (0)