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
#!/bin/sh | |
chef %0 |
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@ip-10-33-141-171 logrotate.d]# logrotate -df /etc/logrotate.conf | |
reading config file /etc/logrotate.conf | |
including /etc/logrotate.d | |
reading config file dracut | |
reading config info for /var/log/dracut.log | |
reading config file puppet | |
reading config info for /var/log/puppet/*log | |
reading config file syslog | |
reading config info for /var/log/cron | |
/var/log/maillog |
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
UpdateCTestConfiguration from :/Users/robin/Workspace/cfacter/release/DartConfiguration.tcl | |
UpdateCTestConfiguration from :/Users/robin/Workspace/cfacter/release/DartConfiguration.tcl | |
Test project /Users/robin/Workspace/cfacter/release | |
Constructing a list of tests | |
Done constructing a list of tests | |
Checking test dependency graph... | |
Checking test dependency graph end | |
test 1 | |
Start 1: library tests |
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@node04 puppetboard]# curl -v 'https://puppetdb.ubnt.int.yo61.net:8081/v3/facts/node01.ubnt.int.yo61.net' --cacert /var/lib/puppet/ssl/certs/ca.pem --cert /var/lib/puppet/ssl/public_keys/node04.ubnt.int.yo61.net.pem --key /var/lib/puppet/ssl/private_keys/node04.ubnt.int.yo61.net.pem | |
* About to connect() to puppetdb.ubnt.int.yo61.net port 8081 (#0) | |
* Trying 192.168.51.11... connected | |
* Connected to puppetdb.ubnt.int.yo61.net (192.168.51.11) port 8081 (#0) | |
* Initializing NSS with certpath: sql:/etc/pki/nssdb | |
* CAfile: /var/lib/puppet/ssl/certs/ca.pem | |
CApath: none | |
* Unable to load client cert -8018. | |
* NSS error -8018 | |
* Closing connection #0 |
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
class profile_puppetboard{ | |
$puppetdb_host = hiera('puppetdb.certname') | |
$puppetdb_port = hiera('puppetdb.ssl_list_port', 8081) | |
$puppetdb_key = "/var/lib/puppet/ssl/private_keys/${::certname}/pem" | |
$puppetdb_ssl = 'True' | |
$puppetdb_cert = "/var/lib/puppet/ssl/public_keys/${::certname}/pem" | |
$vhost_name = hiera('puppetboard.certname') | |
$port = hiera('puppetboard.http_port', 80) |
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
class { '::postgresql::globals': | |
manage_package_repo => true, | |
version => '9.3', | |
encoding => 'UTF8', | |
}-> | |
class{'::postgresql::server': } |
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
--- | |
- name: install python postgresql library | |
yum: pkg=python-psycopg2 state=installed | |
- name: add puppetdb postgresql user | |
postgresql_user: name={{ puppetdb.postgres.user }} password={{ puppetdb.postgres.password }} role_attr_flags=NOCREATEDB,NOSUPERUSER,NOCREATEROLE | |
- name: add puppetdb postgresql database | |
postgresql_db: name={{ puppetdb.postgres.database }} encoding='UTF-8' owner={{ puppetdb.postgres.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
# general settings | |
daemonize = 1 | |
direct_addressing = 1 | |
# ActiveMQ connector settings | |
connector = activemq | |
plugin.activemq.pool.size = 1 | |
plugin.activemq.pool.1.host = 192.168.50.31 | |
plugin.activemq.pool.1.port = 61613 | |
plugin.activemq.pool.1.user = server |
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
<!-- | |
Licensed to the Apache Software Foundation (ASF) under one or more | |
contributor license agreements. See the NOTICE file distributed with | |
this work for additional information regarding copyright ownership. | |
The ASF licenses this file to You 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 | |
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@vagrant-centos65 ~]# curl -v -L https://raw.github.com/robinbowes/puppet-server-bootstrap/master/psb -o psb | |
* About to connect() to raw.github.com port 443 (#0) | |
* Trying 185.31.18.133... connected | |
* Connected to raw.github.com (185.31.18.133) port 443 (#0) | |
* Initializing NSS with certpath: sql:/etc/pki/nssdb | |
* CAfile: /etc/pki/tls/certs/ca-bundle.crt | |
CApath: none | |
* SSL connection using TLS_RSA_WITH_RC4_128_SHA | |
* Server certificate: | |
* subject: CN=www.github.com,O="Fastly, Inc.",L=San Francisco,ST=California,C=US |