Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions stemcell_builder/stages/bosh_go_agent/apply.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ bosh_agent_version=$(cat ${assets_dir}/bosh-agent-version)
/usr/bin/meta4 file-download --metalink=${assets_dir}/metalink.meta4 --file=bosh-agent-${bosh_agent_version}-linux-amd64 bosh-agent

mv bosh-agent $chroot/var/vcap/bosh/bin/
ln --force $chroot/var/vcap/bosh/bin/bosh-agent $chroot/var/vcap/bosh/etc/bosh-enable-monit-access

cp $assets_dir/bosh-agent-rc $chroot/var/vcap/bosh/bin/bosh-agent-rc

Expand Down
2 changes: 2 additions & 0 deletions stemcell_builder/stages/bosh_monit/apply.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@ chmod 0700 $chroot/$bosh_dir/etc/monitrc
# monit refuses to start without an include file present
mkdir -p $chroot/$bosh_app_dir/monit
touch $chroot/$bosh_app_dir/monit/empty.monitrc

cp $dir/assets/monit-access-helper.sh $chroot/$bosh_dir/etc/
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
permit_monit_access() {
/var/vcap/bosh/bin/bosh-agent enable-monit-access
/var/vcap/bosh/etc/bosh-enable-monit-access
}
Loading