Travel around the world

Adobe Creek Homeowners Association, water leak report 02/25/2024

Adobe Creek Homeowners Association - Community Management Services
278 Monroe Dr. Mountain View CA 94040

The story

On February 25, 2024, at 4 p.m., we observed water on the first floor of our property. The water came from our adjacent Unit #18. With the help of another neighbour from Unit #17, we shut off the main water valve for Unit #18 to stop the water flow. The Unit #18 was under remodeling at that time, and the valves were closed because of work on the water pipes inside the unit. Someone from HOA garden workers opened public valve for Unit #18 causing the flooding in the unit that spreaded to the adjacent units.
We received permission from the owner of the the Unit#18 to gain access inside. I shut off the electrical breakers.

Read more ...

How to Create and enforce Github branch protection rules for Organization. Best Practice

git branches

We are going to enforce the Git Best Practice branch's protection rules and recommendaions for GitHub Organization repositories.

Also we will automate a proces of adding and updating teams and branch protection rules to GitHub Organization repository.

There is the same way to apply branch protection and recommendaions to private (non-organization GitHub repositories but you need to modify the automation scipts). Also some options are not available for non-organization GitHub repositories.

 

 

 

 

Read more ...

Joshua Tree National park.

Национальный парк Joshua TreeAnd once again, we make our journrey with friends, to Joshua Tree National Park

We make our way down here every year, on the last weekend of May, so that we can experience the desert heat, rock climb on real rocks, take some time away from work, and spend our time with good people. On this trip, our whole family came, along with Boris, Natasha, Yulia, Victor Zybin, Kirk + Caren, Gina + Steven, Mónica + Nuno, Brian, Maya + Steve (this is so I don't forget). 
What is Joshua Tree National Park? This is a part of the top of the Mojave Desert - a plateau resting at 1200 meters above sea level, with the temperature lower by 5-10 C, than in the lower part of Mojave Desert. 

What is the Mojave Desert. It is a small desert in North America, where many Hollywood movies were filmed. So, if you see a Hollywood movie with a desert, moon, The Martian - then it was in the Mojave Desert, since Los Angeles and Hollywood are only a one hour drive away. Top Gun was also filmed here. 

Read more ...
Пошаговая становка и настройка Puppet на двух Ubuntu хостах.


MASTER

cd ~; wget https://apt.puppetlabs.com/puppetlabs-release-trusty.deb
sudo dpkg -i puppetlabs-release-trusty.deb
sudo apt-get update
sudo apt-get install puppetmaster-passenger
sudo service apache2 stop
sed -e '/templatedir/ s/^#*/#/' -i.back /etc/puppet/puppet.conf
puppet help | tail -n 1
sudo nano /etc/apt/preferences.d/00-puppet.pref

	# /etc/apt/preferences.d/00-puppet.pref
	Package: puppet puppet-common puppetmaster-passenger
	Pin: version 3.6*
	Pin-Priority: 501

sudo rm -rf /var/lib/puppet/ssl

sudo nano /etc/puppet/puppet.conf

	[main]
	logdir=/var/log/puppet
	vardir=/var/lib/puppet
	ssldir=/var/lib/puppet/ssl
	rundir=/var/run/puppet
	factpath=$vardir/lib/facter
	#templatedir=$confdir/templates
	certname = puppet
	# server.us-west-1.compute.amazonaws.com - FQDN name
dns_alt_names = puppet,server.us-west-1.compute.amazonaws.com
[master] # These are needed when the puppetmaster is run by passenger # and can safely be removed if webrick is used. ssl_client_header = SSL_CLIENT_S_DN ssl_client_verify_header = SSL_CLIENT_VERIFY sudo puppet master --verbose --no-daemonize sudo puppet cert list -all sudo cat /etc/puppet/puppet.conf sudo touch /etc/puppet/manifests/site.pp sudo service apache2 start AGENT cd ~; wget https://apt.puppetlabs.com/puppetlabs-release-trusty.deb sudo dpkg -i puppetlabs-release-trusty.deb sudo apt-get update sudo apt-get install puppet sudo nano /etc/default/puppet START=yes sudo nano /etc/apt/preferences.d/00-puppet.pref # /etc/apt/preferences.d/00-puppet.pref Package: puppet puppet-common Pin: version 3.6* Pin-Priority: 501 sudo nano /etc/puppet/puppet.conf [agent] server = server.us-west-1.compute.amazonaws.com sudo service puppet start MASTER sudo puppet cert list #When the puppetmaster server certificates are generated they are named puppet.pem #in stead of puppetmaster.domain.tld.pem because the certname = puppet in #/etc/puppet/puppet.conf. nano /etc/apache2/sites-enabled/puppetmaster.conf sudo puppet cert sign client.us-west-1.compute.internal or sudo puppet cert sign --all facter AGENT sudo puppet agent --test MASTER sudo puppet module install puppetlabs-apache sudo nano /etc/puppet/manifests/site.pp file {'/tmp/example-ip': # resource type file and filename ensure => present, # make sure it exists mode => 0644, # file permissions content => "Here is my Public IP Address: ${ipaddress_eth0}.\n", # note the ipaddress_eth0 fact } node 'client.us-west-1.compute.internal' { # applies to client.us-west-1.compute.internal node class { 'apache': } # use apache module apache::vhost { 'example.com': # define vhost resource port => '80', docroot => '/var/www/html' } } node default {} # applies to nodes that aren't explicitly defined AGENT sudo puppet agent --test

Add comment


Security code
Refresh