This repository has been archived by the owner on Apr 15, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ca2e482
commit c97ef07
Showing
23 changed files
with
111 additions
and
72 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,60 +1,37 @@ | ||
#This file is generated by ModuleSync, do not edit. | ||
source 'https://rubygems.org' | ||
|
||
source ENV['GEM_SOURCE'] || "https://rubygems.org" | ||
gem 'puppet', ENV.key?('PUPPET_VERSION') ? "~> #{ENV['PUPPET_VERSION']}" : '>= 2.7' | ||
|
||
def location_for(place, version = nil) | ||
if place =~ /^(git[:@][^#]*)#(.*)/ | ||
[version, { :git => $1, :branch => $2, :require => false}].compact | ||
elsif place =~ /^file:\/\/(.*)/ | ||
['>= 0', { :path => File.expand_path($1), :require => false}] | ||
else | ||
[place, version, { :require => false}].compact | ||
end | ||
end | ||
|
||
group :unit_tests do | ||
gem 'rake', :require => false | ||
gem 'metadata-json-lint', :require => false | ||
gem 'rspec-puppet-facts', :require => false | ||
gem 'puppetlabs_spec_helper', :require => false | ||
gem 'rspec-puppet', '>= 2.3.2', :require => false | ||
gem 'parallel_tests', :require => false | ||
gem 'simplecov', :require => false | ||
gem 'puppet-lint-unquoted_string-check', :require => false | ||
gem 'puppet-lint-leading_zero-check', :require => false | ||
gem 'puppet-lint-variable_contains_upcase', :require => false | ||
gem 'puppet-lint-absolute_classname-check', :require => false | ||
gem 'puppet-lint-trailing_comma-check', :require => false | ||
gem 'puppet-lint-file_ensure-check', :require => false | ||
gem 'puppet-lint-empty_string-check', :require => false | ||
gem 'puppet-lint-undef_in_function-check', :require => false | ||
gem 'puppet-lint-version_comparison-check', :require => false | ||
gem 'puppet-lint-appends-check', :require => false | ||
gem 'puppet-lint-spaceship_operator_without_tag-check', :require => false | ||
gem 'puppet-lint-classes_and_types_beginning_with_digits-check', :require => false | ||
gem 'puppet-lint-param-docs', :require => false | ||
gem 'puppet-lint-absolute_template_path', :require => false | ||
gem 'puppet-lint-numericvariable', :require => false | ||
gem 'puppet-lint-strict_indent-check', :require => false | ||
gem 'puppet-lint-resource_reference_syntax', :require => false | ||
gem 'puppet-lint-usascii_format-check', :require => false | ||
gem 'puppet-lint-duplicate_class_parameters-check', :require => false | ||
end | ||
group :development do | ||
gem 'puppet-blacksmith', :require => false | ||
gem 'travis', :require => false | ||
gem 'travis-lint', :require => false | ||
gem 'guard-rake', :require => false | ||
end | ||
group :system_tests do | ||
gem 'beaker-rspec', *location_for(ENV['BEAKER_RSPEC_VERSION'] || '>= 3.4') | ||
gem 'beaker', *location_for(ENV['BEAKER_VERSION']) | ||
gem 'beaker-puppet_install_helper', :require => false | ||
end | ||
|
||
gem 'facter', *location_for(ENV['FACTER_GEM_VERSION']) | ||
gem 'puppet', *location_for(ENV['PUPPET_GEM_VERSION']) | ||
|
||
if File.exists? "#{__FILE__}.local" | ||
eval(File.read("#{__FILE__}.local"), binding) | ||
end | ||
gem 'rake' | ||
gem 'rspec', '~> 3.0' | ||
gem 'rspec-puppet', '~> 2.3' | ||
gem 'rspec-puppet-facts', '>= 1.7' | ||
gem 'puppetlabs_spec_helper', '>= 0.8.0' | ||
gem 'puppet-lint' | ||
gem 'puppet-lint-absolute_classname-check' | ||
gem 'puppet-lint-absolute_template_path' | ||
gem 'puppet-lint-appends-check' | ||
gem 'puppet-lint-classes_and_types_beginning_with_digits-check' | ||
gem 'puppet-lint-empty_string-check' | ||
gem 'puppet-lint-file_ensure-check' | ||
gem 'puppet-lint-leading_zero-check' | ||
gem 'puppet-lint-numericvariable' | ||
gem 'puppet-lint-param-docs', '>= 1.3.0' | ||
gem 'puppet-lint-resource_reference_syntax' | ||
gem 'puppet-lint-spaceship_operator_without_tag-check' | ||
gem 'puppet-lint-strict_indent-check' | ||
gem 'puppet-lint-trailing_comma-check' | ||
gem 'puppet-lint-undef_in_function-check' | ||
gem 'puppet-lint-unquoted_string-check' | ||
gem 'puppet-lint-usascii_format-check' | ||
gem 'puppet-lint-variable_contains_upcase' | ||
gem 'puppet-lint-version_comparison-check' | ||
gem 'simplecov' | ||
gem 'puppet-blacksmith', '>= 3.1.0', {"groups"=>["development"]} | ||
gem 'json', '~> 1.0', {"platforms"=>["ruby_19"], "groups"=>["test"]} | ||
gem 'json_pure', '~> 1.0', {"platforms"=>["ruby_19"], "groups"=>["test"]} | ||
gem 'metadata-json-lint' | ||
gem 'webmock', '< 2.0' | ||
gem 'addressable', '< 2.4', {"platforms"=>["ruby_18"]} | ||
gem 'oauth' | ||
gem 'parallel_tests' |
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
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
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
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 |
---|---|---|
|
@@ -4,7 +4,9 @@ | |
# | ||
# Parameters: | ||
# | ||
# $report_uploader_cmd:: command to be used to upload reports | ||
# $package_ensure:: Set to "installed", "latest" or any other allowed method for package type | ||
# | ||
# $report_uploadercmd:: Command to be used to upload reports | ||
# example: 'scp://user:[email protected]/var/spool/abrt-upload || :' | ||
# | ||
class abrt::libreport::uploader ( | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,11 @@ | ||
require 'rubygems' | ||
|
||
require 'puppetlabs_spec_helper/module_spec_helper' | ||
require 'rspec-puppet-facts' | ||
include RspecPuppetFacts | ||
|
||
RSpec.configure do |config| | ||
config.mock_with :rspec do |c| | ||
c.syntax = :expect | ||
end | ||
end |