Profile cover photo
Profile photo
Alex Vinyar
67 followers -
If monkeys wore hats would squares be purple?
If monkeys wore hats would squares be purple?

67 followers
About
Posts

Post has attachment
Working with multiple Chef Orgs and persisting Amazons EC2 access across multiple knife.rb files.
So, I've been doing something for so long, I didn't even realize it. The way knife looks for configuration is by looking for .chef folder from your current location, and then recursively going down. Setting up .chef folder So, I've created my .chef folder i...
Add a comment...

Post has attachment
Modifying chef resources after they're already in resource collection
BOOM! First, lets fire up chef-shell to demonstrate by creating a basic resource $ chef-shell   chef (12.14.57)> recipe_mode chef:recipe (12.14.57)> file 'testing_edit' do chef:recipe > content 'words' chef:recipe ?> end  => <file[testing_edit] @name: "test...
Add a comment...

Post has attachment
Setting up chef Automate (delivery) in completely airgapped environment (like DOD)
Manual delivery install in airgapped env (AWS in Oregon) Creation of Air-gapped environment Create DHCP option set Create vpc 'alexv-manual automate in airgapped env'   set DNS resolution to Yes   set DNS Hostname to Yes   set DHCP option set to one above C...
Add a comment...

Post has attachment
Getting started with DevOps - Basic Chef (and any other CI/CD environment)
A got a question a few weeks back, and I think the answer is worth sharing. Do we need to have a chef workstation hosted in our cloud environment that everyone logs in to (something like a jump box configured with chefdk and all the plugins), or can users s...
Add a comment...

Post has attachment
Resetting opscode-reporting password
One in a while upgrading opscode-reporting goes wrong. Or it doesnt start, you do manual clean up, and basically passwords go out of sync. Solution is pretty straight forward - reset the passwords to what the system things the passwords should be. 1. Open u...
Add a comment...

Post has attachment
Chef - Passing output of one resource as input to the next
There are a couple of ways to do that. One is via lazy directory '/tmp'  file '/tmp/alex.txt' do   content 'sudo make me a sandwitch' end  ruby_block "something" do     block do       command = 'cat /tmp/alex.txt'       command_out = shell_out(command)     ...
Add a comment...

Post has attachment
Powershell and chef - how to view the script powershell_script resource is executing
So, I was troubleshooting passing arrays to powershell_script resource. Troubleshooting powershell_script What makes troubleshooting powershell_script difficult, is the way it works from inside chef. A temporary file is created, and immediately nuked after ...
Add a comment...

Post has attachment

Post has attachment
Governments entering IT at glacier speeds.
What happens when you give powerful tools to people with low motivation? They create products that make it attractive to go back to filling out stacks of paper forms by hand. Problem of the day: I was filling out a Visa application for entering Japan. On th...
Add a comment...

Post has attachment
INNACCESSIBLE_BOOT_DEVICE - aka: how much I hate intel rapid raid
One beer and 2 episodes of DBZ Super, I am finally back to a functional Windows 10 machine. Also known as wasting two hours by beating your head against a useless recovery capabilities of Windows 10 and Intels incompetence at writing drivers. Hardware: GA-E...
Add a comment...
Wait while more posts are being loaded