Created
August 20, 2016 18:38
-
-
Save benwtr/37f5e94d6e7e91c213e673d2ed58d312 to your computer and use it in GitHub Desktop.
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
# Policyfile.rb | |
name "some_policy" | |
run_list 'derp' | |
require 'json' | |
JSON.parse(File.read('../environments/some_env.json'))['default_attributes'].each_pair{|k,v| default[k]=v} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This snapshots the
default_attributes
from an environment into a Policyfile.lock.rb