How Do You Install Puppet Master on a Linux SUSE Server (an AWS Instance)?

Problem scenario
You want to install Puppet Master on SUSE 12.x running in AWS.  You only have five minutes to complete this task.  How do you install Puppet Master immediately?

Solution
1.  Create this file: /etc/zypp/repos.d/puppet.repo

2.  The content of the above file should be the following:

[systemsmanagement_puppet]
name=A network tool for managing many disparate systems (SLE_12)
type=rpm-md
baseurl=http://download.opensuse.org/repositories/systemsmanagement:/puppet/SLE_12/
gpgcheck=1
gpgkey=http://download.opensuse.org/repositories/systemsmanagement:/puppet/SLE_12/repodata/rep0md.xml.key
enabled=1

3. As root, run this command: zypper install puppetmaster

You'll get this prompt:  "Do you want to reject the key, trust temporarily, or trust always? [r/t/a/? shows all options] (r): "

Respond with "t" and press "Enter."

You'll then get this prompt:  
"Overall download size: 4.9 MiB. Already cached: 0 B. After the operation, additional 9.8 MiB will be used."

Respond with "y" and press "Enter."

4.  Start it like this:  puppet master start

Leave a comment

Your email address will not be published. Required fields are marked *