Skip to content

Commit

Permalink
New name for the api key flag
Browse files Browse the repository at this point in the history
version bump
  • Loading branch information
coffeyk committed Sep 27, 2016
1 parent 3210e2c commit 0c8d9b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion libraries/helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def configure_package_repositories
# @example '27c0206e-15aa-46b0-842e-3f216f11d8a5'
def perform_device_auth(api_key)
execute '.pauth' do
command "/opt/pertino/pgateway/.pauth --apikey=#{api_key}"
command "/opt/pertino/pgateway/.pauth --device-auth-key=#{api_key}"
not_if "grep -q #{api_key} /opt/pertino/pgateway/conf/client.conf"
notifies :restart, 'service[pgateway]'
end
Expand Down Expand Up @@ -84,5 +84,6 @@ def setup_redhat_repo
enabled true
end
end

end
end
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
license 'MIT'
description 'Provides primitives for installing pertino-client'
long_description 'Provides primitives for installing pertino-client package'
version '0.2.0'
version '0.2.1'

depends 'apt'
depends 'yum'
Expand Down

0 comments on commit 0c8d9b4

Please sign in to comment.