demo of base

This commit is contained in:
chris lawrence 2020-05-22 10:54:55 +01:00
parent 2d6f08fcce
commit c91f1ed301
6 changed files with 509 additions and 2 deletions

View File

@ -0,0 +1,391 @@
GEM
remote: https://rubygems.org/
specs:
CFPropertyList (2.3.6)
activesupport (5.2.3)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
ansi (1.5.0)
ast (2.4.0)
aws-eventstream (1.0.3)
aws-partitions (1.232.0)
aws-sdk-core (3.72.1)
aws-eventstream (~> 1.0, >= 1.0.2)
aws-partitions (~> 1, >= 1.228.0)
aws-sigv4 (~> 1.1)
jmespath (~> 1.0)
aws-sdk-ec2 (1.114.0)
aws-sdk-core (~> 3, >= 3.71.0)
aws-sigv4 (~> 1.1)
aws-sigv4 (1.1.0)
aws-eventstream (~> 1.0, >= 1.0.2)
bindata (2.4.4)
bolt (1.35.0)
CFPropertyList (~> 2.2)
addressable (~> 2.5)
aws-sdk-ec2 (~> 1)
concurrent-ruby (~> 1.0)
hiera-eyaml (~> 3)
logging (~> 2.2)
minitar (~> 0.6)
net-scp (~> 1.2)
net-ssh (>= 4.0)
orchestrator_client (~> 0.4)
puppet (>= 6.4.0, < 7)
puppet-resource_api (>= 1.8.1)
r10k (~> 3.1)
ruby_smb (~> 1.0)
terminal-table (~> 1.8)
winrm (~> 2.0)
winrm-fs (~> 1.3)
builder (3.2.3)
childprocess (0.7.1)
ffi (~> 1.0, >= 1.0.11)
codecov (0.1.16)
json
simplecov
url
coderay (1.1.2)
colored (1.2)
concurrent-ruby (1.1.5)
connection_pool (2.2.2)
cri (2.15.6)
deep_merge (1.2.1)
dependency_checker (0.2.0)
parallel
puppet_forge (~> 2.2)
rake (~> 12.3)
semantic_puppet (~> 1.0)
diff-lcs (1.3)
docile (1.3.2)
docker-api (1.34.2)
excon (>= 0.47.0)
multi_json
domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0)
equatable (0.6.1)
erubis (2.7.0)
excon (0.68.0)
facter (2.5.6)
facterdb (0.8.2)
facter
jgrep
faraday (0.13.1)
multipart-post (>= 1.2, < 3)
faraday_middleware (0.12.2)
faraday (>= 0.7.4, < 1.0)
fast_gettext (1.1.2)
ffi (1.9.25)
gettext (3.2.9)
locale (>= 2.0.5)
text (>= 1.3.0)
gettext-setup (0.31)
fast_gettext (~> 1.1.0)
gettext (>= 3.0.2)
locale
gssapi (1.3.0)
ffi (>= 1.0.1)
gyoku (1.3.1)
builder (>= 2.1.2)
hiera (3.6.0)
hiera-eyaml (3.0.0)
highline (~> 1.6.19)
optimist
highline (1.6.21)
hirb (0.7.3)
hitimes (1.3.0)
hocon (1.3.0)
http-accept (1.7.0)
http-cookie (1.0.3)
domain_name (~> 0.5)
httpclient (2.8.3)
i18n (1.7.0)
concurrent-ruby (~> 1.0)
jgrep (1.5.1)
jmespath (1.4.0)
json (2.1.0)
json-schema (2.8.0)
addressable (>= 2.4)
json_pure (2.1.0)
little-plugger (1.1.4)
locale (2.1.2)
log4r (1.1.10)
logging (2.2.2)
little-plugger (~> 1.1)
multi_json (~> 1.10)
metaclass (0.0.4)
metadata-json-lint (2.2.0)
json-schema (~> 2.8)
spdx-licenses (~> 1.0)
method_source (0.8.2)
mime-types (3.3)
mime-types-data (~> 3.2015)
mime-types-data (3.2019.1009)
minitar (0.9)
minitest (5.13.0)
mocha (1.1.0)
metaclass (~> 0.0.1)
multi_json (1.14.1)
multipart-post (2.1.1)
necromancer (0.5.0)
net-http-persistent (3.1.0)
connection_pool (~> 2.2)
net-scp (1.2.1)
net-ssh (>= 2.6.5)
net-ssh (5.2.0)
net-telnet (0.1.1)
netrc (0.11.0)
nori (2.6.0)
optimist (3.0.0)
orchestrator_client (0.4.3)
faraday
net-http-persistent
parallel (1.19.1)
parallel_tests (2.14.2)
parallel
parser (2.5.1.2)
ast (~> 2.4.0)
pastel (0.7.3)
equatable (~> 0.6)
tty-color (~> 0.5)
pathspec (0.2.1)
pdk (1.14.1)
bundler (>= 1.15.0, < 3.0.0)
childprocess (~> 0.7.1)
concurrent-ruby (~> 1.1.5)
cri (~> 2.10)
deep_merge (~> 1.1)
diff-lcs (= 1.3)
facter (~> 2.5.1)
ffi (~> 1.9.0)
gettext-setup (~> 0.24)
hitimes (= 1.3.0)
httpclient (~> 2.8.3)
json-schema (= 2.8.0)
json_pure (~> 2.1.0)
minitar (~> 0.6)
pathspec (~> 0.2.1)
tty-prompt (~> 0.13)
tty-spinner (~> 0.5)
tty-which (~> 0.3)
powerpack (0.1.2)
pry (0.10.4)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
public_suffix (4.0.1)
puppet (6.11.1)
concurrent-ruby (~> 1.0)
deep_merge (~> 1.0)
facter (> 2.0.1, < 4)
fast_gettext (~> 1.1)
hiera (>= 3.2.1, < 4)
httpclient (~> 2.8)
locale (~> 2.1)
multi_json (~> 1.10)
puppet-resource_api (~> 1.5)
semantic_puppet (~> 1.0)
puppet-blacksmith (5.0.0)
rest-client (~> 2.0)
puppet-lint (2.4.2)
puppet-module-posix-default-r2.5 (0.4.2)
puppet-module-posix-dev-r2.5 (0.4.2)
activesupport (>= 5.0.0, < 6.0.0)
codecov (~> 0.1.10)
dependency_checker (~> 0.2)
facterdb (~> 0.8.1)
gettext-setup (~> 0.26)
metadata-json-lint (>= 2.0.2, < 3.0.0)
mocha (>= 1.0.0, < 1.2.0)
parallel_tests (>= 2.14.1, < 2.14.3)
parser (~> 2.5.1.2)
pry (~> 0.10.4)
puppet-blacksmith (>= 3.4.0)
puppet-lint (>= 2.3.0, < 3.0.0)
puppet-resource_api (~> 1.6)
puppet-strings (~> 2.0)
puppet-syntax (>= 2.4.1, < 3.0.0)
puppet_litmus (>= 0.4.0, < 1.0.0)
puppet_pot_generator (~> 1.0)
puppetlabs_spec_helper (>= 2.9.0, < 3.0.0)
rainbow (~> 2.0)
rspec-puppet (>= 2.3.2, < 3.0.0)
rspec-puppet-facts (~> 1.9.5)
rspec_junit_formatter (~> 0.2)
rubocop (~> 0.49.0)
rubocop-i18n (~> 1.2.0)
rubocop-rspec (~> 1.16.0)
serverspec (~> 2.41)
simplecov (>= 0.14.1, < 1.0.0)
simplecov-console (~> 0.4.2)
specinfra (= 2.77.1)
puppet-resource_api (1.8.7)
hocon (>= 1.0)
puppet-strings (2.3.1)
rgen
yard (~> 0.9.5)
puppet-syntax (2.6.0)
rake
puppet_forge (2.3.0)
faraday (>= 0.9.0, < 0.14.0)
faraday_middleware (>= 0.9.0, < 0.13.0)
gettext-setup (~> 0.11)
minitar
semantic_puppet (~> 1.0)
puppet_litmus (0.12.0)
bolt (>= 1.13.1, < 2.0.0)
docker-api (>= 1.34, < 2.0.0)
pdk (>= 1.10.0, < 2.0.0)
tty-spinner (>= 0.5.0, < 1.0.0)
puppet_pot_generator (1.0.1)
puppet
puppetlabs_spec_helper (2.14.1)
mocha (~> 1.0)
pathspec (~> 0.2.1)
puppet-lint (~> 2.0)
puppet-syntax (~> 2.0)
rspec-puppet (~> 2.0)
r10k (3.3.3)
colored (= 1.2)
cri (= 2.15.6)
gettext-setup (~> 0.24)
log4r (= 1.1.10)
multi_json (~> 1.10)
puppet_forge (~> 2.3.0)
rainbow (2.2.2)
rake
rake (12.3.3)
rest-client (2.1.0)
http-accept (>= 1.7.0, < 2.0)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 4.0)
netrc (~> 0.8)
rgen (0.8.2)
rspec (3.9.0)
rspec-core (~> 3.9.0)
rspec-expectations (~> 3.9.0)
rspec-mocks (~> 3.9.0)
rspec-core (3.9.0)
rspec-support (~> 3.9.0)
rspec-expectations (3.9.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.9.0)
rspec-its (1.3.0)
rspec-core (>= 3.0.0)
rspec-expectations (>= 3.0.0)
rspec-mocks (3.9.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.9.0)
rspec-puppet (2.7.8)
rspec
rspec-puppet-facts (1.9.6)
facter
facterdb (>= 0.5.0)
json
puppet
rspec-support (3.9.0)
rspec_junit_formatter (0.4.1)
rspec-core (>= 2, < 4, != 2.12.0)
rubocop (0.49.1)
parallel (~> 1.10)
parser (>= 2.3.3.1, < 3.0)
powerpack (~> 0.1)
rainbow (>= 1.99.1, < 3.0)
ruby-progressbar (~> 1.7)
unicode-display_width (~> 1.0, >= 1.0.1)
rubocop-i18n (1.2.0)
rubocop (~> 0.49.0)
rubocop-rspec (1.16.0)
rubocop (>= 0.49.0)
ruby-progressbar (1.10.1)
ruby_smb (1.1.0)
bindata
rubyntlm
windows_error
rubyntlm (0.6.2)
rubyzip (1.3.0)
semantic_puppet (1.0.2)
serverspec (2.41.5)
multi_json
rspec (~> 3.0)
rspec-its
specinfra (~> 2.72)
sfl (2.3)
simplecov (0.17.1)
docile (~> 1.1)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-console (0.4.2)
ansi
hirb
simplecov
simplecov-html (0.10.2)
slop (3.6.0)
spdx-licenses (1.2.0)
specinfra (2.77.1)
net-scp
net-ssh (>= 2.7)
net-telnet (= 0.1.1)
sfl
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
text (1.3.1)
thread_safe (0.3.6)
tty-color (0.5.0)
tty-cursor (0.7.0)
tty-prompt (0.19.0)
necromancer (~> 0.5.0)
pastel (~> 0.7.0)
tty-reader (~> 0.6.0)
tty-reader (0.6.0)
tty-cursor (~> 0.7)
tty-screen (~> 0.7)
wisper (~> 2.0.0)
tty-screen (0.7.0)
tty-spinner (0.9.1)
tty-cursor (~> 0.7)
tty-which (0.4.1)
tzinfo (1.2.5)
thread_safe (~> 0.1)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.6)
unicode-display_width (1.6.0)
url (0.3.2)
windows_error (0.1.2)
winrm (2.3.2)
builder (>= 2.1.2)
erubis (~> 2.7)
gssapi (~> 1.2)
gyoku (~> 1.0)
httpclient (~> 2.2, >= 2.2.0.2)
logging (>= 1.6.1, < 3.0)
nori (~> 2.0)
rubyntlm (~> 0.6.0, >= 0.6.1)
winrm-fs (1.3.2)
erubis (~> 2.7)
logging (>= 1.6.1, < 3.0)
rubyzip (~> 1.1)
winrm (~> 2.0)
wisper (2.0.1)
yard (0.9.20)
PLATFORMS
ruby
DEPENDENCIES
fast_gettext
json (= 2.1.0)
puppet (= 6.11.1)
puppet-module-posix-default-r2.5 (~> 0.3)
puppet-module-posix-dev-r2.5 (~> 0.3)
puppet-module-win-default-r2.5 (~> 0.3)
puppet-module-win-dev-r2.5 (~> 0.3)
rb-readline (= 0.5.5)
BUNDLED WITH
1.17.3

