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
| 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
| 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
| 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
| #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
| [root@puppetmaster01 ~]# | |
| [root@puppetmaster01 ~]# /opt/puppet/bin/irb | |
| irb(main):001:0> require 'puppet' | |
| => true | |
| irb(main):002:0> Process::UID.change_privilege(102) | |
| => 102 | |
| irb(main):003:0> require 'puppet/network/server' | |
| LoadError: no such file to load -- puppet/network/server | |
| from /opt/puppet/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' | |
| from /opt/puppet/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' |
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
| vhost { 'dashboard': ensure => present } | |
| Package['passenger'] -> Vhost['dashboard'] |
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
| vhost { 'dashboard': ensure => present } | |
| Package <| name == 'passenger' |> -> Vhost['dashboard'] |
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
| user { 'isbob': | |
| ensure => present, | |
| name => 'bob', | |
| } | |
| user { 'isntbob': | |
| ensure => absent, | |
| name => 'bob', | |
| } |