This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define reporting::exception::package ( | |
$package | |
){ | |
Exec { | |
user => 'peadmin', | |
path => ['./mcollective','/usr/local/bin','/usr/bin'], | |
} | |
exec {"mco-packages-${title}": |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# === Authors | |
# | |
# David Bryant-Moore <[email protected]> | |
# | |
# === Copyright | |
# | |
# Copyright 2015 Puppetlabs. | |
# | |
class ensuretlsv1 { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Solution Lab_PackageFileService manifest behaves like a solution manifest on first application should have empty stderr | |
Failure/Error: expect(r.stderr).to eq("") | |
expected: "" | |
got: "\e[1;31mWarning: The package type's allow_virtual parameter will be changing its default value from false to true in a future release. If you do not want to allow virtual packages, please explicitly set allow_virtual to false.\n (at /usr/lib/ruby/site_ruby/1.8/puppet/type/package.rb:430:in `default')\e[0m\n" | |
(compared using ==) | |
Diff: | |
@@ -1 +1,3 @@ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define apache::vhost ( | |
$port = '80', | |
$priority = '10', | |
$options = 'Indexes MultiViews', | |
$vhost_name = $title, | |
$servername = $title, | |
$docroot = "${apache::httpd_docroot}/${title}", | |
){ | |
$docowner = $apache::httpd_user |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########################################################################################################################### | |
# | |
# Purpose: beaker-rspec acceptance tests for Puppet Fundamentals lab "Apache Virtual Hosts" | |
# | |
# Usage: From the courseware directory: | |
# 1. 'bundle install' to install required gems | |
# 2. 'bundle exec rspec spec/acceptance/courses/fundamentals/Defined_Resources/Lab_ApacheVirtualHosts_spec.rb' to run the test | |
# | |
########################################################################################################################### |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
classroom::params | |
classroom | |
classroom::master | |
classroom::master::repositories | |
git | |
classroom::master::hiera | |
classroom::master::time | |
ntp::params | |
ntp | |
ntp::install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Servers.yaml | |
--- | |
:puppet: "master.breaktest.puppetlabs.vm" | |
# The resolvable name of the server to install the puppet CA service on. | |
:ca: "ca.breaktest.puppetlabs.vm" | |
# The resolvable name of server to install PuppetDB on. | |
:puppetdb: "db.breaktest.puppetlabs.vm" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# The resolvable name that agent systems will use as the puppet master. | |
# Literally, the configuration value of the `server` setting in the [agent] | |
# section of puppet.conf. Typically this will be a load-balanced DNS name. If | |
# only one puppet master is being deployed, it may be set to the resolvable | |
# name of the puppet master. | |
:puppet: "loadbalancer.puppetlabs.vm" | |
# The resolvable name of the server to install the puppet CA service on. | |
:ca: "ca.puppetlabs.vm" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X POST -H 'Content-Type: application/json' \ | |
-d '{ | |
"id": "ddab2071-26ea-4261-af09-7b6b97fa04d2", | |
"name": "qa_group", | |
"environment": "production", | |
"parent": "00000000-0000-4000-8000-000000000000", | |
"rule": [ | |
"~", | |
"name", | |
"agent1.puppetlabs\\.vm$" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@classifier vagrant]# rpm -qip pe-classifier-0.3.3-1.el6.noarch.rpm | |
Name : pe-classifier Relocations: (not relocatable) | |
Version : 0.3.3 Vendor: Puppet Labs | |
Release : 1.el6 Build Date: Fri May 16 16:08:31 2014 | |
Install Date: (not installed) Build Host: rpm-builder-4 | |
Group : System Environment/Daemons Source RPM: pe-classifier-0.3.3-1.el6.src.rpm | |
Size : 13696666 License: ASL 2.0 | |
Signature : (none) | |
URL : http://github.com/puppetlabs/ezbake | |
Summary : Puppet Labs - pe-classifier |
NewerOlder