Skip to content

Instantly share code, notes, and snippets.

View walterheck's full-sized avatar

Walter Heck walterheck

View GitHub Profile
[Wed Jul 31 13:39:19 2013] [notice] caught SIGTERM, shutting down
[ 2013-07-31 13:39:19.7555 11667/7f718959b720 agents/Watchdog/Main.cpp:440 ]: Options: { 'analytics_log_user' => 'nobody', 'default_group' => 'nobody', 'default_python' => 'python', 'default_ruby' => 'ruby', 'default_user' => 'nobody', 'log_level' => '0', 'max_instances_per_app' => '0', 'max_pool_size' => '6', 'passenger_root' => '/usr/lib/ruby/gems/1.8/gems/passenger-4.0.5', 'pool_idle_time' => '300', 'temp_dir' => '/tmp', 'union_station_gateway_address' => 'gateway.unionstationapp.com', 'union_station_gateway_port' => '443', 'user_switching' => 'true', 'web_server_pid' => '11666', 'web_server_type' => 'apache', 'web_server_worker_gid' => '48', 'web_server_worker_uid' => '48' }
[ 2013-07-31 13:39:19.7595 11670/7f8e72dde720 agents/HelperAgent/Main.cpp:555 ]: PassengerHelperAgent online, listening at unix:/tmp/passenger.1.0.11666/generation-0/request
[ 2013-07-31 13:39:19.7626 11676/7fe21302e7e0 agents/LoggingAgent/Main.cpp:271 ]: PassengerLoggi
Sep 3 12:13:00 vagrant-debian-squeeze mysqld_safe: Starting mysqld daemon with databases from /var/lib/mysql
Sep 3 12:13:00 vagrant-debian-squeeze mysqld_safe: WSREP: Running position recovery with --log_error=/tmp/tmp.Sm9NLXSZDi --pid-file=/var/lib/mysql/vagrant-debian-squeeze-recover.pid
Sep 3 12:13:02 vagrant-debian-squeeze mysqld_safe: WSREP: Recovered position 00000000-0000-0000-0000-000000000000:-1
Sep 3 12:13:02 vagrant-debian-squeeze mysqld: 130903 12:13:02 [Note] WSREP: wsrep_start_position var submitted: '00000000-0000-0000-0000-000000000000:-1'
Sep 3 12:13:02 vagrant-debian-squeeze mysqld: 130903 12:13:02 [Note] WSREP: Read nil XID from storage engines, skipping position init
Sep 3 12:13:02 vagrant-debian-squeeze mysqld: 130903 12:13:02 [Note] WSREP: wsrep_load(): loading provider library '/usr/lib64/galera/libgalera_smm.so'
Sep 3 12:13:02 vagrant-debian-squeeze mysqld: 130903 12:13:02 [Note] WSREP: wsrep_load(): Galera 23.2.6-squeeze(r) by Codership Oy <info@
2014-02-25 08:41:10 11842 [Note] Slave: received end packet from server, apparent master shutdown:
2014-02-25 08:41:10 11842 [Note] Slave I/O thread: Failed reading log event, reconnecting to retry, log 'mysql-bin.009379' at position 61227697
2014-02-25 08:41:10 11842 [Warning] Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
2014-02-25 08:41:10 11842 [Note] Slave: received end packet from server, apparent master shutdown:
2014-02-25 08:41:10 11842 [Note] Slave I/O thread: Failed reading log event, reconnecting to retry, log 'mysql-bin.009379' at position 61227697
2014-02-25 08:41:10 11842 [Warning] Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options
[root@master puppet]# yum install foreman-postgresql
Loaded plugins: fastestmirror, security
Repository 'foreman-source' is missing name in configuration, using id
Repository 'foreman' is missing name in configuration, using id
Loading mirror speeds from cached hostfile
* base: centos.hostingxtreme.com
* extras: centos.corenetworks.net
* updates: mirror.team-cymru.org
Setting up Install Process
Resolving Dependencies
var getNodesAll = function(a, b, c, d) {
url = getURI(a, b, c, d);
rest.get(url + 'nodes').on('complete', function(result) {
if (result instanceof Error) {
console.log('Error:', result.message);
} else {
console.log(result);
}
[root@server01 puppet]# hiera -c hiera.yaml -d apache::package
DEBUG: Mon Jul 21 11:07:17 -0700 2014: Hiera YAML backend starting
DEBUG: Mon Jul 21 11:07:17 -0700 2014: Looking up apache::package in YAML backend
DEBUG: Mon Jul 21 11:07:17 -0700 2014: Looking for data source nonexistenttestlevel
DEBUG: Mon Jul 21 11:07:17 -0700 2014: Cannot find datafile /etc/puppet/hieradata/nonexistenttestlevel.yaml, skipping
DEBUG: Mon Jul 21 11:07:17 -0700 2014: Looking for data source common
nil
[root@server01 puppet]# cat hiera.yaml
---
:merge_behavior: deeper
[root@puppet ~]# puppet agent -t
Warning: Setting modulepath is deprecated in puppet.conf. See http://links.puppetlabs.com/env-settings-deprecations
(at /usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:1095:in `issue_deprecations')
Warning: Setting manifest is deprecated in puppet.conf. See http://links.puppetlabs.com/env-settings-deprecations
(at /usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:1095:in `issue_deprecations')
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
[root@puppet puppet]# ruby -v
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
[root@puppet puppet]# gem list json
*** LOCAL GEMS ***
json (1.5.5)
[root@puppet puppet]# ruby /usr/lib/ruby/site_ruby/1.8/puppet/reports/foreman.rb
/usr/lib/ruby/site_ruby/1.8/puppet/module.rb:3:in `require': no such file to load -- json (LoadError)
from /usr/lib/ruby/site_ruby/1.8/puppet/module.rb:3
[root@ip-172-30-0-156 modules]# tree
.
└── walter
└── lib
└── facter
└── walter.rb
3 directories, 1 file
[root@ip-172-30-0-156 modules]# pwd
/etc/puppetlabs/puppet/environments/production/modules
[root@foreman ~]# yum -y install foreman-installer
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.sitbv.nl
* extras: centos.mirror.transip.nl
* updates: mirror.sitbv.nl
Resolving Dependencies
--> Running transaction check
---> Package foreman-installer.noarch 1:1.7.4-1.el7 will be installed
--> Processing Dependency: rubygem-kafo >= 0.6.5 for package: 1:foreman-installer-1.7.4-1.el7.noarch