This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Chef::Resource::DockerContainer.class_eval do | |
property :dependencies_updated, [true, false] | |
def depends_on(resource) | |
subscribes :dependencies_updated, resource, :immediately | |
subscribes :run, resource | |
end | |
action :dependencies_updated do | |
new_resource.dependencies_updated true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env bash | |
set -e | |
# install via curl | |
# curl -sL https://gist.github.com/chasebolt/fd5210b4c2a44a2b0db383162a66632c/raw/install_eon_purge_data.sh | bash | |
# create purge script | |
mkdir -p /data/local | |
cat <<'EOF' > /data/local/purge-data.sh | |
#!/bin/sh |