Gitlab PPA: inverse-inc/packetfence

Content

Configuration for Debian-like distribution

Automatic sources.list configuration

sudo apt-get install apt-add-gitlab
sudo apt-add-gitlab https://inverse-inc.gitlab.io/packetfence

Manual sources.list configuration

For all distributions

sudo curl -L https://inverse-inc.gitlab.io/packetfence/GPG_PUBLIC_KEY -o /etc/apt/trusted.gpg.d/gitlab-inverse-inc-packetfence.asc
sudo apt-get install apt-transport-https

For selected release

sudo tee /etc/apt/sources.list.d/gitlab-inverse-inc-packetfence.list << EOF
deb [arch=amd64] https://inverse-inc.gitlab.io/packetfence/RELEASE_ID RELEASE_NAME main
#deb-src https://inverse-inc.gitlab.io/packetfence/RELEASE_ID RELEASE_NAME main
EOF

Configuration for RPM-based distribution

Automatic yum.conf configuration

sudo yum install yum-add-gitlab
sudo yum-add-gitlab https://inverse-inc.gitlab.io/packetfence

Manual yum.conf configuration

For all distributions

sudo rpm --import https://inverse-inc.gitlab.io/packetfence/GPG_PUBLIC_KEY

For selected release

sudo tee /etc/yum.repos.d/gitlab-inverse-inc-packetfence.repo << EOF
[inverse-inc-packetfence]
name=Gitlab inverse-inc-packetfence - RELEASE_NAME - \$basearch
baseurl=https://inverse-inc.gitlab.io/packetfence/RELEASE_ID/RELEASE_NAME/\$basearch
enabled=1
metadata_expire=15m
gpgcheck=1
repo_gpgcheck=0
gpgkey=https://inverse-inc.gitlab.io/packetfence/GPG_PUBLIC_KEY
skip_if_unavailable=False
EOF