summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Gemfile3
-rw-r--r--lib/facter/galera_bootstrapped.rb19
2 files changed, 2 insertions, 20 deletions
diff --git a/Gemfile b/Gemfile
index bdf11ff..ba98cca 100644
--- a/Gemfile
+++ b/Gemfile
@@ -5,7 +5,6 @@ group :development, :test do
gem 'rspec-puppet', '~> 2.2.0', :require => 'false'
gem 'metadata-json-lint', :require => 'false'
gem 'puppet-lint-param-docs', :require => 'false'
- gem 'puppet-lint-absolute_classname-check', :require => 'false'
gem 'puppet-lint-absolute_template_path', :require => 'false'
gem 'puppet-lint-trailing_newline-check', :require => 'false'
gem 'puppet-lint-unquoted_string-check', :require => 'false'
@@ -17,6 +16,8 @@ group :development, :test do
# https://github.com/bundler/bundler/issues/2068
# TODO: drop it in a future release of 'bundle'.
gem 'psych', :require => 'false'
+ # https://github.com/voxpupuli/puppet-lint-absolute_classname-check/issues/6
+ gem 'puppet-lint-absolute_classname-check', '0.1.3', :require => 'false'
end
group :system_tests do
diff --git a/lib/facter/galera_bootstrapped.rb b/lib/facter/galera_bootstrapped.rb
deleted file mode 100644
index ea9fe8c..0000000
--- a/lib/facter/galera_bootstrapped.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright 2015 Red Hat, Inc.
-# All Rights Reserved.
-#
-# 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.
-Facter.add('galera_bootstrapped') do
- setcode do
- FileTest.exists?('/var/lib/mysql/grastate.dat')
- end
-end