View File

@ -0,0 +1,29 @@
#!/usr/bin/env ruby
# frozen_string_literal: true
#
# This file was generated by Bundler.
#
# The application 'metadata-json-lint' is installed as part of a gem, and
# this file is here to facilitate running it.
#
require "pathname"
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)
bundle_binstub = File.expand_path("../bundle", __FILE__)
if File.file?(bundle_binstub)
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
load(bundle_binstub)
else
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
end
end
require "rubygems"
require "bundler/setup"
load Gem.bin_path("metadata-json-lint", "metadata-json-lint")

View File

@ -0,0 +1,29 @@
#!/usr/bin/env ruby
# frozen_string_literal: true
#
# This file was generated by Bundler.
#
# The application 'puppet' is installed as part of a gem, and
# this file is here to facilitate running it.
#
require "pathname"
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)
bundle_binstub = File.expand_path("../bundle", __FILE__)
if File.file?(bundle_binstub)
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
load(bundle_binstub)
else
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
end
end
require "rubygems"
require "bundler/setup"
load Gem.bin_path("puppet", "puppet")

View File

@ -0,0 +1,29 @@
#!/usr/bin/env ruby
# frozen_string_literal: true
#
# This file was generated by Bundler.
#
# The application 'puppet-lint' is installed as part of a gem, and
# this file is here to facilitate running it.
#
require "pathname"
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)
bundle_binstub = File.expand_path("../bundle", __FILE__)
if File.file?(bundle_binstub)
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
load(bundle_binstub)
else
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
end
end
require "rubygems"
require "bundler/setup"
load Gem.bin_path("puppet-lint", "puppet-lint")

View File

@ -0,0 +1,29 @@
#!/usr/bin/env ruby
# frozen_string_literal: true
#
# This file was generated by Bundler.
#
# The application 'rubocop' is installed as part of a gem, and
# this file is here to facilitate running it.
#
require "pathname"
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)
bundle_binstub = File.expand_path("../bundle", __FILE__)
if File.file?(bundle_binstub)
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
load(bundle_binstub)
else
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
end
end
require "rubygems"
require "bundler/setup"
load Gem.bin_path("rubocop", "rubocop")

View File

@ -1,11 +1,11 @@
class profile::base (
Boolean $firewall = false,
Boolean $time = false,
Boolean $time = true,
Boolean $repos = false,
Boolean $resolv = false,
Boolean $ssh = false,
Boolean $selinux = false,
Boolean $motd = false,
Boolean $motd = true,
) {
if $motd {
class { '::motd': }