From 417aaba282e89a7c80ba7a9860f56b08e7735be0 Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Thu, 5 Nov 2015 12:53:55 -0500 Subject: [PATCH] tempest: use $::id fact for permissions Instead of harcoding 'jenkins' user, use $::id fact so we can re-use this manifest somewhere 'jenkins' user is not present. Change-Id: I781e21112c3c0dfadd568f4d9436ddbd7d4a28b6 --- fixtures/scenario001.pp | 2 +- fixtures/scenario002.pp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fixtures/scenario001.pp b/fixtures/scenario001.pp index 6dea6313a..558db20d7 100644 --- a/fixtures/scenario001.pp +++ b/fixtures/scenario001.pp @@ -442,7 +442,7 @@ class { '::tempest': debug => true, use_stderr => false, log_file => 'tempest.log', - tempest_clone_owner => 'jenkins', + tempest_clone_owner => $::id, git_clone => false, tempest_clone_path => '/tmp/openstack/tempest', lock_path => '/tmp/openstack/tempest', diff --git a/fixtures/scenario002.pp b/fixtures/scenario002.pp index 53af45341..5eaab0c41 100644 --- a/fixtures/scenario002.pp +++ b/fixtures/scenario002.pp @@ -464,7 +464,7 @@ class { '::tempest': debug => true, use_stderr => false, log_file => 'tempest.log', - tempest_clone_owner => 'jenkins', + tempest_clone_owner => $::id, git_clone => false, tempest_clone_path => '/tmp/openstack/tempest', lock_path => '/tmp/openstack/tempest',