welcome: please sign in

Diff for "ServerGibran"

Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2018-04-07 00:32:07
Size: 237
Editor: ClintonEbadi
Comment: stub for new server
Revision 4 as of 2018-04-07 03:30:47
Size: 1501
Editor: ClintonEbadi
Comment: some puppet stuff
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
 * added /opt/puppetlabs/bin/ to root $PATH in .bashrc, should be done in /etc/profile.d/
 * removed `joe` (or at least `update-alternatives editor` to either vim or emacs...)
 * set domain name to hcoop.net manually
 * set `search hcoop.net` in `/etc/resolv.conf` manually
 * root has basic emacs config for puppet-mode and melpa (probably no need to formalize that...)

=== todo ===

 * default "cloud-config" system may be active, check license and remove if it is non-free

== Puppet ==

=== puppetserver ===

 * Installed https://apt.puppetlabs.com/puppet5-release-stretch.deb manually
 * Packages: puppetserver, puppet-agent
 * added /opt/puppetlabs/bin/ to root $PATH in .bashrc

Puppet git structure (different repos for each): /etc/puppetlabs/puppet, /etc/puppetlabs/code/environments/production, /etc/puppetlabs/modules. Subject to change.

Puppet module structure:
 * hcoop
   * server
     * $server (e.g. gibran)
   * service
     * openafs-client

=== puppetdb ===

install guide is weird

 puppet resource package puppetdb ensure=latest
 puppet resource package puppetdb-termini ensure=latest
 puppet module install puppetlabs-puppetdb

=== installed modules ===

 * puppetlabs-firewall
 * puppetlabs-puppetdb

gibran.hcoop.net is virtual machine at digital ocean that will become our primary afs server

It is named after the author Kahlil Gibran

1. Setup Notes

Or: things that need to go into Puppet

  • Volume mounted in /vicepa
  • added /opt/puppetlabs/bin/ to root $PATH in .bashrc, should be done in /etc/profile.d/
  • removed joe (or at least update-alternatives editor to either vim or emacs...)

  • set domain name to hcoop.net manually
  • set search hcoop.net in /etc/resolv.conf manually

  • root has basic emacs config for puppet-mode and melpa (probably no need to formalize that...)

1.1. todo

  • default "cloud-config" system may be active, check license and remove if it is non-free

2. Puppet

2.1. puppetserver

Puppet git structure (different repos for each): /etc/puppetlabs/puppet, /etc/puppetlabs/code/environments/production, /etc/puppetlabs/modules. Subject to change.

Puppet module structure:

  • hcoop
    • server
      • $server (e.g. gibran)
    • service
      • openafs-client

2.2. puppetdb

install guide is weird

  • puppet resource package puppetdb ensure=latest puppet resource package puppetdb-termini ensure=latest puppet module install puppetlabs-puppetdb

2.3. installed modules

  • puppetlabs-firewall
  • puppetlabs-puppetdb

ServerGibran (last edited 2018-04-22 02:02:56 by ClintonEbadi)