Skip to content

Commit d9d4a8c

Browse files
committed
Correctly indent hash rockets to appease puppet lint
1 parent 7f56a37 commit d9d4a8c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

manifests/code_manager.pp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,16 +113,16 @@
113113
$timestamp = chomp(generate('/bin/date', '+%Y%d%m_%H:%M:%S'))
114114

115115
exec { 'mv files out of $environmentpath' :
116-
command => "mkdir /etc/puppetlabs/env_back_${timestamp};
116+
command => "mkdir /etc/puppetlabs/env_back_${timestamp};
117117
mv ${::settings::codedir}/environments/* /etc/puppetlabs/env_back_${timestamp}/;
118118
rm /opt/puppetlabs/facter/facts.d/code_manager_mv_old_code.txt;
119119
TOKEN=`/opt/puppetlabs/puppet/bin/ruby -e \"require 'json'; puts JSON.parse(File.read('${token_filename}'))['token']\"`;
120120
/opt/puppetlabs/puppet/bin/curl -k -X POST -H 'Content-Type: application/json' \"https://${::trusted['certname']}:8170/code-manager/v1/deploys?token=\$TOKEN\" -d '{\"environments\": [\"${::environment}\"], \"wait\": true}';
121121
/opt/puppetlabs/puppet/bin/curl -k -X POST -H 'Content-Type: application/json' \"https://${::trusted['certname']}:8170/code-manager/v1/deploys?token=\$TOKEN\" -d '{\"deploy-all\": true, \"wait\": true}';
122122
sleep 15",
123-
path => $::path,
124-
logoutput => true,
125-
require => Exec["Generate Token for ${code_manager_service_user}"],
123+
path => $::path,
124+
logoutput => true,
125+
require => Exec["Generate Token for ${code_manager_service_user}"],
126126
}
127127
}
128128

0 commit comments

Comments
 (0)