sysconfig documentation has a typo
Closed this issue · 2 comments
wfsaxton commented
USER should be GOGS_USER
class { '::gogs':
sysconfig => {
'NAME' => { value => 'gogitsgogs' },
'USER' => { value => 'johndoe' },
}
}
kschu91 commented
Hi wfsaxton,
the sysconfig parameters depend on the distribution you are running.
For Ubuntu/Debian it is called USER
and for CentOS/RedHat GOGS_USER
.
This is because the gogs provided init scripts have different namings for different distributions.
See here for CentOS/RedHat and here for Ubuntu/Debian.
I will specify the documentation on that.