From bd0deed367b94c7aedf7d006d5a6f4d4a18ad62f Mon Sep 17 00:00:00 2001
From: Michael Scherer <mscherer@users.noreply.github.com>
Date: Thu, 14 Apr 2016 23:37:01 +0200
Subject: [PATCH] Use type=path for pem_file, since that's a file (#1934)

---
 cloud/google/gce_img.py | 2 +-
 cloud/google/gce_tag.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cloud/google/gce_img.py b/cloud/google/gce_img.py
index b64f12febd0..bf3d9da5356 100644
--- a/cloud/google/gce_img.py
+++ b/cloud/google/gce_img.py
@@ -180,7 +180,7 @@ def main():
           state=dict(default='present', choices=['present', 'absent']),
           zone=dict(default='us-central1-a'),
           service_account_email=dict(),
-          pem_file=dict(),
+          pem_file=dict(type='path'),
           project_id=dict(),
           timeout=dict(type='int', default=180)
       )
diff --git a/cloud/google/gce_tag.py b/cloud/google/gce_tag.py
index 4f60f58f760..cb1f2a2c3ed 100644
--- a/cloud/google/gce_tag.py
+++ b/cloud/google/gce_tag.py
@@ -188,7 +188,7 @@ def main():
             state=dict(default='present', choices=['present', 'absent']),
             zone=dict(default='us-central1-a'),
             service_account_email=dict(),
-            pem_file=dict(),
+            pem_file=dict(type='path'),
             project_id=dict(),
         )
     )