Use FACTER_resource_name in shell variables

Also, use_sudo added to _scp_command.
This commit is contained in:
Przemyslaw Kaminski 2015-07-14 19:18:44 +02:00
parent 9d6085dbe0
commit ef7a0002a7

View File

@ -1,4 +1,4 @@
$resource = hiera('{{ resource_name }}')
$resource = hiera($::resource_name)
$ip = $resource['input']['ip']['value']
$admin_token = $resource['input']['admin_token']['value']