Correct path to Launchpad creds on signing node

Correct a typo in the name of the home directory when writing the
Launchpad credentials to the signing node. Also make the credential
file dependency on its parent directory more explicit.

Change-Id: I6afbbb0524e2f6591b75ac5c07646cb9faabb747
This commit is contained in:
Jeremy Stanley 2016-08-26 22:25:39 +00:00
parent ef262c7271
commit 1bc08f5825

View File

@ -83,7 +83,7 @@ class openstack_project::signing_node (
ensure => present,
}
file { '/home/gerrit2/.launchpadlib':
file { '/home/jenkins/.launchpadlib':
ensure => directory,
owner => 'jenkins',
group => 'jenkins',
@ -91,13 +91,13 @@ class openstack_project::signing_node (
require => File['/home/jenkins'],
}
file { '/home/gerrit2/.launchpadlib/creds':
file { '/home/jenkins/.launchpadlib/creds':
ensure => present,
owner => 'jenkins',
group => 'jenkins',
mode => '0600',
content => template('openstack_project/infra_lp_creds.erb'),
require => File['/home/jenkins'],
require => File['/home/jenkins/.launchpadlib'],
}
}