Category: puppet

Software inventory with facter

Getting hash of installed software with facter: #!/usr/bin/ruby # # File: /your/puppetdir/modules/yourmodule/lib/facter/sw_inventory.rb # # Description: Report versions of installed software # require ‘facter’ Facter.add(:sw_inv) do setcode do # OSX if Facter.value(:osfamily) == ‘Darwin’ require ‘facter/util/macosx’ sw_inv = {} # Lists…

Building Puppet 4.0 test environment with Vagrant

Puppet 4.0 RC is released Here’s some notes how to build CentOS/vagrant/puppet master and agent and some relevant links Release notes https://puppetlabs.com/blog/release-candidate-open-source-puppet-4.0 https://groups.google.com/forum/#!msg/puppet-announce/Wl9Ag2gRmXM/RpdggribgvwJ Prerequisities for test environment VirtualBox Grab and install VirtualBox https://www.virtualbox.org/wiki/Downloads Vagrant Grab and install Vagrant https://www.vagrantup.com/downloads.html CentOS Get minimal…

Failing node ids from puppet dashboard

mysql> select distinct(node_id) from reports where id = any (select report_id from report_logs where message like ‘%Could not evaluate: undefined method%each_line%’); Substitute %Could not evaluate: undefined method%each_line% with error you want to find out

SDN, SDN, SDN, HOT, HOT, HOT…

Links to SDN Basics http://en.wikipedia.org/wiki/Software-defined_networking Open Daylight Open Networking OpenFlow https://openflow.stanford.edu/dashboard.action OpenFlow sw list OpenFlow @Google Vendor stuff Cisco takes fight to SDNs with bold Insieme launch Tsadaa, I see puppet 🙂 http://puppetlabs.com/blog/cisco-aci-infrastructure-exists-applications Cisco and Puppet Juniper OpenContrail

OSX 10.9 a.k.a Mavericks and puppet

Hmh, Apple got me with my pants down with their announcement about Mavericks being free-for-all as we have been managing some Macs with puppet. Current plan before that was to finally upgrade puppet infra to 3.3.1 from latest 2.7-series…Well, good…