diff options
Diffstat (limited to 'lib/leap_cli/remote/puppet_plugin.rb')
-rw-r--r-- | lib/leap_cli/remote/puppet_plugin.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/remote/puppet_plugin.rb b/lib/leap_cli/remote/puppet_plugin.rb index 9c41380..e3f6be2 100644 --- a/lib/leap_cli/remote/puppet_plugin.rb +++ b/lib/leap_cli/remote/puppet_plugin.rb @@ -6,7 +6,7 @@ module LeapCli; module Remote; module PuppetPlugin def apply(options) - run "#{PUPPET_DESTINATION}/bin/puppet_command set_hostname apply #{flagize(options)}" + run "#{Leap::Platform.leap_dir}/bin/puppet_command set_hostname apply #{flagize(options)}" end private |