5/18/2013
C:\Users\jblaine>set PATH=%PATH%;C:\opscode\chef\embedded\bin
C:\Users\jblaine>cd test-kitchen-test
C:\Users\jblaine\test-kitchen-test>dir
Volume in drive C has no label.
| # | |
| # Intermediary SSL device (sniffer/decrypter) certificate | |
| # installation on Windows (w/o Cygwin) for chef_gem to even | |
| # talk to https://rubygems.org from inside $WORK | |
| # | |
| # FML | |
| # | |
| node['our-certs']['filenames'].each do |cert| | |
| cookbook_file cert do |
| # line-cookbook/recipes/_tester.rb | |
| file "0" do | |
| path "/tmp/.line-cookbook-testfile" | |
| content "An opening line" | |
| owner 'root' | |
| group 'root' | |
| mode '00644' | |
| end |
| collectd-5.4.0:cairo> /usr/rcf/bin/sudo /usr/rcf-tools/ruby-1.9.3/bin/fpm -t solaris -s dir --name collectd-rcf --version 5.4.0 -a all --prefix /usr/rcf-tools/collectd-5.4.0 /usr/rcf-tools/collectd-5.4.0 | |
| Password: | |
| ## Building pkgmap from package prototype file. {:level=>:error} | |
| ## Processing pkginfo file. {:level=>:error} | |
| WARNING: parameter <PSTAMP> set to "cairo.mitre.org20130913190412" {:level=>:error} | |
| ## Attempting to volumize 216 entries in pkgmap. {:level=>:error} | |
| part 1 -- 40228 blocks, 1914 entries {:level=>:error} | |
| ## Packaging one part. {:level=>:error} | |
| /tmp/package-solaris-build20130913-13321-1lg6ruz/collectd-rcf/pkgmap {:level=>:error} | |
| /tmp/package-solaris-build20130913-13321-1lg6ruz/collectd-rcf/pkginfo {:level=>:error} |
| require 'spec_helper' | |
| describe 'line-cookbook::tester' do | |
| let(:chef_run) { ChefSpec::ChefRunner.new.converge 'line-cookbook::tester' } | |
| it 'creates dangerfile' do | |
| expect(chef_run).to create_cookbook_file '/tmp/dangerfile' | |
| expect(chef_run).to create_file_with_content '/tmp/dangerfile', 'HI I AM STRING' | |
| file = chef_run.cookbook_file '/tmp/dangerfile' | |
| expect(file).to be_owned_by('root') |
| https://wiki.opscode.com/display/chef/Working+with+Git Says: | |
| [jblaine@dev:~/src] $ git clone git@github.com:jblaine/chef.git | |
| Initialized empty Git repository in /home/jblaine/src/chef/.git/ | |
| ... | |
| [jblaine@dev:~/src] $ cd chef | |
| [jblaine@dev:~/src/chef] git remote add opscode git://github.com/opscode/chef.git | |
| [jblaine@dev:~/src/chef] git config branch.master.remote opscode | |
| [jblaine@dev:~/src/chef] git checkout --track -b CHEF-4418 opscode/master | |
| fatal: git checkout: updating paths is incompatible with switching branches. |
| Focus not on upgrading your product but upgrading your | |
| user’s capabilities. If you can’t enhance your product, | |
| enhance the context in which your product is used. Pro- | |
| vide better and more inspiring documentation. Make YouTube | |
| tutorials. Join forums and offer expert help where it’s | |
| most needed. Use every nanosecond of your social media | |
| time to help people become better at something for them- | |
| selves. Understand and design for Social Objects. Relent- | |
| lessly ask, “How are we helping our users kick ass? What | |
| can we inspire, amplify, teach, enable, empower?” |
| Upgrading to 0.9.12 | |
| (graphite)graphite% pip install carbon --upgrade --install-option="--prefix=/rcf-monitor/graphite" --install-option="--install-lib=/rcf-monitor/graphite/lib/python2.6/site-packages" | |
| ... | |
| copying conf/whitelist.conf.example -> /rcf-monitor/graphite/conf | |
| copying conf/carbon.amqp.conf.example -> /rcf-monitor/graphite/conf | |
| error: can't copy 'distro/redhat/init.d/carbon-cache': doesn't exist or not a regular file |
| Chef client 11.4.0 on RHEL 6.4 | |
| ... | |
| mtc-sge-exec1 Recipe: rcf-mounts::mtc | |
| mtc-sge-exec1 * directory[/mtcnas] action create | |
| mtc-sge-exec1 (up to date) | |
| mtc-sge-exec1 * directory[/mtcnas/platform] action create | |
| mtc-sge-exec1 | |
| mtc-sge-exec1 ================================================================================ | |
| mtc-sge-exec1 Error executing action `create` on resource 'directory[/mtcnas/platform]' |
| Converging 5 resources | |
| Recipe: virtualbox::default | |
| * windows_package[Oracle VM VirtualBox 4.2.12] action install[2013-06-07T21:51:59-04:00] INFO: Pro | |
| cessing windows_package[Oracle VM VirtualBox 4.2.12] action install (virtualbox::default line 37) | |
| (up to date) | |
| Recipe: vagrant::windows | |
| * windows_package[Vagrant 1.2.2] action install[2013-06-07T21:51:59-04:00] INFO: Processing window | |
| s_package[Vagrant 1.2.2] action install (vagrant::windows line 1) | |
| [2013-06-07T21:51:59-04:00] INFO: Installing windows_package[Vagrant 1.2.2] version latest | |
| Recipe: <Dynamically Defined Resource> |