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
#VAGRANT-BEGIN | |
# The contents below are automatically generated by Vagrant. | |
# Please do not modify any of these contents. | |
BOOTPROTO=static | |
DHCPCLASS= | |
IPADDR= | |
NETMASK= | |
DEVICE=eth1 | |
#VAGRANT-END |
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
puppet node_fusion bootstrap \ | |
--installer-answers /Users/ody/answers/agent.answers \ | |
--installer-payload /Users/ody/Sites/enterprise/release/2.0.0/puppet-enterprise-2.0.0-debian-6-i386.tar.gz \ | |
--install-script puppet-enterprise \ | |
--login root \ | |
--keyfile agent \ | |
--puppetagent-certname my-agent-vm.vm.vmware \ | |
--enc-server super-master.vm.vmware \ | |
--enc-port 443 \ | |
--enc-ssl \ |
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
RUBYLIB=$HOME/src/fission/lib:$HOME/src/fog/lib:$HOME/src/modules/puppetlabs-cloud-provisioner/lib:$HOME/src/modules/puppetlabs-cloud-provisioner-fusion/lib envpuppet puppet node_fusion bootstrap \ | |
--installer-answers /Users/ody/answers/agent.answers \ | |
--installer-payload /Users/ody/Sites/enterprise/release/2.0.0/puppet-enterprise-2.0.0-debian-6-i386.tar.gz \ | |
--install-script puppet-enterprise \ | |
--login root \ | |
--keyfile agent \ | |
--puppetagent-certname first.vm.vmware \ | |
--enc-server super-master.vm.vmware \ | |
--enc-port 443 \ | |
--enc-ssl \ |
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 pe_users { | |
user { 'pe-puppet': | |
ensure => present, | |
comment => 'Puppet configuration management daemon,,,', | |
gid => '460', | |
home => '/var/opt/lib/pe-puppet', | |
shell => '/bin/false', | |
uid => '103', | |
} |
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
Err Could not retrieve catalog; skipping run Puppet2012-02-01 22:04 UTC | |
Err Could not retrieve catalog from remote server: Error 400 on | |
SERVER: Error 400 on SERVER: Mysql::Error: Deadlock found when trying to | |
get lock; try restarting transaction: INSERT INTO `inventory_facts` | |
(`name`, `node_id`, `value`) VALUES('productname', 1610, 'VMware Virtual | |
Platform') Puppet2012-02-01 22:04 UTC |
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
lease 172.16.210.142 { | |
starts 1 2012/01/30 19:59:25; | |
ends 1 2012/01/30 20:10:27; | |
hardware ethernet 00:0c:29:1d:6f:c8; | |
} | |
lease 172.16.210.128 { | |
starts 1 2012/01/30 20:08:11; | |
ends 1 2012/01/30 20:38:11; | |
hardware ethernet 00:0c:29:dd:61:14; | |
} |
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
info: Loading downloaded plugin /var/opt/lib/pe-puppet/lib/facter/pkg.rb | |
Debian | |
nil | |
Could not retrieve operatingsystem: undefined method `each' for nil:NilClass | |
info: Loading facts in pkg | |
Linux | |
warning: Could not load fact file /etc/puppetlabs/puppet/modules/pkginventory/lib/facter/pkg.rb: undefined method `each' for nil:NilClass | |
info: Loading facts in facter_dot_d | |
info: Loading facts in pkg | |
Linux |
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
cron { 'puppet': | |
ensure => present, | |
command => 'puppet agent --onetime --splay 60 --no-daemonize', | |
minute => [ fqdn_rand(30), fqdn_rand(30) + 29 ], | |
} |
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
Add this to auth.conf (in my case I am setting up multiple activemq brokers.) This will make it so that a certificate with the name broker.example.com.internal-broker can be remotely signed by the puppet agent broker.example.com and only by broker.example.com. | |
path ~ ^/certificate_status/([^/]+)\.internal-broker$ | |
auth any | |
method destroy, save | |
allow $1 | |
Use something like this in your manifest. | |
exec { 'broker_cert_request': |