d340dd2288
The execute bit needs to be set or CM will fail. I think this was probably just missed when the code_manager_config_version.rb file was added.
10 lines
257 B
Ruby
Executable File
10 lines
257 B
Ruby
Executable File
require 'json'
|
|
|
|
environmentpath = ARGV[0]
|
|
environment = ARGV[1]
|
|
|
|
r10k_deploy_file_path = File.join(environmentpath, environment, '.r10k-deploy.json')
|
|
|
|
#output the sha1 from the control-repo
|
|
puts JSON.parse(File.read(r10k_deploy_file_path))['signature']
|