This file is indexed.

/usr/lib/python2.7/dist-packages/charmtools/templates/chef/files/hooks/bootstrap is in charm-tools 2.1.2-0ubuntu4.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
#!/bin/bash
set -e

apt-get update

sudo apt-get install -y ruby1.9.1 ruby1.9.1-dev \
  rubygems1.9.1 irb1.9.1 ri1.9.1 rdoc1.9.1 \
  build-essential libopenssl-ruby1.9.1 libssl-dev zlib1g-dev

gem install bundler --no-rdoc --no-ri

cd "$(dirname $0)../cookbooks" && bundle install

mkdir -p /etc/chef

cat > /etc/chef/solo.rb <<EOF
cookbook_path '$CHARM_DIR/cookbooks'
EOF