Skip to content

Instantly share code, notes, and snippets.

@mchenetz
Last active January 21, 2017 15:46
Show Gist options
  • Select an option

  • Save mchenetz/e8ee43d9aa0abd534a9005402930dd7d to your computer and use it in GitHub Desktop.

Select an option

Save mchenetz/e8ee43d9aa0abd534a9005402930dd7d to your computer and use it in GitHub Desktop.

Revisions

  1. mchenetz renamed this gist Jan 21, 2017. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions gistfile1.txt → theforeman.sh
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,4 @@
    #!/bin/bash
    apt-get -y install ca-certificates
    wget https://apt.puppetlabs.com/puppetlabs-release-pc1-trusty.deb
    dpkg -i puppetlabs-release-pc1-trusty.deb
  2. mchenetz created this gist Jan 21, 2017.
    9 changes: 9 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    apt-get -y install ca-certificates
    wget https://apt.puppetlabs.com/puppetlabs-release-pc1-trusty.deb
    dpkg -i puppetlabs-release-pc1-trusty.deb
    echo "deb http://deb.theforeman.org/ trusty 1.14" > /etc/apt/sources.list.d/foreman.list
    echo "deb http://deb.theforeman.org/ plugins 1.14" >> /etc/apt/sources.list.d/foreman.list
    apt-get -y install ca-certificates
    wget -q https://deb.theforeman.org/pubkey.gpg -O- | apt-key add -
    apt-get update && apt-get -y install foreman-installer
    foreman-installer