Skip to main content

Posts

Showing posts with the label windows

Windows Testing Using Kitchen Chef

Kitchen-Vagrant has the capability to spin up a windows instatance for testing. To make it make it work you will need the vagrant-winrm to be installted on the workstation. Installing vagrant-winrm ┌─[ahmed][zubair-HP-ProBook][~/work] └─▪ vagrant plugin install vagrant-winrm Once you have have installed you might still get the below error. ┌─[ahmed][zubair-HP-ProBook][~/work] └─▪ kitchen list ------Exception------- Class: Kitchen::UserError Message: WinRM Transport requires the vagrant-winrm Vagrant plugin to properly communicate with this Vagrant VM. Please install this plugin with: `vagrant plugin install vagrant-winrm' and try again. Please see .kitchen/logs/kitchen.log for more details Also try running `kitchen diagnose --all` for configuration Download Windows Box. There is a nice repos which creates windows vagrant box. git clone https: / /github.com/boxcutter /windows.git Here is the output. ┌─[ahmed][zubair-HP-ProBook][~/work] └─▪ git clone https://...

Package Installer for Cygwin [apt-cyg].

After a longtime I was on my windows machine and had to make it feel more like my linux machine. So install the thing what everyone else does cygwin . Surpise my custom .bashrc and .vimrc worked without any issues. Good !! had the bashrc update vimrc update, we are back to linux .. like :) My custom linux environment - howto . Then I realized there is no way to install package from cygwin terminal. Then I found below script apt-cyg which is really nice. Package Installer - apt-cyg http://github.com/transcode-open/apt-cyg Installation apt-cyg is a simple script, copy below script to home directory on cygwin Here is the link https://github.com/transcode-open/apt-cyg/blob/master/apt-cyg Execute below command. install apt-cyg /bin Now we can use - Example use of apt-cyg apt-cyg install nano apt-cyg install lynx Output ┌─[ Zubair ][ AHMD - WRK - HORSE ][~] └─▪ apt-cyg install lynx Installing lynx -- 2016 -09- 28 12 : 49 : 39 -- http: / /cygwin.mirror.constan...