kschu91/puppet-gogs

sysconfig documentation has a typo

Closed this issue · 2 comments

USER should be GOGS_USER

class { '::gogs':
    sysconfig => {
        'NAME' => { value => 'gogitsgogs' },
        'USER' => { value => 'johndoe' },
    }
}

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.

README is updated regarding this.