Managing Linux Servers using Puppet

https://www.linuxjournal.com/content/managing-linux-using-puppet

Puppet
Many different configuration management tools for Linux (and other platforms) exist. Puppet is one of the most popular and the one I cover in this article. Similar tools include Chef, Ansible and Salt as well as many others. Although they differ in the specifics, the general objectives are the same.

Puppet's underlying philosophy is that you tell it what you want as an end result (required state), not how you want it done (the procedure), using Puppet's programming language. For example, you might say "I want ssh key XYZ to be able to log in to user account foo." You wouldn't say "cat this string to /home/foo/.ssh/authorized_keys." In fact, the simple procedure I defined isn't even close to being reliable or correct, as the .ssh directory may not exist, the permissions could be wrong and many other things.

wget https://apt.puppetlabs.com/puppetlabs-release-precise.deb
dpkg -i puppetlabs-release-precise.deb
apt-get update
apt-get install -y man git puppet-common=3.7.3-1puppetlabs1
puppet module install puppetlabs/apt  --version 1.8.0

include apt

node 'puppet-test' {
    $developer = 'david'

    package { 'vim':
        ensure => 'present'
    }

    package { 'emacs':
        ensure => 'absent'
    }

    user { "$developer":
        ensure => present,
        comment => "Developer $developer",
        shell => '/bin/bash',
        managehome => true,
    }
}

cd /etc/puppet/linuxjournal
git pull
puppet apply /etc/puppet/linuxjournal/manifests
 --modulepath=/etc/puppet/linuxjournal/
modules/:/etc/puppet/modules/

Tags: 

Insulin surge

Eh. I'm sorry to say. I don't see this day coming. 

I didn't think I'd see the day the price of insulin spiked that high either. But here we are.

**The picture does have a grammar error, so I won't say it's my picture. Changes changes

Are they just bad images?

sudo dd bs=4M if=xenialpup-7.5-uefi.iso of=/dev/sda

I've now tried three different ISO's -- .BIN's

Using the dd command also trying a GUI ISO writer. And I'm still running into Com32 issues now?

I feel I need reliable internet. I'm downloading images through 4G getting 9-11Mbps // maxing out my bandwidth for the month. 
What is going on?

My MD5 hash's are accurate? 4909e1961ba27752b7aa8eba23ea7b5d

md5sum trinity-rescue-kit.3.4-build-37.iso
4909e1961ba27752b7aa8eba23ea7b5d  trinity-rescue-kit.3.4-build-37.iso

Tags: 

Pages