This demo was put together to for the Puppet/LogicMonitor Integration Webinar.
All of the code used to create the demo video is included in this repository. If you would like to run the code yourself, there are a few things you will need to do to ensure your environment is ready.
- Vagrant (https://www.vagrantup.com/downloads.html)
- Terraform (https://www.terraform.io/downloads.html)
- awscli (http://aws.amazon.com/cli/)
- FPM (https://github.com/jordansissel/fpm)
- make
Open the file at lm-demo/terraform/init/puppetdb/init.sh
and replace ## INCLUDE YOUR SSL CERTIFICATE
with the contents of your SSL certificate. Additionally, you'll need to replace ## INCLUDE YOUR SSL KEY
with the contents of your SSL key.
Follow the instructions here
In order to best work with the scripts, you should create your bucket in the US West 2 region.
Using awscli
:
aws --region us-west-2 s3 mb lm-demo
There are a few domain references in the scripts. Be sure to update those references to reflect your own domains. There are references in the puppetdb.conf
file and in the lmdemo.tf
file.
Add your own Logicmonitor API credentials to logicmonitor-puppet-demo/puppet/modules/logicmonitor/manifests/config.pp
- Open a terminal and navigate to the
lm-demo
repository. - Start Vagrant:
vagrant up
- Run make:
make