adding in base time
This commit is contained in:
parent
2f20a9ca13
commit
6637bd9a56
6
.onceover/Rakefile
Normal file
6
.onceover/Rakefile
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
require 'puppetlabs_spec_helper/rake_tasks'
|
||||||
|
|
||||||
|
desc "Run acceptance tests"
|
||||||
|
RSpec::Core::RakeTask.new(:acceptance) do |t|
|
||||||
|
t.pattern = 'spec/acceptance'
|
||||||
|
end
|
2
.onceover/etc/puppetlabs/code/environments/production/.gitignore
vendored
Normal file
2
.onceover/etc/puppetlabs/code/environments/production/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
modules/
|
||||||
|
.onceover
|
@ -0,0 +1 @@
|
|||||||
|
[".git",".gitignore",".onceover","CODEOWNERS","Gemfile","LICENSE","Puppetfile","README.md","Rakefile","data","data/common.yaml","data/environments","data/environments/test.yaml","data/nodes","data/nodes/example-node.yaml","data/nodes/peadm-01.pe.yaml","data/nodes/puppet.home.yaml","data/nodes/puppet.plaform9.puppet.net","data/secrets","data/secrets/node","data/secrets/node/peadm-01.pe.eyaml","data/secrets/node/puppet.home.eyaml","environment.conf","hiera.yaml","manifests","manifests/site.pp","scripts","scripts/config_version-r10k.rb","scripts/config_version-rugged.rb","scripts/config_version.sh","site-modules","site-modules/custom_files","site-modules/custom_files/7z1900-x64.exe","site-modules/custom_files/master.zip","site-modules/profile","site-modules/profile/.fixtures.yml","site-modules/profile/.gitattributes","site-modules/profile/.gitignore","site-modules/profile/.gitlab-ci.yml","site-modules/profile/.pdkignore","site-modules/profile/.puppet-lint.rc","site-modules/profile/.rspec","site-modules/profile/.rubocop.yml","site-modules/profile/.travis.yml","site-modules/profile/.vscode","site-modules/profile/.vscode/extensions.json","site-modules/profile/.yardopts","site-modules/profile/CHANGELOG.md","site-modules/profile/Gemfile","site-modules/profile/Gemfile.lock","site-modules/profile/README.md","site-modules/profile/Rakefile","site-modules/profile/appveyor.yml","site-modules/profile/bin","site-modules/profile/bin/metadata-json-lint","site-modules/profile/bin/puppet","site-modules/profile/bin/puppet-lint","site-modules/profile/bin/rubocop","site-modules/profile/data","site-modules/profile/data/common.yaml","site-modules/profile/hiera.yaml","site-modules/profile/manifests","site-modules/profile/manifests/base","site-modules/profile/manifests/base/motd.pp","site-modules/profile/manifests/base/resolv.pp","site-modules/profile/manifests/base/selinux.pp","site-modules/profile/manifests/base/ssh.pp","site-modules/profile/manifests/base/time.pp","site-modules/profile/manifests/base.pp","site-modules/profile/manifests/custom_windows","site-modules/profile/manifests/custom_windows/config_server.pp","site-modules/profile/manifests/custom_windows/define_user.pp","site-modules/profile/manifests/custom_windows/deploy_iis.pp","site-modules/profile/manifests/custom_windows/install_package.pp","site-modules/profile/manifests/custom_windows.pp","site-modules/profile/manifests/monitor.pp","site-modules/profile/manifests/patching","site-modules/profile/manifests/patching/patch_unix.pp","site-modules/profile/manifests/puppetserver","site-modules/profile/manifests/puppetserver/authority.pp","site-modules/profile/manifests/puppetserver/bootstrap.pp","site-modules/profile/manifests/puppetserver/nfs_export.pp","site-modules/profile/manifests/puppetserver.pp","site-modules/profile/manifests/tools","site-modules/profile/manifests/tools/docker_install.pp","site-modules/profile/manifests/tools/metrics_dashboard.pp","site-modules/profile/manifests/tools/nfs_mount.pp","site-modules/profile/manifests/windows","site-modules/profile/manifests/windows/account.pp","site-modules/profile/manifests/windows/base.pp","site-modules/profile/manifests/windows/chocolatey.pp","site-modules/profile/manifests/windows.pp","site-modules/profile/metadata.json","site-modules/profile/spec","site-modules/profile/spec/default_facts.yml","site-modules/profile/spec/spec_helper.rb","site-modules/role","site-modules/role/manifests","site-modules/role/manifests/custom_winodws.pp","site-modules/role/manifests/monitoring.pp","site-modules/role/manifests/node.pp","site-modules/role/manifests/puppetserver.pp","site-modules/role/manifests/windows.pp","spec","spec/factsets","spec/factsets/README.md","spec/onceover.yaml","spec/pre_conditions","spec/pre_conditions/README.md"]
|
@ -0,0 +1 @@
|
|||||||
|
* @cs-arch
|
@ -0,0 +1,3 @@
|
|||||||
|
source 'https://rubygems.org'
|
||||||
|
|
||||||
|
gem 'onceover'
|
202
.onceover/etc/puppetlabs/code/environments/production/LICENSE
Normal file
202
.onceover/etc/puppetlabs/code/environments/production/LICENSE
Normal file
@ -0,0 +1,202 @@
|
|||||||
|
Apache License
|
||||||
|
Version 2.0, January 2004
|
||||||
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
|
|
||||||
|
1. Definitions.
|
||||||
|
|
||||||
|
"License" shall mean the terms and conditions for use, reproduction,
|
||||||
|
and distribution as defined by Sections 1 through 9 of this document.
|
||||||
|
|
||||||
|
"Licensor" shall mean the copyright owner or entity authorized by
|
||||||
|
the copyright owner that is granting the License.
|
||||||
|
|
||||||
|
"Legal Entity" shall mean the union of the acting entity and all
|
||||||
|
other entities that control, are controlled by, or are under common
|
||||||
|
control with that entity. For the purposes of this definition,
|
||||||
|
"control" means (i) the power, direct or indirect, to cause the
|
||||||
|
direction or management of such entity, whether by contract or
|
||||||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||||
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity
|
||||||
|
exercising permissions granted by this License.
|
||||||
|
|
||||||
|
"Source" form shall mean the preferred form for making modifications,
|
||||||
|
including but not limited to software source code, documentation
|
||||||
|
source, and configuration files.
|
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical
|
||||||
|
transformation or translation of a Source form, including but
|
||||||
|
not limited to compiled object code, generated documentation,
|
||||||
|
and conversions to other media types.
|
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or
|
||||||
|
Object form, made available under the License, as indicated by a
|
||||||
|
copyright notice that is included in or attached to the work
|
||||||
|
(an example is provided in the Appendix below).
|
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object
|
||||||
|
form, that is based on (or derived from) the Work and for which the
|
||||||
|
editorial revisions, annotations, elaborations, or other modifications
|
||||||
|
represent, as a whole, an original work of authorship. For the purposes
|
||||||
|
of this License, Derivative Works shall not include works that remain
|
||||||
|
separable from, or merely link (or bind by name) to the interfaces of,
|
||||||
|
the Work and Derivative Works thereof.
|
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including
|
||||||
|
the original version of the Work and any modifications or additions
|
||||||
|
to that Work or Derivative Works thereof, that is intentionally
|
||||||
|
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of
|
||||||
|
the copyright owner. For the purposes of this definition, "submitted"
|
||||||
|
means any form of electronic, verbal, or written communication sent
|
||||||
|
to the Licensor or its representatives, including but not limited to
|
||||||
|
communication on electronic mailing lists, source code control systems,
|
||||||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||||||
|
Licensor for the purpose of discussing and improving the Work, but
|
||||||
|
excluding communication that is conspicuously marked or otherwise
|
||||||
|
designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||||
|
on behalf of whom a Contribution has been received by Licensor and
|
||||||
|
subsequently incorporated within the Work.
|
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
copyright license to reproduce, prepare Derivative Works of,
|
||||||
|
publicly display, publicly perform, sublicense, and distribute the
|
||||||
|
Work and such Derivative Works in Source or Object form.
|
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
(except as stated in this section) patent license to make, have made,
|
||||||
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||||
|
where such license applies only to those patent claims licensable
|
||||||
|
by such Contributor that are necessarily infringed by their
|
||||||
|
Contribution(s) alone or by combination of their Contribution(s)
|
||||||
|
with the Work to which such Contribution(s) was submitted. If You
|
||||||
|
institute patent litigation against any entity (including a
|
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||||
|
or a Contribution incorporated within the Work constitutes direct
|
||||||
|
or contributory patent infringement, then any patent licenses
|
||||||
|
granted to You under this License for that Work shall terminate
|
||||||
|
as of the date such litigation is filed.
|
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the
|
||||||
|
Work or Derivative Works thereof in any medium, with or without
|
||||||
|
modifications, and in Source or Object form, provided that You
|
||||||
|
meet the following conditions:
|
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or
|
||||||
|
Derivative Works a copy of this License; and
|
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices
|
||||||
|
stating that You changed the files; and
|
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works
|
||||||
|
that You distribute, all copyright, patent, trademark, and
|
||||||
|
attribution notices from the Source form of the Work,
|
||||||
|
excluding those notices that do not pertain to any part of
|
||||||
|
the Derivative Works; and
|
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its
|
||||||
|
distribution, then any Derivative Works that You distribute must
|
||||||
|
include a readable copy of the attribution notices contained
|
||||||
|
within such NOTICE file, excluding those notices that do not
|
||||||
|
pertain to any part of the Derivative Works, in at least one
|
||||||
|
of the following places: within a NOTICE text file distributed
|
||||||
|
as part of the Derivative Works; within the Source form or
|
||||||
|
documentation, if provided along with the Derivative Works; or,
|
||||||
|
within a display generated by the Derivative Works, if and
|
||||||
|
wherever such third-party notices normally appear. The contents
|
||||||
|
of the NOTICE file are for informational purposes only and
|
||||||
|
do not modify the License. You may add Your own attribution
|
||||||
|
notices within Derivative Works that You distribute, alongside
|
||||||
|
or as an addendum to the NOTICE text from the Work, provided
|
||||||
|
that such additional attribution notices cannot be construed
|
||||||
|
as modifying the License.
|
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and
|
||||||
|
may provide additional or different license terms and conditions
|
||||||
|
for use, reproduction, or distribution of Your modifications, or
|
||||||
|
for any such Derivative Works as a whole, provided Your use,
|
||||||
|
reproduction, and distribution of the Work otherwise complies with
|
||||||
|
the conditions stated in this License.
|
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||||
|
any Contribution intentionally submitted for inclusion in the Work
|
||||||
|
by You to the Licensor shall be under the terms and conditions of
|
||||||
|
this License, without any additional terms or conditions.
|
||||||
|
Notwithstanding the above, nothing herein shall supersede or modify
|
||||||
|
the terms of any separate license agreement you may have executed
|
||||||
|
with Licensor regarding such Contributions.
|
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade
|
||||||
|
names, trademarks, service marks, or product names of the Licensor,
|
||||||
|
except as required for reasonable and customary use in describing the
|
||||||
|
origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||||
|
agreed to in writing, Licensor provides the Work (and each
|
||||||
|
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
implied, including, without limitation, any warranties or conditions
|
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||||
|
appropriateness of using or redistributing the Work and assume any
|
||||||
|
risks associated with Your exercise of permissions under this License.
|
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory,
|
||||||
|
whether in tort (including negligence), contract, or otherwise,
|
||||||
|
unless required by applicable law (such as deliberate and grossly
|
||||||
|
negligent acts) or agreed to in writing, shall any Contributor be
|
||||||
|
liable to You for damages, including any direct, indirect, special,
|
||||||
|
incidental, or consequential damages of any character arising as a
|
||||||
|
result of this License or out of the use or inability to use the
|
||||||
|
Work (including but not limited to damages for loss of goodwill,
|
||||||
|
work stoppage, computer failure or malfunction, or any and all
|
||||||
|
other commercial damages or losses), even if such Contributor
|
||||||
|
has been advised of the possibility of such damages.
|
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing
|
||||||
|
the Work or Derivative Works thereof, You may choose to offer,
|
||||||
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||||
|
or other liability obligations and/or rights consistent with this
|
||||||
|
License. However, in accepting such obligations, You may act only
|
||||||
|
on Your own behalf and on Your sole responsibility, not on behalf
|
||||||
|
of any other Contributor, and only if You agree to indemnify,
|
||||||
|
defend, and hold each Contributor harmless for any liability
|
||||||
|
incurred by, or claims asserted against, such Contributor by reason
|
||||||
|
of your accepting any such warranty or additional liability.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
APPENDIX: How to apply the Apache License to your work.
|
||||||
|
|
||||||
|
To apply the Apache License to your work, attach the following
|
||||||
|
boilerplate notice, with the fields enclosed by brackets "{}"
|
||||||
|
replaced with your own identifying information. (Don't include
|
||||||
|
the brackets!) The text should be enclosed in the appropriate
|
||||||
|
comment syntax for the file format. We also recommend that a
|
||||||
|
file or class name and description of purpose be included on the
|
||||||
|
same "printed page" as the copyright notice for easier
|
||||||
|
identification within third-party archives.
|
||||||
|
|
||||||
|
Copyright {yyyy} {name of copyright owner}
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
@ -0,0 +1,63 @@
|
|||||||
|
forge 'https://forge.puppet.com'
|
||||||
|
|
||||||
|
# Modules from the Puppet Forge
|
||||||
|
# Versions should be updated to be the latest at the time you start
|
||||||
|
mod 'puppetlabs/inifile', '4.0.0'
|
||||||
|
mod 'puppetlabs/stdlib', '6.2.0'
|
||||||
|
mod 'puppetlabs/concat', '6.1.0'
|
||||||
|
mod 'danieldreier-autosign', '0.2.0'
|
||||||
|
mod 'puppetlabs-package', '1.1.0'
|
||||||
|
mod 'puppetlabs-service', '1.2.0'
|
||||||
|
mod 'puppetlabs-ntp', '8.2.0'
|
||||||
|
mod 'puppetlabs-apache', '5.3.0'
|
||||||
|
mod 'ghoneycutt-ssh', '3.61.0'
|
||||||
|
mod 'puppet-selinux', '3.1.0'
|
||||||
|
mod 'puppetlabs-puppetserver_gem', '1.1.1'
|
||||||
|
mod 'puppetlabs-motd', '4.0.0'
|
||||||
|
mod 'puppetlabs-bootstrap', '2.0.0'
|
||||||
|
mod 'puppetlabs-windows', '6.1.0'
|
||||||
|
mod 'puppetlabs-registry', '3.1.0'
|
||||||
|
mod 'puppetlabs-powershell', '3.0.1'
|
||||||
|
mod 'puppet-windowsfeature', '3.2.2'
|
||||||
|
mod 'puppetlabs-chocolatey', '5.0.2'
|
||||||
|
mod 'puppetlabs-wsus_client', '3.1.0'
|
||||||
|
mod 'puppetlabs-accounts', '6.1.0'
|
||||||
|
mod 'puppetlabs-dism', '1.3.1'
|
||||||
|
mod 'puppetlabs-dsc', '1.9.4'
|
||||||
|
mod 'puppetlabs-dsc_lite', '3.0.1'
|
||||||
|
mod 'puppetlabs-acl', '3.1.0'
|
||||||
|
mod 'puppetlabs-iis', '7.0.0'
|
||||||
|
mod 'puppetlabs-pwshlib', '0.4.0'
|
||||||
|
mod 'puppet-archive', '4.4.0'
|
||||||
|
mod 'puppet-staging', '3.2.0'
|
||||||
|
mod 'puppetlabs-reboot', '2.4.0'
|
||||||
|
mod 'albatrossflavour-os_patching', '0.13.0'
|
||||||
|
mod 'fervid-secure_linux_cis', '2.1.10'
|
||||||
|
mod 'puppetlabs-puppet_metrics_collector', '5.3.0'
|
||||||
|
mod 'puppetlabs-puppet_metrics_dashboard', '2.0.1'
|
||||||
|
mod 'dylanratcliffe-facter_cache', '1.2.0'
|
||||||
|
mod 'puppetlabs-support_tasks', '1.1.1'
|
||||||
|
mod 'puppetlabs-puppet_agent', '3.0.2'
|
||||||
|
mod 'puppetlabs-apt', '7.4.1'
|
||||||
|
mod 'puppetlabs-translate', '2.2.0'
|
||||||
|
mod 'puppet-grafana', '6.1.0'
|
||||||
|
mod 'puppet-telegraf', '3.0.0'
|
||||||
|
mod 'derdanne-nfs', '2.1.2'
|
||||||
|
mod 'herculesteam-augeasproviders_core', '2.6.0'
|
||||||
|
mod 'herculesteam-augeasproviders_shellvar', '4.0.0'
|
||||||
|
mod 'puppetlabs-transition', '0.1.3'
|
||||||
|
mod 'puppetlabs-docker', '3.9.1'
|
||||||
|
|
||||||
|
# Modules from Git
|
||||||
|
# Examples: https://github.com/puppetlabs/r10k/blob/master/doc/puppetfile.mkd#examples
|
||||||
|
# mod 'apache',
|
||||||
|
# git: 'https://github.com/puppetlabs/puppetlabs-apache',
|
||||||
|
# commit: '1b6f89afdde0df7f9433a163d5c4b5328eac5779'
|
||||||
|
|
||||||
|
# mod 'apache',
|
||||||
|
# git: 'https://github.com/puppetlabs/puppetlabs-apache',
|
||||||
|
# branch: 'docs_experiment'
|
||||||
|
|
||||||
|
mod 'saz-resolv_conf',
|
||||||
|
:git => 'https://github.com/saz/puppet-resolv_conf.git',
|
||||||
|
:ref => 'v4.1.0'
|
119
.onceover/etc/puppetlabs/code/environments/production/README.md
Normal file
119
.onceover/etc/puppetlabs/code/environments/production/README.md
Normal file
@ -0,0 +1,119 @@
|
|||||||
|
# A Puppet Control Repository
|
||||||
|
|
||||||
|
* [What You Get From This control\-repo](#what-you-get-from-this-control-repo)
|
||||||
|
* [Copy This Repo Into Your Own Git Server](#copy-this-repo-into-your-own-git-server)
|
||||||
|
* [GitLab](#gitlab)
|
||||||
|
* [Bitbucket/Stash](#bitbucketstash)
|
||||||
|
* [Github](#github)
|
||||||
|
* [Code Manager Setup](#code-manager-setup)
|
||||||
|
|
||||||
|
|
||||||
|
## What You Get From This control-repo
|
||||||
|
|
||||||
|
This is a template [control repository](https://puppet.com/docs/pe/latest/code_management/control_repo.html) that has the minimum amount of scaffolding to make it easy to get started with [r10k](https://puppet.com/docs/pe/latest/code_management/r10k.html) or Puppet Enterprise's [Code Manager](https://puppet.com/docs/pe/latest/code_management/code_mgr.html).
|
||||||
|
|
||||||
|
The important files and items in this template are as follows:
|
||||||
|
|
||||||
|
* Basic example of roles and profiles.
|
||||||
|
* An example Puppetfile with various module references.
|
||||||
|
* An example Hiera configuration file and data directory with pre-created common.yaml and nodes directory.
|
||||||
|
* These match the default hierarchy that ships with PE.
|
||||||
|
* An [environment.conf](https://puppet.com/docs/puppet/5.3/config_file_environment.html) that correctly implements:
|
||||||
|
* A site-modules directory for roles, profiles, and any custom modules for your organization.
|
||||||
|
* A config\_version script.
|
||||||
|
* An example [config\_version](https://puppet.com/docs/puppet/5.3/config_file_environment.html#configversion) script that outputs the git commit ID of the code that was used during a Puppet run.
|
||||||
|
|
||||||
|
Here's a visual representation of the structure of this repository:
|
||||||
|
|
||||||
|
```
|
||||||
|
control-repo/
|
||||||
|
├── data/ # Hiera data directory.
|
||||||
|
│ ├── nodes/ # Node-specific data goes here.
|
||||||
|
│ └── common.yaml # Common data goes here.
|
||||||
|
├── manifests/
|
||||||
|
│ └── site.pp # The "main" manifest that contains a default node definition.
|
||||||
|
├── scripts/
|
||||||
|
│ ├── code_manager_config_version.rb # A config_version script for Code Manager.
|
||||||
|
│ ├── config_version.rb # A config_version script for r10k.
|
||||||
|
│ └── config_version.sh # A wrapper that chooses the appropriate config_version script.
|
||||||
|
├── site-modules/ # This directory contains site-specific modules and is added to $modulepath.
|
||||||
|
│ ├── profile/ # The profile module.
|
||||||
|
│ └── role/ # The role module.
|
||||||
|
├── LICENSE
|
||||||
|
├── Puppetfile # A list of external Puppet modules to deploy with an environment.
|
||||||
|
├── README.md
|
||||||
|
├── environment.conf # Environment-specific settings. Configures the modulepath and config_version.
|
||||||
|
└── hiera.yaml # Hiera's configuration file. The Hiera hierarchy is defined here.
|
||||||
|
```
|
||||||
|
|
||||||
|
## Copy This Repo Into Your Own Git Server
|
||||||
|
|
||||||
|
To get started with using the control-repo template in your own environment and git server, we've provided steps for the three most common servers we see: [GitLab](#gitlab), [BitBucket](#bitbucketstash), and [GitHub](#github).
|
||||||
|
|
||||||
|
### GitLab
|
||||||
|
|
||||||
|
1. Install GitLab.
|
||||||
|
* <https://about.gitlab.com/downloads/>
|
||||||
|
1. After GitLab is installed you may sign in with the `root` user and password `5iveL!fe`.
|
||||||
|
1. Make a user for yourself.
|
||||||
|
1. Make an SSH key to link with your user. You’ll want to do this on the machine you intend to edit code from (most likely not your Puppet master, but your local workstation or laptop).
|
||||||
|
* <http://doc.gitlab.com/ce/ssh/README.html>
|
||||||
|
* <https://help.github.com/articles/generating-ssh-keys/>
|
||||||
|
1. Create a group called `puppet` (this is case sensitive).
|
||||||
|
* <http://doc.gitlab.com/ce/workflow/groups.html>
|
||||||
|
1. Add your user to the `puppet` group as well.
|
||||||
|
1. Create a project called `control-repo`, and set the Namespace to be the `puppet` group.
|
||||||
|
1. Clone this control repository to your laptop/workstation:
|
||||||
|
* `git clone <repository url>`
|
||||||
|
* `cd control-repo`
|
||||||
|
1. Remove this repository as the origin remote:
|
||||||
|
* `git remote remove origin`
|
||||||
|
1. Add your internal repository as the origin remote:
|
||||||
|
* `git remote add origin <url of your gitlab repository>`
|
||||||
|
1. Push the production branch of the repository from your machine up to your git server
|
||||||
|
* `git push origin production`
|
||||||
|
|
||||||
|
### Bitbucket/Stash
|
||||||
|
|
||||||
|
1. Install Bitbucket
|
||||||
|
* <https://www.atlassian.com/software/bitbucket/download>
|
||||||
|
1. Make a `Project` called `puppet` (with a short name of `PUP`)
|
||||||
|
1. Create a repository called `control-repo`
|
||||||
|
1. Create a user called `r10k` with a password of `puppet`.
|
||||||
|
* Make the r10k user an admin of the `PUP` project.
|
||||||
|
1. Either use the admin user to test pushing code, or create a user for yourself and add your SSH key to that user.
|
||||||
|
* If making a user for yourself, give your user account read/write or admin privilege to the `PUP` project.
|
||||||
|
1. Clone this control repository to your laptop/workstation
|
||||||
|
* `git clone <repository url>`
|
||||||
|
* `cd control-repo`
|
||||||
|
1. Remove this repository as the origin remote
|
||||||
|
* `git remote remove origin`
|
||||||
|
1. Add your internal repository as the origin remote
|
||||||
|
* `git remote add origin <url of your bitbucket repository>`
|
||||||
|
1. Push the production branch of the repository from your machine up to your git server
|
||||||
|
* `git push origin production`
|
||||||
|
|
||||||
|
### GitHub
|
||||||
|
|
||||||
|
1. Prepare your local git client to authenticate with GitHub.com or a local GitHub Enterprise instance.
|
||||||
|
* <https://help.github.com/articles/generating-ssh-keys/>
|
||||||
|
* <https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/>
|
||||||
|
1. Create a repository called `control-repo` in your user account or organization. Ensure that "Initialize this repository with a README" is not selected.
|
||||||
|
* <https://help.github.com/articles/creating-a-new-repository/>
|
||||||
|
1. Make a note of your repository URL (HTTPS or SSH, depending on your security configuration).
|
||||||
|
1. Clone this control repository to your laptop/workstation:
|
||||||
|
* `git clone <repository url>`
|
||||||
|
* `cd control-repo`
|
||||||
|
1. Remove this repository as the origin remote:
|
||||||
|
* `git remote remove origin`
|
||||||
|
1. Add your internal repository as the origin remote:
|
||||||
|
* `git remote add origin <url of your github repository>`
|
||||||
|
1. Push the production branch of the repository from your machine up to your git server
|
||||||
|
* `git push origin production`
|
||||||
|
|
||||||
|
## Code Manager Setup
|
||||||
|
|
||||||
|
If you use Puppet Enterprise and have not yet enabled and configured Code Manager, in addition to reading the official [documentation](https://puppet.com/docs/pe/latest/code_management/code_mgr.html) for enabling it, you may want to look at the Ramp-Up Program's control repository instead of this one. It's similar to this repo except that it has batteries included, so to speak. There are pre-built profiles for configuring Code Manager, generating SSH keys, and setting up your Git server to work with Code Manager.
|
||||||
|
|
||||||
|
* <https://github.com/Puppet-RampUpProgram/control-repo>
|
||||||
|
|
@ -0,0 +1 @@
|
|||||||
|
require 'onceover/rake_tasks'
|
@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
message: "This node is using common data"
|
||||||
|
profile::base::resolv: true
|
||||||
|
profile::base::resolv::nameservers:
|
||||||
|
- '8.8.8.8'
|
||||||
|
- '127.0.0.1'
|
||||||
|
profile::base::resolv::domainname: home
|
||||||
|
profile::base::selinux::mode: true
|
||||||
|
profile::base::selinux::mode: permissive
|
||||||
|
profile::base::time: true
|
||||||
|
profile::base::time::ntp_servers:
|
||||||
|
- 0.uk.pool.ntp.org
|
||||||
|
- 1.uk.pool.ntp.org
|
||||||
|
- 2.uk.pool.ntp.org
|
||||||
|
profile::base::ssh: true
|
||||||
|
profile::base::motd: true
|
@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
profile::base::ssh::permit_root_login: 'yes'
|
@ -0,0 +1 @@
|
|||||||
|
---
|
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
profile::puppetserver::authority: true
|
||||||
|
profile::puppetserver::authority::validity: '7200'
|
||||||
|
profile::puppetserver::nfs_export: true
|
||||||
|
puppet_enterprise::profile::master::r10k_remote: "git@github.com:chlawren/control-repo.git"
|
||||||
|
puppet_enterprise::profile::master::r10k_private_key: "/etc/puppetlabs/puppetserver/ssh/id-control_repo.rsa"
|
||||||
|
puppet_enterprise::profile::master::code_manager_auto_configure: true
|
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
profile::puppetserver::authority: true
|
||||||
|
profile::puppetserver::authority::validity: '7200'
|
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
profile::puppetserver::authority: true
|
||||||
|
profile::puppetserver::authority::validity: '7200'
|
||||||
|
puppet_enterprise::profile::master::r10k_remote: "git@github.com:chlawren/control-repo.git"
|
||||||
|
puppet_enterprise::profile::master::r10k_private_key: "/etc/puppetlabs/puppetserver/ssh/id-control_repo.rsa"
|
||||||
|
puppet_enterprise::profile::master::code_manager_auto_configure: true
|
@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
profile::puppetserver::authority::jwt_secret: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAEca4yGi5jZP7UAvhiEFDuAXXRHWwbwNz3Dj+/4nRYtZ0jbNWPh3VTT+XBZKCgeQcV3oTy3j3n0Ed4XzEYHZ8zM+ZPQ2m2En9qTzOJ8Fn4Kq2FxgTimjdqCKSLcQMcgzDDT45Gk4JjS/u6G4Vi1LrEdMf80TFcOCwvCq/ZZyzimmbCziW81kQ3tcdbY9yxkqJg8AGfRK5abF88M3R9DqsRcmKbnzwsYFfEUXUbuMdYSvQxAe4UyXYrM9GHNxjts+2WM431WXdX89DoMKsqJ4PulMub8TaXXQkxCvLmducz8mXh0s9AsSlx/DMOImIZTUdGdwS67xeCcc9Fq/omWO2bjBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBDx6u7YJTvRc0DlRtxtNoBAgCAqanEu5repqqcLyk+iuRi2Dw+4+/+7FCRKo6GT5SlB1A==]
|
@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
profile::puppetserver::authority::jwt_secret: "ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAnLKlgSOslWvpo+tVP2Fd/ITPkWLc7GM2cXd3bI8tB2PqsnEDOfWYFh8Pp58nzOZTPomTVxtQ0ptud6A+VhGbQ55P5ha9GzW9Pra5q0pQEsoGjJQhLKVsbLlivYN5j+W0pfR3hAr6NgKVBX0qwESOAKKIrYth34qH7Fsrk19VDKLOUJPSbVCajwwbUdj3s0j+8k3CCkey8+FmzTDeqjNGDDMmSxcWAySfX0LfZI3GGgJDfHgo3HDia3MiN0PLfNIOpeIFWRgWnzNrzHbt3RnEV7HIp1R+W2lyr/OWCGgBPco6t7oddqk9n3i35/0pxTsKmZEjasZyNvf51/PNwKK2VjBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBAaFxUesvj7c9N47ru3WWyugCDAjwhS8BqA1n37yWGIGNCrdfQDUDr/dBMZTbmaoLAKLg==]"
|
@ -0,0 +1,2 @@
|
|||||||
|
modulepath = site-modules:modules:$basemodulepath
|
||||||
|
config_version = 'scripts/config_version.sh $environmentpath $environment'
|
@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
version: 5
|
||||||
|
defaults:
|
||||||
|
datadir: data
|
||||||
|
hierarchy:
|
||||||
|
- name: 'Secret data: per-node, common'
|
||||||
|
lookup_key: eyaml_lookup_key
|
||||||
|
paths:
|
||||||
|
- secrets/node/%{trusted.certname}.eyaml
|
||||||
|
- secrets/role/%{trusted.extensions.pp_role}.eyaml
|
||||||
|
- common.eyaml
|
||||||
|
options:
|
||||||
|
pkcs7_private_key: "/etc/puppetlabs/puppet/eyaml/private_key.pkcs7.pem"
|
||||||
|
pkcs7_public_key: "/etc/puppetlabs/puppet/eyaml/public_key.pkcs7.pem"
|
||||||
|
- name: Yaml backend Data
|
||||||
|
data_hash: yaml_data
|
||||||
|
paths:
|
||||||
|
- nodes/%{trusted.certname}.yaml
|
||||||
|
- roles/%{trusted.extensions.pp_role}.yaml
|
||||||
|
- environments/%{trusted.extensions.pp_environment}.yaml
|
||||||
|
- common.yaml
|
@ -0,0 +1,47 @@
|
|||||||
|
## site.pp ##
|
||||||
|
|
||||||
|
# This file (./manifests/site.pp) is the main entry point
|
||||||
|
# used when an agent connects to a master and asks for an updated configuration.
|
||||||
|
# https://puppet.com/docs/puppet/latest/dirs_manifest.html
|
||||||
|
#
|
||||||
|
# Global objects like filebuckets and resource defaults should go in this file,
|
||||||
|
# as should the default node definition if you want to use it.
|
||||||
|
|
||||||
|
## Active Configurations ##
|
||||||
|
|
||||||
|
# Disable filebucket by default for all File resources:
|
||||||
|
# https://github.com/puppetlabs/docs-archive/blob/master/pe/2015.3/release_notes.markdown#filebucket-resource-no-longer-created-by-default
|
||||||
|
File { backup => false }
|
||||||
|
|
||||||
|
## Node Definitions ##
|
||||||
|
|
||||||
|
# The default node definition matches any node lacking a more specific node
|
||||||
|
# definition. If there are no other node definitions in this file, classes
|
||||||
|
# and resources declared in the default node definition will be included in
|
||||||
|
# every node's catalog.
|
||||||
|
#
|
||||||
|
# Note that node definitions in this file are merged with node data from the
|
||||||
|
# Puppet Enterprise console and External Node Classifiers (ENC's).
|
||||||
|
#
|
||||||
|
# For more on node definitions, see: https://puppet.com/docs/puppet/latest/lang_node_definitions.html
|
||||||
|
|
||||||
|
if $trusted['extensions']['pp_application'] == 'puppet/master' {
|
||||||
|
|
||||||
|
include role::puppetserver
|
||||||
|
}
|
||||||
|
|
||||||
|
node 'puppet' {
|
||||||
|
|
||||||
|
include role::puppetserver
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
node default {
|
||||||
|
|
||||||
|
if $trusted['extensions']['pp_role'] {
|
||||||
|
include "role::${trusted['extensions']['pp_role']}"
|
||||||
|
|
||||||
|
} else {
|
||||||
|
include role::node
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,19 @@
|
|||||||
|
#!/opt/puppetlabs/puppet/bin/ruby
|
||||||
|
require 'json'
|
||||||
|
require 'socket'
|
||||||
|
|
||||||
|
environmentpath = ARGV[0]
|
||||||
|
environment = ARGV[1]
|
||||||
|
|
||||||
|
# Get the hostname of the Puppet master compiling the catalog.
|
||||||
|
# Sometimes the hostname is the fqdn, so we'll take the first segment.
|
||||||
|
compiling_master = Socket.gethostname.split('.').first
|
||||||
|
|
||||||
|
# Get the path to the Code Manager deployment info file.
|
||||||
|
r10k_deploy_file_path = File.join(environmentpath, environment, '.r10k-deploy.json')
|
||||||
|
|
||||||
|
# Get the first 12 characters of the commit ID out of the deployment file.
|
||||||
|
commit_id = JSON.parse(File.read(r10k_deploy_file_path))['signature'][0...11]
|
||||||
|
|
||||||
|
# Show the compiling master, environment name, and commit ID.
|
||||||
|
puts "#{compiling_master}-#{environment}-#{commit_id}"
|
@ -0,0 +1,25 @@
|
|||||||
|
#!/opt/puppetlabs/puppet/bin/ruby
|
||||||
|
begin
|
||||||
|
require 'rugged'
|
||||||
|
require 'socket'
|
||||||
|
rescue LoadError
|
||||||
|
t = Time.new
|
||||||
|
puts t.to_i
|
||||||
|
else
|
||||||
|
environmentpath = ARGV[0]
|
||||||
|
environment = ARGV[1]
|
||||||
|
|
||||||
|
# Get the hostname of the Puppet master compiling the catalog.
|
||||||
|
# Sometimes the hostname is the fqdn, so we'll take the first segment.
|
||||||
|
compiling_master = Socket.gethostname.split('.').first
|
||||||
|
|
||||||
|
# Get the path to the environment being compiled.
|
||||||
|
repo = Rugged::Repository.discover(File.join(environmentpath, environment))
|
||||||
|
head = repo.head
|
||||||
|
|
||||||
|
# First 12 characters of the sha1 hash of the newest commit.
|
||||||
|
commit_id = head.target_id[0...11]
|
||||||
|
|
||||||
|
# Show the compiling master, environment name, and commit ID.
|
||||||
|
puts "#{compiling_master}-#{environment}-#{commit_id}"
|
||||||
|
end
|
@ -0,0 +1,35 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Usage
|
||||||
|
if [ $# -ne 2 -o ! -d "$1" -o ! -d "$1/$2" ]; then
|
||||||
|
echo "usage: $0 <environmentpath> <environment>" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# For portability, identify a preferred ruby executable to use
|
||||||
|
ruby() {
|
||||||
|
[ -x /opt/puppetlabs/puppet/bin/ruby ] \
|
||||||
|
&& /opt/puppetlabs/puppet/bin/ruby "$@" \
|
||||||
|
|| /usr/bin/env ruby "$@"
|
||||||
|
}
|
||||||
|
|
||||||
|
# Determine how best to calculate a config_version
|
||||||
|
if [ -e $1/$2/.r10k-deploy.json ]; then
|
||||||
|
# The environment was deployed using r10k. We will calculate the config
|
||||||
|
# version using the r10k data.
|
||||||
|
ruby $1/$2/scripts/config_version-r10k.rb $1 $2
|
||||||
|
|
||||||
|
elif [ -e /opt/puppetlabs/server/pe_version ]; then
|
||||||
|
# This is a Puppet Enterprise system and we can rely on the rugged ruby gem
|
||||||
|
# being available.
|
||||||
|
ruby $1/$2/scripts/config_version-rugged.rb $1 $2
|
||||||
|
|
||||||
|
elif type git >/dev/null; then
|
||||||
|
# The git command is available.
|
||||||
|
git --git-dir $1/$2/.git rev-parse HEAD
|
||||||
|
|
||||||
|
else
|
||||||
|
# Nothing else available; just use the date.
|
||||||
|
date +%s
|
||||||
|
|
||||||
|
fi
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,6 @@
|
|||||||
|
# This file can be used to install module dependencies for unit testing
|
||||||
|
# See https://github.com/puppetlabs/puppetlabs_spec_helper#using-fixtures for details
|
||||||
|
---
|
||||||
|
fixtures:
|
||||||
|
forge_modules:
|
||||||
|
# stdlib: "puppetlabs/stdlib"
|
5
.onceover/etc/puppetlabs/code/environments/production/site-modules/profile/.gitattributes
vendored
Normal file
5
.onceover/etc/puppetlabs/code/environments/production/site-modules/profile/.gitattributes
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
*.rb eol=lf
|
||||||
|
*.erb eol=lf
|
||||||
|
*.pp eol=lf
|
||||||
|
*.sh eol=lf
|
||||||
|
*.epp eol=lf
|
27
.onceover/etc/puppetlabs/code/environments/production/site-modules/profile/.gitignore
vendored
Normal file
27
.onceover/etc/puppetlabs/code/environments/production/site-modules/profile/.gitignore
vendored
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
.git/
|
||||||
|
.*.sw[op]
|
||||||
|
.metadata
|
||||||
|
.yardoc
|
||||||
|
.yardwarns
|
||||||
|
*.iml
|
||||||
|
/.bundle/
|
||||||
|
/.idea/
|
||||||
|
/.vagrant/
|
||||||
|
/coverage/
|
||||||
|
/bin/
|
||||||
|
/doc/
|
||||||
|
/Gemfile.local
|
||||||
|
/Gemfile.lock
|
||||||
|
/junit/
|
||||||
|
/log/
|
||||||
|
/pkg/
|
||||||
|
/spec/fixtures/manifests/
|
||||||
|
/spec/fixtures/modules/
|
||||||
|
/tmp/
|
||||||
|
/vendor/
|
||||||
|
/convert_report.txt
|
||||||
|
/update_report.txt
|
||||||
|
.DS_Store
|
||||||
|
.project
|
||||||
|
.envrc
|
||||||
|
/inventory.yaml
|
@ -0,0 +1,41 @@
|
|||||||
|
---
|
||||||
|
stages:
|
||||||
|
- syntax
|
||||||
|
- unit
|
||||||
|
|
||||||
|
cache:
|
||||||
|
paths:
|
||||||
|
- vendor/bundle
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- bundle -v
|
||||||
|
- rm Gemfile.lock || true
|
||||||
|
- gem update --system $RUBYGEMS_VERSION
|
||||||
|
- gem --version
|
||||||
|
- bundle -v
|
||||||
|
- bundle install --without system_tests --path vendor/bundle --jobs $(nproc)
|
||||||
|
|
||||||
|
syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop-Ruby 2.5.3-Puppet ~> 6:
|
||||||
|
stage: syntax
|
||||||
|
image: ruby:2.5.3
|
||||||
|
script:
|
||||||
|
- bundle exec rake syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop
|
||||||
|
variables:
|
||||||
|
PUPPET_GEM_VERSION: '~> 6'
|
||||||
|
|
||||||
|
parallel_spec-Ruby 2.5.3-Puppet ~> 6:
|
||||||
|
stage: unit
|
||||||
|
image: ruby:2.5.3
|
||||||
|
script:
|
||||||
|
- bundle exec rake parallel_spec
|
||||||
|
variables:
|
||||||
|
PUPPET_GEM_VERSION: '~> 6'
|
||||||
|
|
||||||
|
parallel_spec-Ruby 2.4.5-Puppet ~> 5:
|
||||||
|
stage: unit
|
||||||
|
image: ruby:2.4.5
|
||||||
|
script:
|
||||||
|
- bundle exec rake parallel_spec
|
||||||
|
variables:
|
||||||
|
PUPPET_GEM_VERSION: '~> 5'
|
||||||
|
|
@ -0,0 +1,42 @@
|
|||||||
|
.git/
|
||||||
|
.*.sw[op]
|
||||||
|
.metadata
|
||||||
|
.yardoc
|
||||||
|
.yardwarns
|
||||||
|
*.iml
|
||||||
|
/.bundle/
|
||||||
|
/.idea/
|
||||||
|
/.vagrant/
|
||||||
|
/coverage/
|
||||||
|
/bin/
|
||||||
|
/doc/
|
||||||
|
/Gemfile.local
|
||||||
|
/Gemfile.lock
|
||||||
|
/junit/
|
||||||
|
/log/
|
||||||
|
/pkg/
|
||||||
|
/spec/fixtures/manifests/
|
||||||
|
/spec/fixtures/modules/
|
||||||
|
/tmp/
|
||||||
|
/vendor/
|
||||||
|
/convert_report.txt
|
||||||
|
/update_report.txt
|
||||||
|
.DS_Store
|
||||||
|
.project
|
||||||
|
.envrc
|
||||||
|
/inventory.yaml
|
||||||
|
/appveyor.yml
|
||||||
|
/.fixtures.yml
|
||||||
|
/Gemfile
|
||||||
|
/.gitattributes
|
||||||
|
/.gitignore
|
||||||
|
/.gitlab-ci.yml
|
||||||
|
/.pdkignore
|
||||||
|
/Rakefile
|
||||||
|
/rakelib/
|
||||||
|
/.rspec
|
||||||
|
/.rubocop.yml
|
||||||
|
/.travis.yml
|
||||||
|
/.yardopts
|
||||||
|
/spec/
|
||||||
|
/.vscode/
|
@ -0,0 +1 @@
|
|||||||
|
--relative
|
@ -0,0 +1,2 @@
|
|||||||
|
--color
|
||||||
|
--format documentation
|
@ -0,0 +1,133 @@
|
|||||||
|
---
|
||||||
|
require:
|
||||||
|
- rubocop-rspec
|
||||||
|
- rubocop-i18n
|
||||||
|
AllCops:
|
||||||
|
DisplayCopNames: true
|
||||||
|
TargetRubyVersion: '2.1'
|
||||||
|
Include:
|
||||||
|
- "./**/*.rb"
|
||||||
|
Exclude:
|
||||||
|
- bin/*
|
||||||
|
- ".vendor/**/*"
|
||||||
|
- "**/Gemfile"
|
||||||
|
- "**/Rakefile"
|
||||||
|
- pkg/**/*
|
||||||
|
- spec/fixtures/**/*
|
||||||
|
- vendor/**/*
|
||||||
|
- "**/Puppetfile"
|
||||||
|
- "**/Vagrantfile"
|
||||||
|
- "**/Guardfile"
|
||||||
|
Metrics/LineLength:
|
||||||
|
Description: People have wide screens, use them.
|
||||||
|
Max: 200
|
||||||
|
GetText:
|
||||||
|
Enabled: false
|
||||||
|
GetText/DecorateString:
|
||||||
|
Description: We don't want to decorate test output.
|
||||||
|
Exclude:
|
||||||
|
- spec/**/*
|
||||||
|
Enabled: false
|
||||||
|
RSpec/BeforeAfterAll:
|
||||||
|
Description: Beware of using after(:all) as it may cause state to leak between tests.
|
||||||
|
A necessary evil in acceptance testing.
|
||||||
|
Exclude:
|
||||||
|
- spec/acceptance/**/*.rb
|
||||||
|
RSpec/HookArgument:
|
||||||
|
Description: Prefer explicit :each argument, matching existing module's style
|
||||||
|
EnforcedStyle: each
|
||||||
|
Style/BlockDelimiters:
|
||||||
|
Description: Prefer braces for chaining. Mostly an aesthetical choice. Better to
|
||||||
|
be consistent then.
|
||||||
|
EnforcedStyle: braces_for_chaining
|
||||||
|
Style/ClassAndModuleChildren:
|
||||||
|
Description: Compact style reduces the required amount of indentation.
|
||||||
|
EnforcedStyle: compact
|
||||||
|
Style/EmptyElse:
|
||||||
|
Description: Enforce against empty else clauses, but allow `nil` for clarity.
|
||||||
|
EnforcedStyle: empty
|
||||||
|
Style/FormatString:
|
||||||
|
Description: Following the main puppet project's style, prefer the % format format.
|
||||||
|
EnforcedStyle: percent
|
||||||
|
Style/FormatStringToken:
|
||||||
|
Description: Following the main puppet project's style, prefer the simpler template
|
||||||
|
tokens over annotated ones.
|
||||||
|
EnforcedStyle: template
|
||||||
|
Style/Lambda:
|
||||||
|
Description: Prefer the keyword for easier discoverability.
|
||||||
|
EnforcedStyle: literal
|
||||||
|
Style/RegexpLiteral:
|
||||||
|
Description: Community preference. See https://github.com/voxpupuli/modulesync_config/issues/168
|
||||||
|
EnforcedStyle: percent_r
|
||||||
|
Style/TernaryParentheses:
|
||||||
|
Description: Checks for use of parentheses around ternary conditions. Enforce parentheses
|
||||||
|
on complex expressions for better readability, but seriously consider breaking
|
||||||
|
it up.
|
||||||
|
EnforcedStyle: require_parentheses_when_complex
|
||||||
|
Style/TrailingCommaInArguments:
|
||||||
|
Description: Prefer always trailing comma on multiline argument lists. This makes
|
||||||
|
diffs, and re-ordering nicer.
|
||||||
|
EnforcedStyleForMultiline: comma
|
||||||
|
Style/TrailingCommaInLiteral:
|
||||||
|
Description: Prefer always trailing comma on multiline literals. This makes diffs,
|
||||||
|
and re-ordering nicer.
|
||||||
|
EnforcedStyleForMultiline: comma
|
||||||
|
Style/SymbolArray:
|
||||||
|
Description: Using percent style obscures symbolic intent of array's contents.
|
||||||
|
EnforcedStyle: brackets
|
||||||
|
RSpec/MessageSpies:
|
||||||
|
EnforcedStyle: receive
|
||||||
|
Style/Documentation:
|
||||||
|
Exclude:
|
||||||
|
- lib/puppet/parser/functions/**/*
|
||||||
|
- spec/**/*
|
||||||
|
Style/WordArray:
|
||||||
|
EnforcedStyle: brackets
|
||||||
|
Style/CollectionMethods:
|
||||||
|
Enabled: true
|
||||||
|
Style/MethodCalledOnDoEndBlock:
|
||||||
|
Enabled: true
|
||||||
|
Style/StringMethods:
|
||||||
|
Enabled: true
|
||||||
|
GetText/DecorateFunctionMessage:
|
||||||
|
Enabled: false
|
||||||
|
GetText/DecorateStringFormattingUsingInterpolation:
|
||||||
|
Enabled: false
|
||||||
|
GetText/DecorateStringFormattingUsingPercent:
|
||||||
|
Enabled: false
|
||||||
|
Layout/EndOfLine:
|
||||||
|
Enabled: false
|
||||||
|
Layout/IndentHeredoc:
|
||||||
|
Enabled: false
|
||||||
|
Metrics/AbcSize:
|
||||||
|
Enabled: false
|
||||||
|
Metrics/BlockLength:
|
||||||
|
Enabled: false
|
||||||
|
Metrics/ClassLength:
|
||||||
|
Enabled: false
|
||||||
|
Metrics/CyclomaticComplexity:
|
||||||
|
Enabled: false
|
||||||
|
Metrics/MethodLength:
|
||||||
|
Enabled: false
|
||||||
|
Metrics/ModuleLength:
|
||||||
|
Enabled: false
|
||||||
|
Metrics/ParameterLists:
|
||||||
|
Enabled: false
|
||||||
|
Metrics/PerceivedComplexity:
|
||||||
|
Enabled: false
|
||||||
|
RSpec/DescribeClass:
|
||||||
|
Enabled: false
|
||||||
|
RSpec/ExampleLength:
|
||||||
|
Enabled: false
|
||||||
|
RSpec/MessageExpectation:
|
||||||
|
Enabled: false
|
||||||
|
RSpec/MultipleExpectations:
|
||||||
|
Enabled: false
|
||||||
|
RSpec/NestedGroups:
|
||||||
|
Enabled: false
|
||||||
|
Style/AsciiComments:
|
||||||
|
Enabled: false
|
||||||
|
Style/IfUnlessModifier:
|
||||||
|
Enabled: false
|
||||||
|
Style/SymbolProc:
|
||||||
|
Enabled: false
|
@ -0,0 +1,45 @@
|
|||||||
|
---
|
||||||
|
dist: xenial
|
||||||
|
language: ruby
|
||||||
|
cache: bundler
|
||||||
|
before_install:
|
||||||
|
- bundle -v
|
||||||
|
- rm -f Gemfile.lock
|
||||||
|
- gem update --system $RUBYGEMS_VERSION
|
||||||
|
- gem --version
|
||||||
|
- bundle -v
|
||||||
|
script:
|
||||||
|
- 'bundle exec rake $CHECK'
|
||||||
|
bundler_args: --without system_tests
|
||||||
|
rvm:
|
||||||
|
- 2.5.3
|
||||||
|
stages:
|
||||||
|
- static
|
||||||
|
- spec
|
||||||
|
- acceptance
|
||||||
|
-
|
||||||
|
if: tag =~ ^v\d
|
||||||
|
name: deploy
|
||||||
|
matrix:
|
||||||
|
fast_finish: true
|
||||||
|
include:
|
||||||
|
-
|
||||||
|
env: CHECK="check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop syntax lint metadata_lint"
|
||||||
|
stage: static
|
||||||
|
-
|
||||||
|
env: PUPPET_GEM_VERSION="~> 5.0" CHECK=parallel_spec
|
||||||
|
rvm: 2.4.5
|
||||||
|
stage: spec
|
||||||
|
-
|
||||||
|
env: PUPPET_GEM_VERSION="~> 6.0" CHECK=parallel_spec
|
||||||
|
rvm: 2.5.3
|
||||||
|
stage: spec
|
||||||
|
-
|
||||||
|
env: DEPLOY_TO_FORGE=yes
|
||||||
|
stage: deploy
|
||||||
|
branches:
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
- /^v\d/
|
||||||
|
notifications:
|
||||||
|
email: false
|
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"recommendations": [
|
||||||
|
"jpogran.puppet-vscode",
|
||||||
|
"rebornix.Ruby"
|
||||||
|
]
|
||||||
|
}
|
@ -0,0 +1 @@
|
|||||||
|
--markup markdown
|
@ -0,0 +1,11 @@
|
|||||||
|
# Changelog
|
||||||
|
|
||||||
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
## Release 0.1.0
|
||||||
|
|
||||||
|
**Features**
|
||||||
|
|
||||||
|
**Bugfixes**
|
||||||
|
|
||||||
|
**Known Issues**
|
@ -0,0 +1,72 @@
|
|||||||
|
source ENV['GEM_SOURCE'] || 'https://rubygems.org'
|
||||||
|
|
||||||
|
def location_for(place_or_version, fake_version = nil)
|
||||||
|
git_url_regex = %r{\A(?<url>(https?|git)[:@][^#]*)(#(?<branch>.*))?}
|
||||||
|
file_url_regex = %r{\Afile:\/\/(?<path>.*)}
|
||||||
|
|
||||||
|
if place_or_version && (git_url = place_or_version.match(git_url_regex))
|
||||||
|
[fake_version, { git: git_url[:url], branch: git_url[:branch], require: false }].compact
|
||||||
|
elsif place_or_version && (file_url = place_or_version.match(file_url_regex))
|
||||||
|
['>= 0', { path: File.expand_path(file_url[:path]), require: false }]
|
||||||
|
else
|
||||||
|
[place_or_version, { require: false }]
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
ruby_version_segments = Gem::Version.new(RUBY_VERSION.dup).segments
|
||||||
|
minor_version = ruby_version_segments[0..1].join('.')
|
||||||
|
|
||||||
|
group :development do
|
||||||
|
gem "fast_gettext", '1.1.0', require: false if Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new('2.1.0')
|
||||||
|
gem "fast_gettext", require: false if Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.1.0')
|
||||||
|
gem "json_pure", '<= 2.0.1', require: false if Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new('2.0.0')
|
||||||
|
gem "json", '= 1.8.1', require: false if Gem::Version.new(RUBY_VERSION.dup) == Gem::Version.new('2.1.9')
|
||||||
|
gem "json", '= 2.0.4', require: false if Gem::Requirement.create('~> 2.4.2').satisfied_by?(Gem::Version.new(RUBY_VERSION.dup))
|
||||||
|
gem "json", '= 2.1.0', require: false if Gem::Requirement.create(['>= 2.5.0', '< 2.7.0']).satisfied_by?(Gem::Version.new(RUBY_VERSION.dup))
|
||||||
|
gem "rb-readline", '= 0.5.5', require: false, platforms: [:mswin, :mingw, :x64_mingw]
|
||||||
|
gem "puppet-module-posix-default-r#{minor_version}", '~> 0.3', require: false, platforms: [:ruby]
|
||||||
|
gem "puppet-module-posix-dev-r#{minor_version}", '~> 0.3', require: false, platforms: [:ruby]
|
||||||
|
gem "puppet-module-win-default-r#{minor_version}", '~> 0.3', require: false, platforms: [:mswin, :mingw, :x64_mingw]
|
||||||
|
gem "puppet-module-win-dev-r#{minor_version}", '~> 0.3', require: false, platforms: [:mswin, :mingw, :x64_mingw]
|
||||||
|
end
|
||||||
|
|
||||||
|
puppet_version = ENV['PUPPET_GEM_VERSION']
|
||||||
|
facter_version = ENV['FACTER_GEM_VERSION']
|
||||||
|
hiera_version = ENV['HIERA_GEM_VERSION']
|
||||||
|
|
||||||
|
gems = {}
|
||||||
|
|
||||||
|
gems['puppet'] = location_for(puppet_version)
|
||||||
|
|
||||||
|
# If facter or hiera versions have been specified via the environment
|
||||||
|
# variables
|
||||||
|
|
||||||
|
gems['facter'] = location_for(facter_version) if facter_version
|
||||||
|
gems['hiera'] = location_for(hiera_version) if hiera_version
|
||||||
|
|
||||||
|
if Gem.win_platform? && puppet_version =~ %r{^(file:///|git://)}
|
||||||
|
# If we're using a Puppet gem on Windows which handles its own win32-xxx gem
|
||||||
|
# dependencies (>= 3.5.0), set the maximum versions (see PUP-6445).
|
||||||
|
gems['win32-dir'] = ['<= 0.4.9', require: false]
|
||||||
|
gems['win32-eventlog'] = ['<= 0.6.5', require: false]
|
||||||
|
gems['win32-process'] = ['<= 0.7.5', require: false]
|
||||||
|
gems['win32-security'] = ['<= 0.2.5', require: false]
|
||||||
|
gems['win32-service'] = ['0.8.8', require: false]
|
||||||
|
end
|
||||||
|
|
||||||
|
gems.each do |gem_name, gem_params|
|
||||||
|
gem gem_name, *gem_params
|
||||||
|
end
|
||||||
|
|
||||||
|
# Evaluate Gemfile.local and ~/.gemfile if they exist
|
||||||
|
extra_gemfiles = [
|
||||||
|
"#{__FILE__}.local",
|
||||||
|
File.join(Dir.home, '.gemfile'),
|
||||||
|
]
|
||||||
|
|
||||||
|
extra_gemfiles.each do |gemfile|
|
||||||
|
if File.file?(gemfile) && File.readable?(gemfile)
|
||||||
|
eval(File.read(gemfile), binding)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
# vim: syntax=ruby
|
@ -0,0 +1,87 @@
|
|||||||
|
# profile
|
||||||
|
|
||||||
|
Welcome to your new module. A short overview of the generated parts can be found in the PDK documentation at https://puppet.com/pdk/latest/pdk_generating_modules.html .
|
||||||
|
|
||||||
|
The README template below provides a starting point with details about what information to include in your README.
|
||||||
|
|
||||||
|
#### Table of Contents
|
||||||
|
|
||||||
|
1. [Description](#description)
|
||||||
|
2. [Setup - The basics of getting started with profile](#setup)
|
||||||
|
* [What profile affects](#what-profile-affects)
|
||||||
|
* [Setup requirements](#setup-requirements)
|
||||||
|
* [Beginning with profile](#beginning-with-profile)
|
||||||
|
3. [Usage - Configuration options and additional functionality](#usage)
|
||||||
|
4. [Limitations - OS compatibility, etc.](#limitations)
|
||||||
|
5. [Development - Guide for contributing to the module](#development)
|
||||||
|
|
||||||
|
## Description
|
||||||
|
|
||||||
|
Briefly tell users why they might want to use your module. Explain what your module does and what kind of problems users can solve with it.
|
||||||
|
|
||||||
|
This should be a fairly short description helps the user decide if your module is what they want.
|
||||||
|
|
||||||
|
## Setup
|
||||||
|
|
||||||
|
### What profile affects **OPTIONAL**
|
||||||
|
|
||||||
|
If it's obvious what your module touches, you can skip this section. For example, folks can probably figure out that your mysql_instance module affects their MySQL instances.
|
||||||
|
|
||||||
|
If there's more that they should know about, though, this is the place to mention:
|
||||||
|
|
||||||
|
* Files, packages, services, or operations that the module will alter, impact, or execute.
|
||||||
|
* Dependencies that your module automatically installs.
|
||||||
|
* Warnings or other important notices.
|
||||||
|
|
||||||
|
### Setup Requirements **OPTIONAL**
|
||||||
|
|
||||||
|
If your module requires anything extra before setting up (pluginsync enabled, another module, etc.), mention it here.
|
||||||
|
|
||||||
|
If your most recent release breaks compatibility or requires particular steps for upgrading, you might want to include an additional "Upgrading" section here.
|
||||||
|
|
||||||
|
### Beginning with profile
|
||||||
|
|
||||||
|
The very basic steps needed for a user to get the module up and running. This can include setup steps, if necessary, or it can be an example of the most basic use of the module.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
Include usage examples for common use cases in the **Usage** section. Show your users how to use your module to solve problems, and be sure to include code examples. Include three to five examples of the most important or common tasks a user can accomplish with your module. Show users how to accomplish more complex tasks that involve different types, classes, and functions working in tandem.
|
||||||
|
|
||||||
|
## Reference
|
||||||
|
|
||||||
|
This section is deprecated. Instead, add reference information to your code as Puppet Strings comments, and then use Strings to generate a REFERENCE.md in your module. For details on how to add code comments and generate documentation with Strings, see the Puppet Strings [documentation](https://puppet.com/docs/puppet/latest/puppet_strings.html) and [style guide](https://puppet.com/docs/puppet/latest/puppet_strings_style.html)
|
||||||
|
|
||||||
|
If you aren't ready to use Strings yet, manually create a REFERENCE.md in the root of your module directory and list out each of your module's classes, defined types, facts, functions, Puppet tasks, task plans, and resource types and providers, along with the parameters for each.
|
||||||
|
|
||||||
|
For each element (class, defined type, function, and so on), list:
|
||||||
|
|
||||||
|
* The data type, if applicable.
|
||||||
|
* A description of what the element does.
|
||||||
|
* Valid values, if the data type doesn't make it obvious.
|
||||||
|
* Default value, if any.
|
||||||
|
|
||||||
|
For example:
|
||||||
|
|
||||||
|
```
|
||||||
|
### `pet::cat`
|
||||||
|
|
||||||
|
#### Parameters
|
||||||
|
|
||||||
|
##### `meow`
|
||||||
|
|
||||||
|
Enables vocalization in your cat. Valid options: 'string'.
|
||||||
|
|
||||||
|
Default: 'medium-loud'.
|
||||||
|
```
|
||||||
|
|
||||||
|
## Limitations
|
||||||
|
|
||||||
|
In the Limitations section, list any incompatibilities, known issues, or other warnings.
|
||||||
|
|
||||||
|
## Development
|
||||||
|
|
||||||
|
In the Development section, tell other users the ground rules for contributing to your project and how they should submit their work.
|
||||||
|
|
||||||
|
## Release Notes/Contributors/Etc. **Optional**
|
||||||
|
|
||||||
|
If you aren't using changelog, put your release notes here (though you should consider using changelog). You can also add any additional sections you feel are necessary or important to include here. Please use the `## ` header.
|
@ -0,0 +1,86 @@
|
|||||||
|
require 'puppet_litmus/rake_tasks' if Bundler.rubygems.find_name('puppet_litmus').any?
|
||||||
|
require 'puppetlabs_spec_helper/rake_tasks'
|
||||||
|
require 'puppet-syntax/tasks/puppet-syntax'
|
||||||
|
require 'puppet_blacksmith/rake_tasks' if Bundler.rubygems.find_name('puppet-blacksmith').any?
|
||||||
|
require 'github_changelog_generator/task' if Bundler.rubygems.find_name('github_changelog_generator').any?
|
||||||
|
require 'puppet-strings/tasks' if Bundler.rubygems.find_name('puppet-strings').any?
|
||||||
|
|
||||||
|
def changelog_user
|
||||||
|
return unless Rake.application.top_level_tasks.include? "changelog"
|
||||||
|
returnVal = nil || JSON.load(File.read('metadata.json'))['author']
|
||||||
|
raise "unable to find the changelog_user in .sync.yml, or the author in metadata.json" if returnVal.nil?
|
||||||
|
puts "GitHubChangelogGenerator user:#{returnVal}"
|
||||||
|
returnVal
|
||||||
|
end
|
||||||
|
|
||||||
|
def changelog_project
|
||||||
|
return unless Rake.application.top_level_tasks.include? "changelog"
|
||||||
|
|
||||||
|
returnVal = nil
|
||||||
|
returnVal ||= begin
|
||||||
|
metadata_source = JSON.load(File.read('metadata.json'))['source']
|
||||||
|
metadata_source_match = metadata_source && metadata_source.match(%r{.*\/([^\/]*?)(?:\.git)?\Z})
|
||||||
|
|
||||||
|
metadata_source_match && metadata_source_match[1]
|
||||||
|
end
|
||||||
|
|
||||||
|
raise "unable to find the changelog_project in .sync.yml or calculate it from the source in metadata.json" if returnVal.nil?
|
||||||
|
|
||||||
|
puts "GitHubChangelogGenerator project:#{returnVal}"
|
||||||
|
returnVal
|
||||||
|
end
|
||||||
|
|
||||||
|
def changelog_future_release
|
||||||
|
return unless Rake.application.top_level_tasks.include? "changelog"
|
||||||
|
returnVal = "v%s" % JSON.load(File.read('metadata.json'))['version']
|
||||||
|
raise "unable to find the future_release (version) in metadata.json" if returnVal.nil?
|
||||||
|
puts "GitHubChangelogGenerator future_release:#{returnVal}"
|
||||||
|
returnVal
|
||||||
|
end
|
||||||
|
|
||||||
|
PuppetLint.configuration.send('disable_relative')
|
||||||
|
|
||||||
|
if Bundler.rubygems.find_name('github_changelog_generator').any?
|
||||||
|
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
|
||||||
|
raise "Set CHANGELOG_GITHUB_TOKEN environment variable eg 'export CHANGELOG_GITHUB_TOKEN=valid_token_here'" if Rake.application.top_level_tasks.include? "changelog" and ENV['CHANGELOG_GITHUB_TOKEN'].nil?
|
||||||
|
config.user = "#{changelog_user}"
|
||||||
|
config.project = "#{changelog_project}"
|
||||||
|
config.future_release = "#{changelog_future_release}"
|
||||||
|
config.exclude_labels = ['maintenance']
|
||||||
|
config.header = "# Change log\n\nAll notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org)."
|
||||||
|
config.add_pr_wo_labels = true
|
||||||
|
config.issues = false
|
||||||
|
config.merge_prefix = "### UNCATEGORIZED PRS; GO LABEL THEM"
|
||||||
|
config.configure_sections = {
|
||||||
|
"Changed" => {
|
||||||
|
"prefix" => "### Changed",
|
||||||
|
"labels" => ["backwards-incompatible"],
|
||||||
|
},
|
||||||
|
"Added" => {
|
||||||
|
"prefix" => "### Added",
|
||||||
|
"labels" => ["feature", "enhancement"],
|
||||||
|
},
|
||||||
|
"Fixed" => {
|
||||||
|
"prefix" => "### Fixed",
|
||||||
|
"labels" => ["bugfix"],
|
||||||
|
},
|
||||||
|
}
|
||||||
|
end
|
||||||
|
else
|
||||||
|
desc 'Generate a Changelog from GitHub'
|
||||||
|
task :changelog do
|
||||||
|
raise <<EOM
|
||||||
|
The changelog tasks depends on unreleased features of the github_changelog_generator gem.
|
||||||
|
Please manually add it to your .sync.yml for now, and run `pdk update`:
|
||||||
|
---
|
||||||
|
Gemfile:
|
||||||
|
optional:
|
||||||
|
':development':
|
||||||
|
- gem: 'github_changelog_generator'
|
||||||
|
git: 'https://github.com/skywinder/github-changelog-generator'
|
||||||
|
ref: '20ee04ba1234e9e83eb2ffb5056e23d641c7a018'
|
||||||
|
condition: "Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.2.2')"
|
||||||
|
EOM
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
@ -0,0 +1,56 @@
|
|||||||
|
---
|
||||||
|
version: 1.1.x.{build}
|
||||||
|
branches:
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
- release
|
||||||
|
skip_commits:
|
||||||
|
message: /^\(?doc\)?.*/
|
||||||
|
clone_depth: 10
|
||||||
|
init:
|
||||||
|
- SET
|
||||||
|
- 'mkdir C:\ProgramData\PuppetLabs\code && exit 0'
|
||||||
|
- 'mkdir C:\ProgramData\PuppetLabs\facter && exit 0'
|
||||||
|
- 'mkdir C:\ProgramData\PuppetLabs\hiera && exit 0'
|
||||||
|
- 'mkdir C:\ProgramData\PuppetLabs\puppet\var && exit 0'
|
||||||
|
environment:
|
||||||
|
matrix:
|
||||||
|
-
|
||||||
|
RUBY_VERSION: 24-x64
|
||||||
|
CHECK: syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop
|
||||||
|
-
|
||||||
|
PUPPET_GEM_VERSION: ~> 5.0
|
||||||
|
RUBY_VERSION: 24
|
||||||
|
CHECK: parallel_spec
|
||||||
|
-
|
||||||
|
PUPPET_GEM_VERSION: ~> 5.0
|
||||||
|
RUBY_VERSION: 24-x64
|
||||||
|
CHECK: parallel_spec
|
||||||
|
-
|
||||||
|
PUPPET_GEM_VERSION: ~> 6.0
|
||||||
|
RUBY_VERSION: 25
|
||||||
|
CHECK: parallel_spec
|
||||||
|
-
|
||||||
|
PUPPET_GEM_VERSION: ~> 6.0
|
||||||
|
RUBY_VERSION: 25-x64
|
||||||
|
CHECK: parallel_spec
|
||||||
|
matrix:
|
||||||
|
fast_finish: true
|
||||||
|
install:
|
||||||
|
- set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
|
||||||
|
- bundle install --jobs 4 --retry 2 --without system_tests
|
||||||
|
- type Gemfile.lock
|
||||||
|
build: off
|
||||||
|
test_script:
|
||||||
|
- bundle exec puppet -V
|
||||||
|
- ruby -v
|
||||||
|
- gem -v
|
||||||
|
- bundle -v
|
||||||
|
- bundle exec rake %CHECK%
|
||||||
|
notifications:
|
||||||
|
- provider: Email
|
||||||
|
to:
|
||||||
|
- nobody@nowhere.com
|
||||||
|
on_build_success: false
|
||||||
|
on_build_failure: false
|
||||||
|
on_build_status_changed: false
|
@ -0,0 +1 @@
|
|||||||
|
---
|
@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
version: 5
|
||||||
|
|
||||||
|
defaults: # Used for any hierarchy level that omits these keys.
|
||||||
|
datadir: data # This path is relative to hiera.yaml's directory.
|
||||||
|
data_hash: yaml_data # Use the built-in YAML backend.
|
||||||
|
|
||||||
|
hierarchy:
|
||||||
|
- name: "osfamily/major release"
|
||||||
|
paths:
|
||||||
|
- "os/%{facts.os.family}/%{facts.os.release.major}.yaml"
|
||||||
|
# Used for Solaris
|
||||||
|
- "os/%{facts.os.family}/%{facts.kernelrelease}.yaml"
|
||||||
|
# Used to distinguish between Debian and Ubuntu
|
||||||
|
- "os/%{facts.os.name}/%{facts.os.release.major}.yaml"
|
||||||
|
- name: "osfamily"
|
||||||
|
paths:
|
||||||
|
- "os/%{facts.os.family}.yaml"
|
||||||
|
- "os/%{facts.os.name}.yaml"
|
||||||
|
- name: 'common'
|
||||||
|
path: 'common.yaml'
|
@ -0,0 +1,31 @@
|
|||||||
|
class profile::base (
|
||||||
|
Boolean $firewall = false,
|
||||||
|
Boolean $time = false,
|
||||||
|
Boolean $repos = false,
|
||||||
|
Boolean $resolv = false,
|
||||||
|
Boolean $ssh = false,
|
||||||
|
Boolean $selinux = false,
|
||||||
|
Boolean $motd = false,
|
||||||
|
) {
|
||||||
|
if $motd {
|
||||||
|
class { '::motd': }
|
||||||
|
}
|
||||||
|
if $firewall {
|
||||||
|
class { '::profile::base::firewall': }
|
||||||
|
}
|
||||||
|
if $time {
|
||||||
|
class { '::profile::base::time': }
|
||||||
|
}
|
||||||
|
if $repos {
|
||||||
|
class { '::profile::base::repositories': }
|
||||||
|
}
|
||||||
|
if $resolv {
|
||||||
|
class { '::profile::base::resolv': }
|
||||||
|
}
|
||||||
|
if $ssh {
|
||||||
|
class { '::profile::base::ssh': }
|
||||||
|
}
|
||||||
|
if $selinux {
|
||||||
|
class { '::profile::base::selinux': }
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,5 @@
|
|||||||
|
class profile::base::motd (
|
||||||
|
) {
|
||||||
|
class { '::motd':
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,17 @@
|
|||||||
|
# This class can be used to configure resolv.conf.
|
||||||
|
#
|
||||||
|
# @example when declaring the resolver class
|
||||||
|
# class { '::profiles::base::resolv': }
|
||||||
|
#
|
||||||
|
class profile::base::resolv (
|
||||||
|
Optional[String] $domainname = undef,
|
||||||
|
Array[String] $nameservers = [],
|
||||||
|
Optional[String] $searchpath = undef,
|
||||||
|
) {
|
||||||
|
|
||||||
|
class { '::resolv_conf':
|
||||||
|
domainname => $domainname,
|
||||||
|
nameservers => $nameservers,
|
||||||
|
searchpath => $searchpath,
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
class profile::base::selinux (
|
||||||
|
String $mode = 'disabled',
|
||||||
|
) {
|
||||||
|
class { '::selinux':
|
||||||
|
mode => $mode,
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,19 @@
|
|||||||
|
class profile::base::ssh (
|
||||||
|
Hash $config_entries = {},
|
||||||
|
String $permit_root_login = 'no',
|
||||||
|
String $ssh_config_forward_agent = 'no',
|
||||||
|
String $sshd_config_allowagentforwarding = 'no',
|
||||||
|
Hash $sshd_config_match = {},
|
||||||
|
String $sshd_config_port = '22',
|
||||||
|
String $sshd_password_authentication = 'no'
|
||||||
|
) {
|
||||||
|
class { '::ssh':
|
||||||
|
config_entries => $config_entries,
|
||||||
|
permit_root_login => $permit_root_login,
|
||||||
|
ssh_config_forward_agent => $ssh_config_forward_agent,
|
||||||
|
sshd_config_allowagentforwarding => $sshd_config_allowagentforwarding,
|
||||||
|
sshd_config_match => $sshd_config_match,
|
||||||
|
sshd_config_port => $sshd_config_port,
|
||||||
|
sshd_password_authentication => $sshd_password_authentication,
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,16 @@
|
|||||||
|
class profile::base::time (
|
||||||
|
String $default_timezone = 'Europe/London',
|
||||||
|
Array $ntp_servers = [],
|
||||||
|
Array $restrict = [],
|
||||||
|
Boolean $set_timezone = false,
|
||||||
|
) {
|
||||||
|
class { '::ntp':
|
||||||
|
servers => $ntp_servers,
|
||||||
|
restrict => $restrict,
|
||||||
|
}
|
||||||
|
if $set_timezone {
|
||||||
|
class { '::timezone':
|
||||||
|
default_timezone => $default_timezone,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,17 @@
|
|||||||
|
class profile::custom_windows (
|
||||||
|
Boolean $config_server = true,
|
||||||
|
Boolean $install_package = true,
|
||||||
|
Boolean $deploy_iis = true,
|
||||||
|
) {
|
||||||
|
if $config_server {
|
||||||
|
class { '::profile::custom_windows::config_server': }
|
||||||
|
}
|
||||||
|
if $install_package {
|
||||||
|
class { '::profile::custom_windows::install_package': }
|
||||||
|
include chocolatey
|
||||||
|
include staging
|
||||||
|
}
|
||||||
|
if $deploy_iis {
|
||||||
|
class { '::profile::custom_windows::deploy_iis': }
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,57 @@
|
|||||||
|
class profile::custom_windows::config_server (
|
||||||
|
|
||||||
|
$user_name = 'myuser',
|
||||||
|
$user_group = 'mygroup',
|
||||||
|
$user_groups = ['BUILTIN\Administrators', 'BUILTIN\Users'],
|
||||||
|
$user_home = "C:/Users/myuser",
|
||||||
|
$user_password = 'Puppetlabs01!',
|
||||||
|
$ensure = 'present',
|
||||||
|
$manage_home = true,
|
||||||
|
$user_dir = 'mydir',
|
||||||
|
|
||||||
|
) {
|
||||||
|
|
||||||
|
profile::custom_windows::define_user { 'myuser':
|
||||||
|
|
||||||
|
user_name => $user_name,
|
||||||
|
user_group => $user_group,
|
||||||
|
user_groups => $user_groups,
|
||||||
|
user_home => $user_home,
|
||||||
|
user_password => $user_password,
|
||||||
|
ensure => $ensure,
|
||||||
|
manage_home => $manage_home,
|
||||||
|
user_dir => $user_dir,
|
||||||
|
}
|
||||||
|
|
||||||
|
acl { "${user_home}/${user_dir}":
|
||||||
|
|
||||||
|
permissions => [
|
||||||
|
{ identity => $user_name, rights => ['read','execute'] },
|
||||||
|
{ identity => $user_group, rights => ['read'] }
|
||||||
|
],
|
||||||
|
}
|
||||||
|
|
||||||
|
registry::value { 'Enable IEESC':
|
||||||
|
|
||||||
|
key => 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A7-37EF-4b3f-8CFC-4F3A74704073}',
|
||||||
|
value => 'IsInstalled',
|
||||||
|
data => '1',
|
||||||
|
type => 'dword',
|
||||||
|
}
|
||||||
|
|
||||||
|
registry::value { 'Enable shutdown tracker':
|
||||||
|
|
||||||
|
key => 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Reliability',
|
||||||
|
value => 'ShutdownReasonOn',
|
||||||
|
data => '1',
|
||||||
|
type => 'dword',
|
||||||
|
}
|
||||||
|
|
||||||
|
registry::value { 'Enable shutdown tracker UI':
|
||||||
|
|
||||||
|
key => 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Reliability',
|
||||||
|
value => 'ShutdownReasonUI',
|
||||||
|
data => '1',
|
||||||
|
type => 'dword',
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,31 @@
|
|||||||
|
define profile::custom_windows::define_user (
|
||||||
|
|
||||||
|
String $user_name,
|
||||||
|
String $ensure,
|
||||||
|
String $user_group,
|
||||||
|
Optional[Array] $user_groups,
|
||||||
|
String $user_password,
|
||||||
|
String $user_dir,
|
||||||
|
String $user_home,
|
||||||
|
Boolean $manage_home,
|
||||||
|
|
||||||
|
) {
|
||||||
|
file { "${user_home}/${user_dir}":
|
||||||
|
ensure => directory,
|
||||||
|
owner => $user_name,
|
||||||
|
require => User[$user_name],
|
||||||
|
}
|
||||||
|
|
||||||
|
user { $user_name:
|
||||||
|
ensure => $ensure,
|
||||||
|
password => $user_password,
|
||||||
|
groups => $user_group,
|
||||||
|
managehome => $manage_home,
|
||||||
|
home => "C:/Users/$user_name",
|
||||||
|
require => Group[$user_group],
|
||||||
|
}
|
||||||
|
|
||||||
|
group { $user_group:
|
||||||
|
ensure => $ensure,
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,69 @@
|
|||||||
|
class profile::custom_windows::deploy_iis (
|
||||||
|
|
||||||
|
String $user_acl = $profile::custom_windows::config_server::user_name,
|
||||||
|
|
||||||
|
) {
|
||||||
|
|
||||||
|
dsc {'iis-web':
|
||||||
|
resource_name => 'WindowsFeature',
|
||||||
|
module => 'PSDesiredStateConfiguration',
|
||||||
|
properties => {
|
||||||
|
ensure => 'present',
|
||||||
|
name => 'Web-Server',
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
iis_site {'Default Web Site':
|
||||||
|
ensure => absent,
|
||||||
|
require => Dsc['iis-web'],
|
||||||
|
}
|
||||||
|
|
||||||
|
file { 'c:\\inetpub\\complete':
|
||||||
|
ensure => 'directory'
|
||||||
|
}
|
||||||
|
|
||||||
|
acl { 'c:\\inetpub\\complete':
|
||||||
|
permissions => [
|
||||||
|
{'identity' => $user_acl, 'rights' => ['read', 'execute']},
|
||||||
|
],
|
||||||
|
}
|
||||||
|
|
||||||
|
iis_application_pool { 'complete_site_app_pool':
|
||||||
|
ensure => 'present',
|
||||||
|
state => 'started',
|
||||||
|
managed_pipeline_mode => 'Integrated',
|
||||||
|
managed_runtime_version => 'v4.0',
|
||||||
|
}
|
||||||
|
|
||||||
|
iis_application_pool {'test_app_pool':
|
||||||
|
ensure => 'present',
|
||||||
|
enable32_bit_app_on_win64 => true,
|
||||||
|
managed_runtime_version => '',
|
||||||
|
managed_pipeline_mode => 'Classic',
|
||||||
|
start_mode => 'AlwaysRunning'
|
||||||
|
}
|
||||||
|
|
||||||
|
iis_site { 'complete':
|
||||||
|
ensure => 'started',
|
||||||
|
physicalpath => 'c:\\inetpub\\complete',
|
||||||
|
applicationpool => 'complete_site_app_pool',
|
||||||
|
enabledprotocols => 'https',
|
||||||
|
bindings => [
|
||||||
|
{
|
||||||
|
'bindinginformation' => '*:443:',
|
||||||
|
'protocol' => 'https',
|
||||||
|
'certificatehash' => '3598FAE5ADDB8BA32A061C5579829B359409856F',
|
||||||
|
'certificatestorename' => 'MY',
|
||||||
|
'sslflags' => 1,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
require => File['c:\\inetpub\\complete'],
|
||||||
|
notify => Reboot['dsc_reboot'],
|
||||||
|
}
|
||||||
|
|
||||||
|
reboot { 'dsc_reboot' :
|
||||||
|
message => 'DSC has requested a reboot',
|
||||||
|
when => 'pending',
|
||||||
|
onlyif => 'pending_dsc_reboot',
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,71 @@
|
|||||||
|
class profile::custom_windows::install_package (
|
||||||
|
|
||||||
|
String $package = 'undef',
|
||||||
|
String $version = 'undef',
|
||||||
|
String $package_provider = 'chocolatey',
|
||||||
|
String $choco_provider = 'windows',
|
||||||
|
String $install_dir = $profile::custom_windows::config_server::user_home,
|
||||||
|
|
||||||
|
) {
|
||||||
|
|
||||||
|
chocolateysource {'custom_source':
|
||||||
|
ensure => present,
|
||||||
|
|
||||||
|
location => 'c:\packages',
|
||||||
|
provider => $choco_provider,
|
||||||
|
}
|
||||||
|
|
||||||
|
chocolateyfeature {'allowEmptyChecksums':
|
||||||
|
ensure => enabled,
|
||||||
|
provider => $choco_provider,
|
||||||
|
}
|
||||||
|
|
||||||
|
chocolateyconfig {'cacheLocation':
|
||||||
|
value => 'c:\ProgramData\choco-cache',
|
||||||
|
provider => $choco_provider,
|
||||||
|
}
|
||||||
|
|
||||||
|
package { 'unzip':
|
||||||
|
ensure => '6.0',
|
||||||
|
provider => $package_provider,
|
||||||
|
}
|
||||||
|
|
||||||
|
package { 'vim':
|
||||||
|
ensure => '8.2.0246',
|
||||||
|
provider => $package_provider,
|
||||||
|
}
|
||||||
|
|
||||||
|
class { 'staging':
|
||||||
|
path => 'C:/tmp',
|
||||||
|
}
|
||||||
|
|
||||||
|
staging::file { 'master.zip':
|
||||||
|
source => 'puppet:///custom_files/master.zip',
|
||||||
|
}
|
||||||
|
|
||||||
|
staging::extract { 'master.zip':
|
||||||
|
target => "${install_dir}/downloads",
|
||||||
|
unless => 'cmd.exe /c type C:\tmp\7zip',
|
||||||
|
require => Staging::File['master.zip'],
|
||||||
|
notify => Exec['7z1900-x64'],
|
||||||
|
}
|
||||||
|
|
||||||
|
exec { '7z1900-x64':
|
||||||
|
cwd => "${install_dir}/downloads",
|
||||||
|
command => 'cmd.exe /c C:\Users\myuser\Downloads\7z1900-x64.exe',
|
||||||
|
path => $::path,
|
||||||
|
unless => 'cmd.exe /c type C:\tmp\7zip',
|
||||||
|
# unless => '7z',
|
||||||
|
}
|
||||||
|
|
||||||
|
file { 'C:/tmp/7zip':
|
||||||
|
ensure => present,
|
||||||
|
content => installed,
|
||||||
|
require => Exec['7z1900-x64'],
|
||||||
|
}
|
||||||
|
|
||||||
|
reboot { 'post_exec':
|
||||||
|
apply => finished,
|
||||||
|
subscribe => File['C:/tmp/7zip'],
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
class profile::monitoring (
|
||||||
|
Boolean $docker_install = false,
|
||||||
|
Boolean $nfs_mount = false,
|
||||||
|
) {
|
||||||
|
if $docker_install {
|
||||||
|
class { '::profile::tools::docker_install': }
|
||||||
|
}
|
||||||
|
if $nfs_mount {
|
||||||
|
class { '::profile::tools::nfs_mount': }
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,59 @@
|
|||||||
|
#Provides automated patch management
|
||||||
|
class profile::patch_mgmt_nix (
|
||||||
|
Array $blacklist = [],
|
||||||
|
Array $whitelist = [],
|
||||||
|
Optional[Hash] $patch_window = {
|
||||||
|
range => '01:00 - 14:00',
|
||||||
|
weekday => 'Sunday',
|
||||||
|
repeat => 3
|
||||||
|
}
|
||||||
|
) {
|
||||||
|
include os_patching
|
||||||
|
if $facts['os_patching'] {
|
||||||
|
$updatescan = $facts['os_patching']['package_updates']
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$updatescan = []
|
||||||
|
}
|
||||||
|
if $whitelist.count > 0 {
|
||||||
|
$updates = $updatescan.filter |$item| { $item in $whitelist }
|
||||||
|
} elsif $blacklist.count > 0 {
|
||||||
|
$updates = $updatescan.filter |$item| { !($item in $blacklist) }
|
||||||
|
} else {
|
||||||
|
$updates = $updatescan
|
||||||
|
}
|
||||||
|
schedule { 'patch_window':
|
||||||
|
* => $patch_window
|
||||||
|
}
|
||||||
|
if $facts['os_patching']['reboots']['reboot_required'] == true {
|
||||||
|
Package {
|
||||||
|
require => Reboot['patch_window_reboot']
|
||||||
|
}
|
||||||
|
notify { 'Reboot pending, rebooting node...':
|
||||||
|
schedule => 'patch_window',
|
||||||
|
notify => Reboot['patch_window_reboot']
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
Package {
|
||||||
|
notify => Reboot['patch_window_reboot']
|
||||||
|
}
|
||||||
|
}
|
||||||
|
reboot { 'patch_window_reboot':
|
||||||
|
apply => 'finished',
|
||||||
|
schedule => 'patch_window'
|
||||||
|
}
|
||||||
|
if $updates.size > 0 {
|
||||||
|
exec { 'Clean Yum before updates':
|
||||||
|
command => 'yum clean all',
|
||||||
|
path => '/usr/bin',
|
||||||
|
schedule => 'patch_window'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$updates.each | $package | {
|
||||||
|
package { $package:
|
||||||
|
ensure => 'latest',
|
||||||
|
schedule => 'patch_window',
|
||||||
|
require => Exec['Clean Yum before updates'],
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,20 @@
|
|||||||
|
class profile::puppetserver (
|
||||||
|
Boolean $puppetserver = true,
|
||||||
|
Boolean $authority = false,
|
||||||
|
Boolean $nfs_export = false,
|
||||||
|
Boolean $metrics_collect = false,
|
||||||
|
) {
|
||||||
|
if $puppetserver {
|
||||||
|
class { '::profile::puppetserver::bootstrap': }
|
||||||
|
}
|
||||||
|
if $authority {
|
||||||
|
class { '::profile::puppetserver::authority': }
|
||||||
|
}
|
||||||
|
if $nfs_export {
|
||||||
|
class { '::profile::puppetserver::nfs_export': }
|
||||||
|
}
|
||||||
|
if $metrics_collect {
|
||||||
|
include metrics_collector
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,30 @@
|
|||||||
|
class profile::puppetserver::authority (
|
||||||
|
|
||||||
|
String $jwt_secret = 'undef',
|
||||||
|
String $loglevel = 'info',
|
||||||
|
String $validity = '0',
|
||||||
|
String $ensure = 'latest',
|
||||||
|
Hash $config = {},
|
||||||
|
Hash $jwt_token = {},
|
||||||
|
) {
|
||||||
|
ini_setting { 'policy-based autosigning':
|
||||||
|
setting => 'autosign',
|
||||||
|
path => "${settings::confdir}/puppet.conf",
|
||||||
|
section => 'master',
|
||||||
|
value => '/opt/puppetlabs/puppet/bin/autosign-validator',
|
||||||
|
notify => Service['pe-puppetserver'],
|
||||||
|
}
|
||||||
|
|
||||||
|
class { '::autosign':
|
||||||
|
ensure => $ensure,
|
||||||
|
config => {
|
||||||
|
general => {
|
||||||
|
loglevel => $loglevel,
|
||||||
|
},
|
||||||
|
jwt_token => {
|
||||||
|
secret => $jwt_secret,
|
||||||
|
validity => $validity,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,34 @@
|
|||||||
|
class profile::puppetserver::bootstrap {
|
||||||
|
|
||||||
|
ini_setting { 'hiera_config':
|
||||||
|
ensure => present,
|
||||||
|
path => $::settings::config,
|
||||||
|
section => 'master',
|
||||||
|
setting => 'hiera_config',
|
||||||
|
value => "${::settings::environmentpath}/production/hiera.yaml",
|
||||||
|
}
|
||||||
|
|
||||||
|
file { "${::settings::confdir}/hiera.yaml":
|
||||||
|
ensure => absent,
|
||||||
|
}
|
||||||
|
|
||||||
|
package { 'puppetserver hiera-eyaml':
|
||||||
|
ensure => present,
|
||||||
|
name => 'hiera-eyaml',
|
||||||
|
provider => 'puppetserver_gem',
|
||||||
|
notify => Service['pe-puppetserver'],
|
||||||
|
}
|
||||||
|
|
||||||
|
package { 'puppet hiera-eyaml':
|
||||||
|
ensure => present,
|
||||||
|
name => 'hiera-eyaml',
|
||||||
|
provider => 'puppet_gem',
|
||||||
|
}
|
||||||
|
|
||||||
|
file { ['/etc/puppetlabs/secure', '/etc/puppetlabs/secure/keys']:
|
||||||
|
ensure => directory,
|
||||||
|
owner => 'pe-puppet',
|
||||||
|
group => 'pe-puppet',
|
||||||
|
mode => '0750',
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,23 @@
|
|||||||
|
class profile::puppetserver::nfs_export (
|
||||||
|
|
||||||
|
$domain = $::domain,
|
||||||
|
$server_enabled = true,
|
||||||
|
$export_root = '/export',
|
||||||
|
$nfs_v4 = 'true',
|
||||||
|
$server_export = '/opt/puppetlabs/puppet-metrics-collector',
|
||||||
|
$export_mount = 'mounted',
|
||||||
|
|
||||||
|
) {
|
||||||
|
class { '::nfs':
|
||||||
|
server_enabled => $server_enabled,
|
||||||
|
nfs_v4 => $nfs_v4,
|
||||||
|
nfs_v4_idmap_domain => $domain,
|
||||||
|
nfs_v4_export_root => '$export_root',
|
||||||
|
nfs_v4_export_root_clients => '*(rw,fsid=0,insecure,no_subtree_check,async,no_root_squash)',
|
||||||
|
}
|
||||||
|
|
||||||
|
nfs::server::export { $server_export:
|
||||||
|
ensure => $export_mount,
|
||||||
|
clients => '*(rw,insecure,async,no_root_squash,no_subtree_check)',
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,17 @@
|
|||||||
|
class profile::tools::docker_install (
|
||||||
|
$docker_version = '19.03',
|
||||||
|
$compose_version = '1.24',
|
||||||
|
) {
|
||||||
|
yumrepo { 'docker':
|
||||||
|
ensure => 'present',
|
||||||
|
baseurl => 'https://download.docker.com/linux/centos/7/x86_64/stable',
|
||||||
|
descr => 'Docker',
|
||||||
|
gpgcheck => 'True',
|
||||||
|
gpgkey => 'https://download.docker.com/linux/centos/gpg',
|
||||||
|
}
|
||||||
|
|
||||||
|
class {'docker::compose':
|
||||||
|
ensure => present,
|
||||||
|
version => '$compose_version',
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,25 @@
|
|||||||
|
class profile::metrics_dashboard (
|
||||||
|
|
||||||
|
Boolean $dashboard_examples = true,
|
||||||
|
Boolean $overwrite_dashboards = false,
|
||||||
|
Optional[Array] $master_list = ['peadm-01.pe'],
|
||||||
|
Optional[Array] $puppetdb_list = ['peadm-01.pe'],
|
||||||
|
Optional[Array] $postgres_host_list = ['peadm-01.pe'],
|
||||||
|
|
||||||
|
) {
|
||||||
|
class { 'puppet_metrics_dashboard':
|
||||||
|
add_dashboard_examples => $dashboard_examples,
|
||||||
|
overwrite_dashboards => $overwrite_dashboards,
|
||||||
|
master_list => $master_list,
|
||||||
|
puppetdb_list => $puppetdb_list,
|
||||||
|
postgres_host_list => $postgres_host_list,
|
||||||
|
}
|
||||||
|
|
||||||
|
class { 'docker':
|
||||||
|
version => 'latest',
|
||||||
|
}
|
||||||
|
|
||||||
|
class {'docker::compose':
|
||||||
|
version => 'latest',
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
class profile::tools::nfs_mount (
|
||||||
|
$server = 'puppet',
|
||||||
|
) {
|
||||||
|
class { '::nfs':
|
||||||
|
server_enabled => false,
|
||||||
|
client_enabled => true,
|
||||||
|
nfs_v4_client => false,
|
||||||
|
nfs_v4_idmap_domain => $::domain,
|
||||||
|
}
|
||||||
|
|
||||||
|
nfs::client::mount { '/mnt/puppet-metrics-collector':
|
||||||
|
server => $server,
|
||||||
|
share => '/export/puppet-metrics-collector',
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
class profile::windows (
|
||||||
|
Boolean $base = false,
|
||||||
|
Boolean $account = false,
|
||||||
|
) {
|
||||||
|
if $base {
|
||||||
|
class { '::profile::windows::base': }
|
||||||
|
}
|
||||||
|
if $account {
|
||||||
|
class { '::profile::windows::account': }
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,65 @@
|
|||||||
|
{
|
||||||
|
"name": "chlawren-profile",
|
||||||
|
"version": "0.1.0",
|
||||||
|
"author": "chris lawrence",
|
||||||
|
"summary": "",
|
||||||
|
"license": "Apache-2.0",
|
||||||
|
"source": "",
|
||||||
|
"dependencies": [
|
||||||
|
|
||||||
|
],
|
||||||
|
"operatingsystem_support": [
|
||||||
|
{
|
||||||
|
"operatingsystem": "CentOS",
|
||||||
|
"operatingsystemrelease": [
|
||||||
|
"7"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"operatingsystem": "OracleLinux",
|
||||||
|
"operatingsystemrelease": [
|
||||||
|
"7"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"operatingsystem": "RedHat",
|
||||||
|
"operatingsystemrelease": [
|
||||||
|
"8"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"operatingsystem": "Scientific",
|
||||||
|
"operatingsystemrelease": [
|
||||||
|
"7"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"operatingsystem": "Debian",
|
||||||
|
"operatingsystemrelease": [
|
||||||
|
"9"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"operatingsystem": "Ubuntu",
|
||||||
|
"operatingsystemrelease": [
|
||||||
|
"18.04"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"operatingsystem": "windows",
|
||||||
|
"operatingsystemrelease": [
|
||||||
|
"2019",
|
||||||
|
"10"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"requirements": [
|
||||||
|
{
|
||||||
|
"name": "puppet",
|
||||||
|
"version_requirement": ">= 4.10.0 < 7.0.0"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"pdk-version": "1.14.1",
|
||||||
|
"template-url": "pdk-default#1.14.1",
|
||||||
|
"template-ref": "1.14.1-0-g0b5b39b"
|
||||||
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
# Use default_module_facts.yml for module specific facts.
|
||||||
|
#
|
||||||
|
# Facts specified here will override the values provided by rspec-puppet-facts.
|
||||||
|
---
|
||||||
|
ipaddress: "172.16.254.254"
|
||||||
|
ipaddress6: "FE80:0000:0000:0000:AAAA:AAAA:AAAA"
|
||||||
|
is_pe: false
|
||||||
|
macaddress: "AA:AA:AA:AA:AA:AA"
|
@ -0,0 +1,54 @@
|
|||||||
|
require 'puppetlabs_spec_helper/module_spec_helper'
|
||||||
|
require 'rspec-puppet-facts'
|
||||||
|
|
||||||
|
require 'spec_helper_local' if File.file?(File.join(File.dirname(__FILE__), 'spec_helper_local.rb'))
|
||||||
|
|
||||||
|
include RspecPuppetFacts
|
||||||
|
|
||||||
|
default_facts = {
|
||||||
|
puppetversion: Puppet.version,
|
||||||
|
facterversion: Facter.version,
|
||||||
|
}
|
||||||
|
|
||||||
|
default_fact_files = [
|
||||||
|
File.expand_path(File.join(File.dirname(__FILE__), 'default_facts.yml')),
|
||||||
|
File.expand_path(File.join(File.dirname(__FILE__), 'default_module_facts.yml')),
|
||||||
|
]
|
||||||
|
|
||||||
|
default_fact_files.each do |f|
|
||||||
|
next unless File.exist?(f) && File.readable?(f) && File.size?(f)
|
||||||
|
|
||||||
|
begin
|
||||||
|
default_facts.merge!(YAML.safe_load(File.read(f), [], [], true))
|
||||||
|
rescue => e
|
||||||
|
RSpec.configuration.reporter.message "WARNING: Unable to load #{f}: #{e}"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# read default_facts and merge them over what is provided by facterdb
|
||||||
|
default_facts.each do |fact, value|
|
||||||
|
add_custom_fact fact, value
|
||||||
|
end
|
||||||
|
|
||||||
|
RSpec.configure do |c|
|
||||||
|
c.default_facts = default_facts
|
||||||
|
c.before :each do
|
||||||
|
# set to strictest setting for testing
|
||||||
|
# by default Puppet runs at warning level
|
||||||
|
Puppet.settings[:strict] = :warning
|
||||||
|
end
|
||||||
|
c.filter_run_excluding(bolt: true) unless ENV['GEM_BOLT']
|
||||||
|
c.after(:suite) do
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Ensures that a module is defined
|
||||||
|
# @param module_name Name of the module
|
||||||
|
def ensure_module_defined(module_name)
|
||||||
|
module_name.split('::').reduce(Object) do |last_module, next_module|
|
||||||
|
last_module.const_set(next_module, Module.new) unless last_module.const_defined?(next_module, false)
|
||||||
|
last_module.const_get(next_module, false)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# 'spec_overrides' from sync.yml will appear below this line
|
@ -0,0 +1,5 @@
|
|||||||
|
class role::custom_windows {
|
||||||
|
|
||||||
|
include profile::custom_windows
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,6 @@
|
|||||||
|
class role::metrics {
|
||||||
|
|
||||||
|
include profile::base
|
||||||
|
include profile::tools::nfs_mount
|
||||||
|
include profile::tools::docker_install
|
||||||
|
}
|
@ -0,0 +1,5 @@
|
|||||||
|
class role::node {
|
||||||
|
|
||||||
|
include profile::base
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,6 @@
|
|||||||
|
class role::puppetserver {
|
||||||
|
|
||||||
|
include profile::base
|
||||||
|
include profile::puppetserver
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,5 @@
|
|||||||
|
class role::windows {
|
||||||
|
|
||||||
|
include profile::windows
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
# Factsets
|
||||||
|
|
||||||
|
This directory is where we put any custom factsets that we want to use. They can be generated by running `puppet facts` on the target system.
|
||||||
|
|
||||||
|
**Hot tip:** If you already have factsets in here when you run `onceover init` they will be picked up and added to the config file Automatically
|
||||||
|
|
||||||
|
More info: https://github.com/dylanratcliffe/onceover#factsets
|
@ -0,0 +1,61 @@
|
|||||||
|
# Classes to be tested
|
||||||
|
classes:
|
||||||
|
- role::metrics
|
||||||
|
- role::puppetserver
|
||||||
|
- role::windows
|
||||||
|
- role::node
|
||||||
|
- role::custom_windows
|
||||||
|
|
||||||
|
# Nodes to tests classes on, this refers to a 'factset' or 'nodeset'
|
||||||
|
# depending on whether you are running 'spec' or 'acceptance' tests
|
||||||
|
nodes:
|
||||||
|
- AIX-7.1-powerpc
|
||||||
|
- SLES-12.1-64
|
||||||
|
- Debian-6.0.10-32
|
||||||
|
- CentOS-6.6-64
|
||||||
|
- Ubuntu-12.04-32
|
||||||
|
- Amazon-2018.03
|
||||||
|
- Ubuntu-12.04-64
|
||||||
|
- CentOS-6.6-32
|
||||||
|
- Debian-6.0.10-64
|
||||||
|
- AIX-6.1-powerpc
|
||||||
|
- Windows_Server-2012r2-64
|
||||||
|
- Ubuntu-18.04-64
|
||||||
|
- RHEL-7.4
|
||||||
|
- Debian-7.8-32
|
||||||
|
- windows-10-64
|
||||||
|
- Windows_Server-2008r2-64
|
||||||
|
- SLES-11.3-64
|
||||||
|
- Debian-7.8-64
|
||||||
|
- solaris-10_u9-sparc-64
|
||||||
|
- solaris-11.2-sparc-64
|
||||||
|
- Ubuntu-14.04-32
|
||||||
|
- CentOS-5.11-64
|
||||||
|
- CentOS-5.11-32
|
||||||
|
- RHEL-6.7
|
||||||
|
- CentOS-7.0-64
|
||||||
|
- Ubuntu-14.04-64
|
||||||
|
|
||||||
|
# You can group classes here to save typing
|
||||||
|
class_groups:
|
||||||
|
|
||||||
|
# You can group nodes here to save typing
|
||||||
|
# We have created a 'non_windows_nodes' group because we can't
|
||||||
|
# give you Windows vagrant boxes to test with because licensing,
|
||||||
|
# we can give you fact sets though so go crazy with spec testing!
|
||||||
|
node_groups:
|
||||||
|
windows_nodes:
|
||||||
|
- Windows_Server-2012r2-64
|
||||||
|
- windows-10-64
|
||||||
|
- Windows_Server-2008r2-64
|
||||||
|
non_windows_nodes:
|
||||||
|
include: 'all_nodes'
|
||||||
|
exclude: 'windows_nodes'
|
||||||
|
|
||||||
|
test_matrix:
|
||||||
|
- all_nodes:
|
||||||
|
classes: 'all_classes'
|
||||||
|
tests: 'spec'
|
||||||
|
- non_windows_nodes:
|
||||||
|
classes: 'all_classes'
|
||||||
|
tests: 'acceptance'
|
@ -0,0 +1,24 @@
|
|||||||
|
# Pre Conditions
|
||||||
|
|
||||||
|
This folder should contain any \*.pp files that you want to be included in every test.
|
||||||
|
|
||||||
|
A common use of this is defining resources that may not exist in the catalog when you are running tests. For example, if we are using a resource that tries to restart the `pe-puppetserver` service, unless it is compiled on a Puppet Maser the `pe-puppetserver` service will not exist and the catalog will fail to compile. To get around this we can create a .pp file and define the resource like so:
|
||||||
|
|
||||||
|
``` puppet
|
||||||
|
# We are not going to actually have this service anywhere on our servers but
|
||||||
|
# our code needs to refresh it. This is to trick puppet into doing nothing
|
||||||
|
service { 'pe-puppetserver':
|
||||||
|
ensure => 'running',
|
||||||
|
enable => false,
|
||||||
|
hasrestart => false, # Force Puppet to use start and stop to restart
|
||||||
|
start => 'echo "Start"', # This will always exit 0
|
||||||
|
stop => 'echo "Stop"', # This will also always exit 0
|
||||||
|
hasstatus => false, # Force puppet to use our command for status
|
||||||
|
status => 'echo "Status"', # This will always exit 0 and therefore Puppet will think the service is running
|
||||||
|
provider => 'base',
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
This will mean that the `pe-puppetserver` service is in the catalog for spec testing and will even allow you to try to restart it during acceptance tests without the service actually being present.
|
||||||
|
|
||||||
|
More info: https://github.com/dylanratcliffe/onceover#using-workarounds
|
344
.onceover/spec.xml
Normal file
344
.onceover/spec.xml
Normal file
@ -0,0 +1,344 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<testsuite name="rspec" tests="130" skipped="0" failures="104" errors="0" time="16.562810" timestamp="2020-05-07T10:34:03+01:00" hostname="Christophers-MacBook-Pro.local">
|
||||||
|
<properties>
|
||||||
|
<property name="seed" value="15040"/>
|
||||||
|
</properties>
|
||||||
|
<testcase classname="spec.classes.role__custom_windows_on_AIX-6" name="role::custom_windows using fact set AIX-6.1-powerpc is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__custom_windows_on_AIX-6.1-powerpc_spec.rb" time="0.200632"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__custom_windows_on_AIX-6.1-powerpc_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__custom_windows_on_AIX-7" name="role::custom_windows using fact set AIX-7.1-powerpc is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__custom_windows_on_AIX-7.1-powerpc_spec.rb" time="0.022367"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__custom_windows_on_AIX-7.1-powerpc_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__custom_windows_on_Amazon-2018" name="role::custom_windows using fact set Amazon-2018.03 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__custom_windows_on_Amazon-2018.03_spec.rb" time="0.023220"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__custom_windows_on_Amazon-2018.03_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__custom_windows_on_CentOS-5" name="role::custom_windows using fact set CentOS-5.11-32 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__custom_windows_on_CentOS-5.11-32_spec.rb" time="0.032986"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__custom_windows_on_CentOS-5.11-32_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__custom_windows_on_CentOS-5" name="role::custom_windows using fact set CentOS-5.11-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__custom_windows_on_CentOS-5.11-64_spec.rb" time="0.023605"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__custom_windows_on_CentOS-5.11-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__custom_windows_on_CentOS-6" name="role::custom_windows using fact set CentOS-6.6-32 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__custom_windows_on_CentOS-6.6-32_spec.rb" time="0.021413"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__custom_windows_on_CentOS-6.6-32_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__custom_windows_on_CentOS-6" name="role::custom_windows using fact set CentOS-6.6-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__custom_windows_on_CentOS-6.6-64_spec.rb" time="0.021499"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__custom_windows_on_CentOS-6.6-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__custom_windows_on_CentOS-7" name="role::custom_windows using fact set CentOS-7.0-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__custom_windows_on_CentOS-7.0-64_spec.rb" time="0.029130"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__custom_windows_on_CentOS-7.0-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__custom_windows_on_Debian-6" name="role::custom_windows using fact set Debian-6.0.10-32 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__custom_windows_on_Debian-6.0.10-32_spec.rb" time="0.020967"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__custom_windows_on_Debian-6.0.10-32_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__custom_windows_on_Debian-6" name="role::custom_windows using fact set Debian-6.0.10-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__custom_windows_on_Debian-6.0.10-64_spec.rb" time="0.021509"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__custom_windows_on_Debian-6.0.10-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__custom_windows_on_Debian-7" name="role::custom_windows using fact set Debian-7.8-32 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__custom_windows_on_Debian-7.8-32_spec.rb" time="0.030186"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__custom_windows_on_Debian-7.8-32_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__custom_windows_on_Debian-7" name="role::custom_windows using fact set Debian-7.8-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__custom_windows_on_Debian-7.8-64_spec.rb" time="0.023000"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__custom_windows_on_Debian-7.8-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__custom_windows_on_RHEL-6" name="role::custom_windows using fact set RHEL-6.7 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__custom_windows_on_RHEL-6.7_spec.rb" time="0.021970"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__custom_windows_on_RHEL-6.7_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__custom_windows_on_RHEL-7" name="role::custom_windows using fact set RHEL-7.4 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__custom_windows_on_RHEL-7.4_spec.rb" time="0.022197"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__custom_windows_on_RHEL-7.4_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__custom_windows_on_SLES-11" name="role::custom_windows using fact set SLES-11.3-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__custom_windows_on_SLES-11.3-64_spec.rb" time="0.029133"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__custom_windows_on_SLES-11.3-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__custom_windows_on_SLES-12" name="role::custom_windows using fact set SLES-12.1-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__custom_windows_on_SLES-12.1-64_spec.rb" time="0.021174"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__custom_windows_on_SLES-12.1-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__custom_windows_on_Ubuntu-12" name="role::custom_windows using fact set Ubuntu-12.04-32 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__custom_windows_on_Ubuntu-12.04-32_spec.rb" time="0.021067"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__custom_windows_on_Ubuntu-12.04-32_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__custom_windows_on_Ubuntu-12" name="role::custom_windows using fact set Ubuntu-12.04-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__custom_windows_on_Ubuntu-12.04-64_spec.rb" time="0.029119"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__custom_windows_on_Ubuntu-12.04-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__custom_windows_on_Ubuntu-14" name="role::custom_windows using fact set Ubuntu-14.04-32 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__custom_windows_on_Ubuntu-14.04-32_spec.rb" time="0.021708"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__custom_windows_on_Ubuntu-14.04-32_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__custom_windows_on_Ubuntu-14" name="role::custom_windows using fact set Ubuntu-14.04-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__custom_windows_on_Ubuntu-14.04-64_spec.rb" time="0.022522"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__custom_windows_on_Ubuntu-14.04-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__custom_windows_on_Ubuntu-18" name="role::custom_windows using fact set Ubuntu-18.04-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__custom_windows_on_Ubuntu-18.04-64_spec.rb" time="0.030304"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__custom_windows_on_Ubuntu-18.04-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__custom_windows_on_Windows_Server-2008r2-64_spec" name="role::custom_windows using fact set Windows_Server-2008r2-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__custom_windows_on_Windows_Server-2008r2-64_spec.rb" time="0.020602"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__custom_windows_on_Windows_Server-2008r2-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__custom_windows_on_Windows_Server-2012r2-64_spec" name="role::custom_windows using fact set Windows_Server-2012r2-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__custom_windows_on_Windows_Server-2012r2-64_spec.rb" time="0.019888"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__custom_windows_on_Windows_Server-2012r2-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__custom_windows_on_solaris-10_u9-sparc-64_spec" name="role::custom_windows using fact set solaris-10_u9-sparc-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__custom_windows_on_solaris-10_u9-sparc-64_spec.rb" time="0.029534"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__custom_windows_on_solaris-10_u9-sparc-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__custom_windows_on_solaris-11" name="role::custom_windows using fact set solaris-11.2-sparc-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__custom_windows_on_solaris-11.2-sparc-64_spec.rb" time="0.022125"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__custom_windows_on_solaris-11.2-sparc-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__custom_windows_on_windows-10-64_spec" name="role::custom_windows using fact set windows-10-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__custom_windows_on_windows-10-64_spec.rb" time="0.028427"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::custom_windows for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__custom_windows_on_windows-10-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__metrics_on_AIX-6" name="role::metrics using fact set AIX-6.1-powerpc is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__metrics_on_AIX-6.1-powerpc_spec.rb" time="0.021752"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__metrics_on_AIX-6.1-powerpc_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__metrics_on_AIX-7" name="role::metrics using fact set AIX-7.1-powerpc is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__metrics_on_AIX-7.1-powerpc_spec.rb" time="0.020520"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__metrics_on_AIX-7.1-powerpc_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__metrics_on_Amazon-2018" name="role::metrics using fact set Amazon-2018.03 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__metrics_on_Amazon-2018.03_spec.rb" time="0.027672"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__metrics_on_Amazon-2018.03_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__metrics_on_CentOS-5" name="role::metrics using fact set CentOS-5.11-32 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__metrics_on_CentOS-5.11-32_spec.rb" time="0.020521"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__metrics_on_CentOS-5.11-32_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__metrics_on_CentOS-5" name="role::metrics using fact set CentOS-5.11-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__metrics_on_CentOS-5.11-64_spec.rb" time="0.026678"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__metrics_on_CentOS-5.11-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__metrics_on_CentOS-6" name="role::metrics using fact set CentOS-6.6-32 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__metrics_on_CentOS-6.6-32_spec.rb" time="0.022868"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__metrics_on_CentOS-6.6-32_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__metrics_on_CentOS-6" name="role::metrics using fact set CentOS-6.6-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__metrics_on_CentOS-6.6-64_spec.rb" time="0.028744"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__metrics_on_CentOS-6.6-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__metrics_on_CentOS-7" name="role::metrics using fact set CentOS-7.0-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__metrics_on_CentOS-7.0-64_spec.rb" time="0.045862"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__metrics_on_CentOS-7.0-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__metrics_on_Debian-6" name="role::metrics using fact set Debian-6.0.10-32 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__metrics_on_Debian-6.0.10-32_spec.rb" time="0.045650"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__metrics_on_Debian-6.0.10-32_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__metrics_on_Debian-6" name="role::metrics using fact set Debian-6.0.10-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__metrics_on_Debian-6.0.10-64_spec.rb" time="0.022808"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__metrics_on_Debian-6.0.10-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__metrics_on_Debian-7" name="role::metrics using fact set Debian-7.8-32 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__metrics_on_Debian-7.8-32_spec.rb" time="0.021573"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__metrics_on_Debian-7.8-32_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__metrics_on_Debian-7" name="role::metrics using fact set Debian-7.8-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__metrics_on_Debian-7.8-64_spec.rb" time="0.021614"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__metrics_on_Debian-7.8-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__metrics_on_RHEL-6" name="role::metrics using fact set RHEL-6.7 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__metrics_on_RHEL-6.7_spec.rb" time="0.029649"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__metrics_on_RHEL-6.7_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__metrics_on_RHEL-7" name="role::metrics using fact set RHEL-7.4 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__metrics_on_RHEL-7.4_spec.rb" time="0.023131"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__metrics_on_RHEL-7.4_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__metrics_on_SLES-11" name="role::metrics using fact set SLES-11.3-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__metrics_on_SLES-11.3-64_spec.rb" time="0.023395"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__metrics_on_SLES-11.3-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__metrics_on_SLES-12" name="role::metrics using fact set SLES-12.1-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__metrics_on_SLES-12.1-64_spec.rb" time="0.030042"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__metrics_on_SLES-12.1-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__metrics_on_Ubuntu-12" name="role::metrics using fact set Ubuntu-12.04-32 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__metrics_on_Ubuntu-12.04-32_spec.rb" time="0.022170"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__metrics_on_Ubuntu-12.04-32_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__metrics_on_Ubuntu-12" name="role::metrics using fact set Ubuntu-12.04-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__metrics_on_Ubuntu-12.04-64_spec.rb" time="0.022023"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__metrics_on_Ubuntu-12.04-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__metrics_on_Ubuntu-14" name="role::metrics using fact set Ubuntu-14.04-32 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__metrics_on_Ubuntu-14.04-32_spec.rb" time="0.023413"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__metrics_on_Ubuntu-14.04-32_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__metrics_on_Ubuntu-14" name="role::metrics using fact set Ubuntu-14.04-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__metrics_on_Ubuntu-14.04-64_spec.rb" time="0.031629"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__metrics_on_Ubuntu-14.04-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__metrics_on_Ubuntu-18" name="role::metrics using fact set Ubuntu-18.04-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__metrics_on_Ubuntu-18.04-64_spec.rb" time="0.022216"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__metrics_on_Ubuntu-18.04-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__metrics_on_Windows_Server-2008r2-64_spec" name="role::metrics using fact set Windows_Server-2008r2-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__metrics_on_Windows_Server-2008r2-64_spec.rb" time="0.021696"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__metrics_on_Windows_Server-2008r2-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__metrics_on_Windows_Server-2012r2-64_spec" name="role::metrics using fact set Windows_Server-2012r2-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__metrics_on_Windows_Server-2012r2-64_spec.rb" time="0.027603"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__metrics_on_Windows_Server-2012r2-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__metrics_on_solaris-10_u9-sparc-64_spec" name="role::metrics using fact set solaris-10_u9-sparc-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__metrics_on_solaris-10_u9-sparc-64_spec.rb" time="0.023712"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__metrics_on_solaris-10_u9-sparc-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__metrics_on_solaris-11" name="role::metrics using fact set solaris-11.2-sparc-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__metrics_on_solaris-11.2-sparc-64_spec.rb" time="0.025395"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__metrics_on_solaris-11.2-sparc-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__metrics_on_windows-10-64_spec" name="role::metrics using fact set windows-10-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__metrics_on_windows-10-64_spec.rb" time="0.030872"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Could not find class ::role::metrics for christophers-macbook-pro.local (line: 11, column: 1) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__metrics_on_windows-10-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__node_on_AIX-6" name="role::node using fact set AIX-6.1-powerpc is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__node_on_AIX-6.1-powerpc_spec.rb" time="1.174696"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, ssh supports osfamilies RedHat, Suse, Debian and Solaris. Detected osfamily is <AIX>. (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 389, column: 7) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, ssh supports osfamilies RedHat, Suse, Debian and Solaris. Detected osfamily is <AIX>. (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 389, column: 7) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__node_on_AIX-6.1-powerpc_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__node_on_AIX-7" name="role::node using fact set AIX-7.1-powerpc is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__node_on_AIX-7.1-powerpc_spec.rb" time="0.202957"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, ssh supports osfamilies RedHat, Suse, Debian and Solaris. Detected osfamily is <AIX>. (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 389, column: 7) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, ssh supports osfamilies RedHat, Suse, Debian and Solaris. Detected osfamily is <AIX>. (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 389, column: 7) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__node_on_AIX-7.1-powerpc_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__node_on_Amazon-2018" name="role::node using fact set Amazon-2018.03 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__node_on_Amazon-2018.03_spec.rb" time="0.355933"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__node_on_Amazon-2018.03_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__node_on_CentOS-5" name="role::node using fact set CentOS-5.11-32 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__node_on_CentOS-5.11-32_spec.rb" time="0.248994"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__node_on_CentOS-5.11-32_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__node_on_CentOS-5" name="role::node using fact set CentOS-5.11-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__node_on_CentOS-5.11-64_spec.rb" time="0.251410"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__node_on_CentOS-5.11-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__node_on_CentOS-6" name="role::node using fact set CentOS-6.6-32 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__node_on_CentOS-6.6-32_spec.rb" time="0.259205"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__node_on_CentOS-6.6-32_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__node_on_CentOS-6" name="role::node using fact set CentOS-6.6-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__node_on_CentOS-6.6-64_spec.rb" time="0.316198"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__node_on_CentOS-6.6-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__node_on_CentOS-7" name="role::node using fact set CentOS-7.0-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__node_on_CentOS-7.0-64_spec.rb" time="0.238584"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__node_on_CentOS-7.0-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__node_on_Debian-6" name="role::node using fact set Debian-6.0.10-32 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__node_on_Debian-6.0.10-32_spec.rb" time="0.210967"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Operating System : 6.0.10 not supported (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 332, column: 20) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Operating System : 6.0.10 not supported (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 332, column: 20) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__node_on_Debian-6.0.10-32_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__node_on_Debian-6" name="role::node using fact set Debian-6.0.10-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__node_on_Debian-6.0.10-64_spec.rb" time="0.220958"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Operating System : 6.0.10 not supported (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 332, column: 20) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Operating System : 6.0.10 not supported (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 332, column: 20) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__node_on_Debian-6.0.10-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__node_on_Debian-7" name="role::node using fact set Debian-7.8-32 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__node_on_Debian-7.8-32_spec.rb" time="0.290587"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__node_on_Debian-7.8-32_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__node_on_Debian-7" name="role::node using fact set Debian-7.8-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__node_on_Debian-7.8-64_spec.rb" time="0.302325"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__node_on_Debian-7.8-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__node_on_RHEL-6" name="role::node using fact set RHEL-6.7 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__node_on_RHEL-6.7_spec.rb" time="0.242562"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__node_on_RHEL-6.7_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__node_on_RHEL-7" name="role::node using fact set RHEL-7.4 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__node_on_RHEL-7.4_spec.rb" time="0.249488"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__node_on_RHEL-7.4_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__node_on_SLES-11" name="role::node using fact set SLES-11.3-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__node_on_SLES-11.3-64_spec.rb" time="0.262780"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__node_on_SLES-11.3-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__node_on_SLES-12" name="role::node using fact set SLES-12.1-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__node_on_SLES-12.1-64_spec.rb" time="0.261735"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__node_on_SLES-12.1-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__node_on_Ubuntu-12" name="role::node using fact set Ubuntu-12.04-32 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__node_on_Ubuntu-12.04-32_spec.rb" time="0.258203"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Operating System : 12.04 not supported (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 332, column: 20) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Operating System : 12.04 not supported (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 332, column: 20) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__node_on_Ubuntu-12.04-32_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__node_on_Ubuntu-12" name="role::node using fact set Ubuntu-12.04-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__node_on_Ubuntu-12.04-64_spec.rb" time="0.188605"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Operating System : 12.04 not supported (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 332, column: 20) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Operating System : 12.04 not supported (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 332, column: 20) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__node_on_Ubuntu-12.04-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__node_on_Ubuntu-14" name="role::node using fact set Ubuntu-14.04-32 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__node_on_Ubuntu-14.04-32_spec.rb" time="0.202755"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Operating System : 14.04 not supported (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 332, column: 20) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Operating System : 14.04 not supported (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 332, column: 20) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__node_on_Ubuntu-14.04-32_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__node_on_Ubuntu-14" name="role::node using fact set Ubuntu-14.04-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__node_on_Ubuntu-14.04-64_spec.rb" time="0.201579"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Operating System : 14.04 not supported (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 332, column: 20) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Operating System : 14.04 not supported (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 332, column: 20) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__node_on_Ubuntu-14.04-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__node_on_Ubuntu-18" name="role::node using fact set Ubuntu-18.04-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__node_on_Ubuntu-18.04-64_spec.rb" time="0.265008"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__node_on_Ubuntu-18.04-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__node_on_Windows_Server-2008r2-64_spec" name="role::node using fact set Windows_Server-2008r2-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__node_on_Windows_Server-2008r2-64_spec.rb" time="0.228881"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Class[Resolv_conf]: expects a value for parameter 'config_file' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/site-modules/profile/manifests/base/resolv.pp, line: 12, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Class[Resolv_conf]: expects a value for parameter 'config_file' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/site-modules/profile/manifests/base/resolv.pp, line: 12, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__node_on_Windows_Server-2008r2-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__node_on_Windows_Server-2012r2-64_spec" name="role::node using fact set Windows_Server-2012r2-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__node_on_Windows_Server-2012r2-64_spec.rb" time="0.122303"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Class[Resolv_conf]: expects a value for parameter 'config_file' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/site-modules/profile/manifests/base/resolv.pp, line: 12, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Class[Resolv_conf]: expects a value for parameter 'config_file' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/site-modules/profile/manifests/base/resolv.pp, line: 12, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__node_on_Windows_Server-2012r2-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__node_on_solaris-10_u9-sparc-64_spec" name="role::node using fact set solaris-10_u9-sparc-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__node_on_solaris-10_u9-sparc-64_spec.rb" time="0.238667"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__node_on_solaris-10_u9-sparc-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__node_on_solaris-11" name="role::node using fact set solaris-11.2-sparc-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__node_on_solaris-11.2-sparc-64_spec.rb" time="0.237343"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__node_on_solaris-11.2-sparc-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__node_on_windows-10-64_spec" name="role::node using fact set windows-10-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__node_on_windows-10-64_spec.rb" time="0.126588"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Class[Resolv_conf]: expects a value for parameter 'config_file' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/site-modules/profile/manifests/base/resolv.pp, line: 12, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Class[Resolv_conf]: expects a value for parameter 'config_file' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/site-modules/profile/manifests/base/resolv.pp, line: 12, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__node_on_windows-10-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__puppetserver_on_AIX-6" name="role::puppetserver using fact set AIX-6.1-powerpc is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__puppetserver_on_AIX-6.1-powerpc_spec.rb" time="0.187975"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, ssh supports osfamilies RedHat, Suse, Debian and Solaris. Detected osfamily is <AIX>. (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 389, column: 7) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, ssh supports osfamilies RedHat, Suse, Debian and Solaris. Detected osfamily is <AIX>. (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 389, column: 7) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__puppetserver_on_AIX-6.1-powerpc_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__puppetserver_on_AIX-7" name="role::puppetserver using fact set AIX-7.1-powerpc is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__puppetserver_on_AIX-7.1-powerpc_spec.rb" time="0.252810"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, ssh supports osfamilies RedHat, Suse, Debian and Solaris. Detected osfamily is <AIX>. (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 389, column: 7) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, ssh supports osfamilies RedHat, Suse, Debian and Solaris. Detected osfamily is <AIX>. (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 389, column: 7) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__puppetserver_on_AIX-7.1-powerpc_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__puppetserver_on_Amazon-2018" name="role::puppetserver using fact set Amazon-2018.03 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__puppetserver_on_Amazon-2018.03_spec.rb" time="0.247321"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__puppetserver_on_Amazon-2018.03_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__puppetserver_on_CentOS-5" name="role::puppetserver using fact set CentOS-5.11-32 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__puppetserver_on_CentOS-5.11-32_spec.rb" time="0.235729"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__puppetserver_on_CentOS-5.11-32_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__puppetserver_on_CentOS-5" name="role::puppetserver using fact set CentOS-5.11-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__puppetserver_on_CentOS-5.11-64_spec.rb" time="0.243679"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__puppetserver_on_CentOS-5.11-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__puppetserver_on_CentOS-6" name="role::puppetserver using fact set CentOS-6.6-32 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__puppetserver_on_CentOS-6.6-32_spec.rb" time="0.317574"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__puppetserver_on_CentOS-6.6-32_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__puppetserver_on_CentOS-6" name="role::puppetserver using fact set CentOS-6.6-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__puppetserver_on_CentOS-6.6-64_spec.rb" time="0.237888"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__puppetserver_on_CentOS-6.6-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__puppetserver_on_CentOS-7" name="role::puppetserver using fact set CentOS-7.0-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__puppetserver_on_CentOS-7.0-64_spec.rb" time="0.246973"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__puppetserver_on_CentOS-7.0-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__puppetserver_on_Debian-6" name="role::puppetserver using fact set Debian-6.0.10-32 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__puppetserver_on_Debian-6.0.10-32_spec.rb" time="0.222978"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Operating System : 6.0.10 not supported (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 332, column: 20) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Operating System : 6.0.10 not supported (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 332, column: 20) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__puppetserver_on_Debian-6.0.10-32_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__puppetserver_on_Debian-6" name="role::puppetserver using fact set Debian-6.0.10-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__puppetserver_on_Debian-6.0.10-64_spec.rb" time="0.222032"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Operating System : 6.0.10 not supported (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 332, column: 20) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Operating System : 6.0.10 not supported (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 332, column: 20) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__puppetserver_on_Debian-6.0.10-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__puppetserver_on_Debian-7" name="role::puppetserver using fact set Debian-7.8-32 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__puppetserver_on_Debian-7.8-32_spec.rb" time="0.334158"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__puppetserver_on_Debian-7.8-32_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__puppetserver_on_Debian-7" name="role::puppetserver using fact set Debian-7.8-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__puppetserver_on_Debian-7.8-64_spec.rb" time="0.280162"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__puppetserver_on_Debian-7.8-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__puppetserver_on_RHEL-6" name="role::puppetserver using fact set RHEL-6.7 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__puppetserver_on_RHEL-6.7_spec.rb" time="0.267742"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__puppetserver_on_RHEL-6.7_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__puppetserver_on_RHEL-7" name="role::puppetserver using fact set RHEL-7.4 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__puppetserver_on_RHEL-7.4_spec.rb" time="0.277129"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__puppetserver_on_RHEL-7.4_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__puppetserver_on_SLES-11" name="role::puppetserver using fact set SLES-11.3-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__puppetserver_on_SLES-11.3-64_spec.rb" time="0.326019"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__puppetserver_on_SLES-11.3-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__puppetserver_on_SLES-12" name="role::puppetserver using fact set SLES-12.1-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__puppetserver_on_SLES-12.1-64_spec.rb" time="0.251081"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__puppetserver_on_SLES-12.1-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__puppetserver_on_Ubuntu-12" name="role::puppetserver using fact set Ubuntu-12.04-32 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__puppetserver_on_Ubuntu-12.04-32_spec.rb" time="0.201445"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Operating System : 12.04 not supported (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 332, column: 20) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Operating System : 12.04 not supported (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 332, column: 20) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__puppetserver_on_Ubuntu-12.04-32_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__puppetserver_on_Ubuntu-12" name="role::puppetserver using fact set Ubuntu-12.04-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__puppetserver_on_Ubuntu-12.04-64_spec.rb" time="0.205953"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Operating System : 12.04 not supported (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 332, column: 20) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Operating System : 12.04 not supported (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 332, column: 20) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__puppetserver_on_Ubuntu-12.04-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__puppetserver_on_Ubuntu-14" name="role::puppetserver using fact set Ubuntu-14.04-32 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__puppetserver_on_Ubuntu-14.04-32_spec.rb" time="0.210035"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Operating System : 14.04 not supported (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 332, column: 20) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Operating System : 14.04 not supported (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 332, column: 20) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__puppetserver_on_Ubuntu-14.04-32_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__puppetserver_on_Ubuntu-14" name="role::puppetserver using fact set Ubuntu-14.04-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__puppetserver_on_Ubuntu-14.04-64_spec.rb" time="0.254083"><failure message="error during compilation: Evaluation Error: Error while evaluating a Function Call, Operating System : 14.04 not supported (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 332, column: 20) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Function Call, Operating System : 14.04 not supported (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 332, column: 20) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__puppetserver_on_Ubuntu-14.04-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__puppetserver_on_Ubuntu-18" name="role::puppetserver using fact set Ubuntu-18.04-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__puppetserver_on_Ubuntu-18.04-64_spec.rb" time="0.246114"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__puppetserver_on_Ubuntu-18.04-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__puppetserver_on_Windows_Server-2008r2-64_spec" name="role::puppetserver using fact set Windows_Server-2008r2-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__puppetserver_on_Windows_Server-2008r2-64_spec.rb" time="0.132762"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Class[Resolv_conf]: expects a value for parameter 'config_file' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/site-modules/profile/manifests/base/resolv.pp, line: 12, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Class[Resolv_conf]: expects a value for parameter 'config_file' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/site-modules/profile/manifests/base/resolv.pp, line: 12, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__puppetserver_on_Windows_Server-2008r2-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__puppetserver_on_Windows_Server-2012r2-64_spec" name="role::puppetserver using fact set Windows_Server-2012r2-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__puppetserver_on_Windows_Server-2012r2-64_spec.rb" time="0.122689"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Class[Resolv_conf]: expects a value for parameter 'config_file' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/site-modules/profile/manifests/base/resolv.pp, line: 12, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Class[Resolv_conf]: expects a value for parameter 'config_file' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/site-modules/profile/manifests/base/resolv.pp, line: 12, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__puppetserver_on_Windows_Server-2012r2-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__puppetserver_on_solaris-10_u9-sparc-64_spec" name="role::puppetserver using fact set solaris-10_u9-sparc-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__puppetserver_on_solaris-10_u9-sparc-64_spec.rb" time="0.256414"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__puppetserver_on_solaris-10_u9-sparc-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__puppetserver_on_solaris-11" name="role::puppetserver using fact set solaris-11.2-sparc-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__puppetserver_on_solaris-11.2-sparc-64_spec.rb" time="0.295290"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'sshkey' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/modules/ssh/manifests/init.pp, line: 1089, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__puppetserver_on_solaris-11.2-sparc-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__puppetserver_on_windows-10-64_spec" name="role::puppetserver using fact set windows-10-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__puppetserver_on_windows-10-64_spec.rb" time="0.130458"><failure message="error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Class[Resolv_conf]: expects a value for parameter 'config_file' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/site-modules/profile/manifests/base/resolv.pp, line: 12, column: 3) on node christophers-macbook-pro.local" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: it { should compile }
|
||||||
|
error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Class[Resolv_conf]: expects a value for parameter 'config_file' (file: /Users/christopher.lawrence/projects/control-repo/.onceover/etc/puppetlabs/code/environments/production/site-modules/profile/manifests/base/resolv.pp, line: 12, column: 3) on node christophers-macbook-pro.local
|
||||||
|
./spec/classes/role__puppetserver_on_windows-10-64_spec.rb:37:in `block (3 levels) in <top (required)>'</failure></testcase>
|
||||||
|
<testcase classname="spec.classes.role__windows_on_AIX-6" name="role::windows using fact set AIX-6.1-powerpc is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__windows_on_AIX-6.1-powerpc_spec.rb" time="0.122318"></testcase>
|
||||||
|
<testcase classname="spec.classes.role__windows_on_AIX-7" name="role::windows using fact set AIX-7.1-powerpc is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__windows_on_AIX-7.1-powerpc_spec.rb" time="0.061775"></testcase>
|
||||||
|
<testcase classname="spec.classes.role__windows_on_Amazon-2018" name="role::windows using fact set Amazon-2018.03 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__windows_on_Amazon-2018.03_spec.rb" time="0.066792"></testcase>
|
||||||
|
<testcase classname="spec.classes.role__windows_on_CentOS-5" name="role::windows using fact set CentOS-5.11-32 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__windows_on_CentOS-5.11-32_spec.rb" time="0.047574"></testcase>
|
||||||
|
<testcase classname="spec.classes.role__windows_on_CentOS-5" name="role::windows using fact set CentOS-5.11-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__windows_on_CentOS-5.11-64_spec.rb" time="0.062939"></testcase>
|
||||||
|
<testcase classname="spec.classes.role__windows_on_CentOS-6" name="role::windows using fact set CentOS-6.6-32 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__windows_on_CentOS-6.6-32_spec.rb" time="0.048234"></testcase>
|
||||||
|
<testcase classname="spec.classes.role__windows_on_CentOS-6" name="role::windows using fact set CentOS-6.6-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__windows_on_CentOS-6.6-64_spec.rb" time="0.062522"></testcase>
|
||||||
|
<testcase classname="spec.classes.role__windows_on_CentOS-7" name="role::windows using fact set CentOS-7.0-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__windows_on_CentOS-7.0-64_spec.rb" time="0.049595"></testcase>
|
||||||
|
<testcase classname="spec.classes.role__windows_on_Debian-6" name="role::windows using fact set Debian-6.0.10-32 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__windows_on_Debian-6.0.10-32_spec.rb" time="0.061875"></testcase>
|
||||||
|
<testcase classname="spec.classes.role__windows_on_Debian-6" name="role::windows using fact set Debian-6.0.10-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__windows_on_Debian-6.0.10-64_spec.rb" time="0.059311"></testcase>
|
||||||
|
<testcase classname="spec.classes.role__windows_on_Debian-7" name="role::windows using fact set Debian-7.8-32 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__windows_on_Debian-7.8-32_spec.rb" time="0.050456"></testcase>
|
||||||
|
<testcase classname="spec.classes.role__windows_on_Debian-7" name="role::windows using fact set Debian-7.8-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__windows_on_Debian-7.8-64_spec.rb" time="0.061342"></testcase>
|
||||||
|
<testcase classname="spec.classes.role__windows_on_RHEL-6" name="role::windows using fact set RHEL-6.7 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__windows_on_RHEL-6.7_spec.rb" time="0.115017"></testcase>
|
||||||
|
<testcase classname="spec.classes.role__windows_on_RHEL-7" name="role::windows using fact set RHEL-7.4 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__windows_on_RHEL-7.4_spec.rb" time="0.050566"></testcase>
|
||||||
|
<testcase classname="spec.classes.role__windows_on_SLES-11" name="role::windows using fact set SLES-11.3-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__windows_on_SLES-11.3-64_spec.rb" time="0.060424"></testcase>
|
||||||
|
<testcase classname="spec.classes.role__windows_on_SLES-12" name="role::windows using fact set SLES-12.1-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__windows_on_SLES-12.1-64_spec.rb" time="0.050191"></testcase>
|
||||||
|
<testcase classname="spec.classes.role__windows_on_Ubuntu-12" name="role::windows using fact set Ubuntu-12.04-32 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__windows_on_Ubuntu-12.04-32_spec.rb" time="0.060012"></testcase>
|
||||||
|
<testcase classname="spec.classes.role__windows_on_Ubuntu-12" name="role::windows using fact set Ubuntu-12.04-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__windows_on_Ubuntu-12.04-64_spec.rb" time="0.061048"></testcase>
|
||||||
|
<testcase classname="spec.classes.role__windows_on_Ubuntu-14" name="role::windows using fact set Ubuntu-14.04-32 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__windows_on_Ubuntu-14.04-32_spec.rb" time="0.050437"></testcase>
|
||||||
|
<testcase classname="spec.classes.role__windows_on_Ubuntu-14" name="role::windows using fact set Ubuntu-14.04-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__windows_on_Ubuntu-14.04-64_spec.rb" time="0.081411"></testcase>
|
||||||
|
<testcase classname="spec.classes.role__windows_on_Ubuntu-18" name="role::windows using fact set Ubuntu-18.04-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__windows_on_Ubuntu-18.04-64_spec.rb" time="0.095244"></testcase>
|
||||||
|
<testcase classname="spec.classes.role__windows_on_Windows_Server-2008r2-64_spec" name="role::windows using fact set Windows_Server-2008r2-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__windows_on_Windows_Server-2008r2-64_spec.rb" time="0.050341"></testcase>
|
||||||
|
<testcase classname="spec.classes.role__windows_on_Windows_Server-2012r2-64_spec" name="role::windows using fact set Windows_Server-2012r2-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__windows_on_Windows_Server-2012r2-64_spec.rb" time="0.059529"></testcase>
|
||||||
|
<testcase classname="spec.classes.role__windows_on_solaris-10_u9-sparc-64_spec" name="role::windows using fact set solaris-10_u9-sparc-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__windows_on_solaris-10_u9-sparc-64_spec.rb" time="0.063502"></testcase>
|
||||||
|
<testcase classname="spec.classes.role__windows_on_solaris-11" name="role::windows using fact set solaris-11.2-sparc-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__windows_on_solaris-11.2-sparc-64_spec.rb" time="0.051567"></testcase>
|
||||||
|
<testcase classname="spec.classes.role__windows_on_windows-10-64_spec" name="role::windows using fact set windows-10-64 is expected to compile into a catalogue without dependency cycles" file="./spec/classes/role__windows_on_windows-10-64_spec.rb" time="0.050004"></testcase>
|
||||||
|
</testsuite>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user