Skip to content

nick-otter/puppet-test

Repository files navigation

Puppet Image

Puppet Test

Investigating configuring an Ubuntu Linux server using Puppet.

  • .tf files for Puppet Master server: puppet_master.tf, puppet_master_variables.tf.
  • .tf files for Puppet Agent node server: here.

Requirements

Authenticate Azure via the CLI as documented here.

A Puppet Agent node server which can be created using Terraform here.

Usage

Build Puppet Master server:

$ terraform apply

SCP (Secure Copy) installation commands to Puppet Master server:

$ scp -i /path/id_rsa install_puppet_server_commands.sh azureuser@< Puppet Master server IP >:

SCP (Secure Copy) installation commands to Puppet Agent server:

$ scp -i /path/id_rsa install_puppet_agent_commands.sh azureuser@< Puppet Agent server IP >:

To run installation commands use $ bash.

Notes on Process

As I haven't used Puppet before, I have highlighted parts of the process to use Puppet that are interesting or differ from Ansible.

  • I am currently facing an issue with sigining certs - which I have configured via the /etc/hosts file.

    On the Puppet Master server, despite adding the master IP to the agent's /etc/hosts file. No certificate requests are evident: Puppet Master Certificate Failure

    On the Puppet Agent server, ping to the Puppet Master is not successful (hanging) - this could be the issue: Puppet Agent Ping Failure

Links

About

A basic Puppet example.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages