#First install puppet

sudo su -

apt-get update

apt-get install puppet

#Then install puppet module for install gitlab

puppet module install vshn-gitlab

#Once module is installed, create a .pp file

nano gitlab.pp

#Write the below contents inside file
class { 'gitlab':
  external_url => 'http://gitlab.mydomain.tld',
}
# in the above code change the gitlab.mydomain.tld to the dns resolvable hostname of your server
#Run the file with puppet
puppet apply --verbose gitlab.pp

# Now navigate to the homepage of gitlab
firefox gitlab.mydomain.tld
#OR
apt-get install lynx
lynx gitlab.mydomain.tld

Leave a Reply