Category: Ruby on Rails

Install Vagrant, Virtualbox and Git to setup a development environment

Based on this below one can setup a virtual development enviroment with vagrant, virtualbox and git. http://www.tjmaher.com/2016/05/setting-up-virtual-dev-environment-with.html This page describes how to do that on a computer with Windows 10. A. Download software: 1. https://git-scm.com/downloads/guis 2. https://www.vagrantup.com/downloads.html 3. https://www.virtualbox.org/wiki/Downloads B. Install software: 1. Install Virtualbox 2. Install Vagrant (reboot is recommended after installation) 3. Install

Custom Facts in Puppet

  ================== CUSTOM FACT ================= puppet@testserver:/opt/puppetserver/conf/environments/test/modules/helloworld/lib/facter> cat dhcp_dnsdomain.rb     Facter.add(“dhcp_dnsdomain”) do       confine :operatingsystem => ‘SLES’       setcode do         Facter::Core::Execution.exec(‘/usr/sbin/dhcpcd-test eth0 | grep DNSDOMAIN | cut -d$”\'” -f 2 | rev | cut -d”.” -f 1,2 | rev’)       end     end ==================== PUPPET MANIFEST ============ puppet@testserver:/opt/puppetserver/conf/environments/test/modules> cat helloworld/manifests/init.pp class helloworld { notify {

AWS OpsWorks – DevOps cloud application management solution

  AWS OpsWorks (beta) AWS OpsWorks is a DevOps solution for managing applications of any scale or complexity on the AWS cloud. AWS OpsWorks features an integrated experience for managing the complete application lifecycle, including resource provisioning, configuration management, application deployment, software updates, monitoring, and access control. AWS OpsWorks lets you model and visualize your