forked from soylent/konstantin-fluentd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There are three issues for puppet 6 tests. The first is that the tdagent provider definition is incorrect. We don't need to wrap the definition in a parser function as it should just be loaded. The second is that we need to include the fluentd when testing the plugin resource so that the relationship matcher works correctly. The third is that yumrepo has been moved to it's own module and must be defined as a dependency. There is also an issue with the acceptance test because we don't have the required dependencies to build the test plugin. Fixes: soylent#39
- Loading branch information
Showing
7 changed files
with
17 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# This file must be compatible with Ruby 1.8.7 in order to work on EL6. | ||
module Puppet::Parser::Functions | ||
Puppet::Type.type(:package).provide :tdagent, :parent => :gem, :source => :gem do | ||
has_feature :install_options, :versionable | ||
commands :gemcmd => '/opt/td-agent/usr/sbin/td-agent-gem' | ||
end | ||
require 'puppet' | ||
require 'puppet/provider/package' | ||
|
||
Puppet::Type.type(:package).provide :tdagent, :parent => :gem, :source => :gem do | ||
has_feature :install_options, :versionable | ||
commands :gemcmd => '/opt/td-agent/usr/sbin/td-agent-gem' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters