Skip to content

Commit

Permalink
fixes #17863 - use puppet user not uid
Browse files Browse the repository at this point in the history
The UID is not using the assigned one:
https://tickets.puppetlabs.com/browse/SERVER-1381, so we can't do the 52
trick.  We need to require the puppet server install class to ensure the
package is installed first.
  • Loading branch information
stbenjam committed Jan 9, 2017
1 parent f57ec75 commit 1c8129b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions manifests/puppet.pp
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@
key_pair => $::certs::server_ca,
} ~>
file { $client_key:
ensure => file,
owner => '52',
mode => '0400',
ensure => file,
owner => 'puppet',
mode => '0400',
require => Class['puppet::server::install'],
}

}
Expand Down

0 comments on commit 1c8129b

Please sign in to comment.