a0abd257af
This change implements the necessary bits and pieces for testing the Puppet modules. Right now, it only run lint and syntax checker on the modules. The change also fixes a couple of issues with the existing code that have been highlighted by the tests. Change-Id: I4fd30baa23c474d75937b4f050b35c914efc4829
25 lines
827 B
Ruby
25 lines
827 B
Ruby
# Copyright 2015 Mirantis, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
source 'https://rubygems.org'
|
|
|
|
group :development, :test do
|
|
gem 'rake'
|
|
gem "puppet", ENV['PUPPET_VERSION'] || '~> 3.4.0'
|
|
gem 'rspec'
|
|
gem 'rspec-puppet'
|
|
gem 'rspec-puppet-facts'
|
|
gem 'puppetlabs_spec_helper'
|
|
gem 'metadata-json-lint'
|
|
end
|