Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

Commit

Permalink
(#19) use modern choria, centos 7 and puppet
Browse files Browse the repository at this point in the history
  • Loading branch information
ripienaar committed Feb 15, 2019
1 parent bba1d6e commit 71332d2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ec2environment/cloud-init/common.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ users:
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC3XZsf4OmqktsCtmGTX91ORpCt34pFS9dGcrvLGhgIacr1pCCz9F/QDghNRdH+LmcpXrzXF5E7yQ0JFn0ICLwpW2ftcY3y+c6qV+NIYpuyQv5IhDrY5HU7n9+Lypive4wtrv2JatXWyI1GheQws8wgM9mcSNL3awEYSfE0LqIK1/Wyh+dQxHUdNOcBBTs/R3Jllrzkb5b0pDHncQLOJy73d68QF5aiWKS7WVpPkxAOCAwXqqfR6egA8HB5CT2tGZlgBIJkxx3pFUEXtCkNQrl7HSmGAc1zeHpUKAfv1z0t5HtL8r/RH7L1uHaSVhrMGfMcFCXQo0ez7l5/otv/TiDGtaSmZL0vaJPeRvzRmMKOf6LMUBGs/IHCe2vErZ/XkBlNCSa2zTvJ+FstBG8i66BrfDGdCv84bYP9AKHULpww+MfWT70xVX+UUkBU8NbjY/t7Nv5mKPsLpfnIhOyty1yKEnTEkfmuJIGBa4chFXIHcNR9wvuuboL1CB95wyKxf/Jw8SGk+Wk5WMFz8/8qpxGriR10BE0+m0SgN+ubhM+wdVl+puap20EOhRlBgiM/LrIdMwsHTtPWtGhKBZK9jLpgg7nhrFmjrpoK155ggArIOd5lYDVIMtRs0a147hxGpS8N3F/Trq4feJ02V+JqBpfVuS9EuM8xkfs1B+22AFC65w== rip@liberate"

runcmd:
- "rpm -ivh http://yum.puppetlabs.com/puppet5/puppet-release-el-7.noarch.rpm"
- "rpm -ivh http://yum.puppetlabs.com/puppet6/puppet-release-el-7.noarch.rpm"
- "yum -y install puppet-agent git"
- "ln -s /opt/puppetlabs/bin/puppet /opt/puppetlabs/bin/facter /opt/puppetlabs/bin/mco /usr/bin/"
- "/opt/puppetlabs/bin/puppet resource host puppet ensure=present ip=${puppet_master_ip}"
Expand Down
2 changes: 1 addition & 1 deletion ec2environment/cloud-init/puppet-master.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ users:
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC3XZsf4OmqktsCtmGTX91ORpCt34pFS9dGcrvLGhgIacr1pCCz9F/QDghNRdH+LmcpXrzXF5E7yQ0JFn0ICLwpW2ftcY3y+c6qV+NIYpuyQv5IhDrY5HU7n9+Lypive4wtrv2JatXWyI1GheQws8wgM9mcSNL3awEYSfE0LqIK1/Wyh+dQxHUdNOcBBTs/R3Jllrzkb5b0pDHncQLOJy73d68QF5aiWKS7WVpPkxAOCAwXqqfR6egA8HB5CT2tGZlgBIJkxx3pFUEXtCkNQrl7HSmGAc1zeHpUKAfv1z0t5HtL8r/RH7L1uHaSVhrMGfMcFCXQo0ez7l5/otv/TiDGtaSmZL0vaJPeRvzRmMKOf6LMUBGs/IHCe2vErZ/XkBlNCSa2zTvJ+FstBG8i66BrfDGdCv84bYP9AKHULpww+MfWT70xVX+UUkBU8NbjY/t7Nv5mKPsLpfnIhOyty1yKEnTEkfmuJIGBa4chFXIHcNR9wvuuboL1CB95wyKxf/Jw8SGk+Wk5WMFz8/8qpxGriR10BE0+m0SgN+ubhM+wdVl+puap20EOhRlBgiM/LrIdMwsHTtPWtGhKBZK9jLpgg7nhrFmjrpoK155ggArIOd5lYDVIMtRs0a147hxGpS8N3F/Trq4feJ02V+JqBpfVuS9EuM8xkfs1B+22AFC65w== rip@liberate"

runcmd:
- "rpm -ivh http://yum.puppetlabs.com/puppet5/puppet-release-el-7.noarch.rpm"
- "rpm -ivh http://yum.puppetlabs.com/puppet6/puppet-release-el-7.noarch.rpm"
- "yum -y install puppet-agent puppetserver git"
- "ln -s /opt/puppetlabs/bin/puppet /opt/puppetlabs/bin/facter /opt/puppetlabs/bin/mco /usr/bin/"
- "puppet resource host puppet ensure=present ip=127.0.0.1"
Expand Down
3 changes: 1 addition & 2 deletions ec2environment/puppet/Puppetfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ mod "puppetlabs-stdlib"
mod "camptocamp-puppetserver"
mod "puppetlabs-puppetdb"
mod "puppetlabs-puppet_authorization"
mod "choria-mcollective_choria"
mod "choria-choria"
mod "saz-limits"
mod "puppetlabs-inifile", "1.6.0"
mod "choria-nats"
2 changes: 1 addition & 1 deletion ec2environment/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ variable "emulator_subnet_cidr" {
variable "amis" {
description = "Base AMI to launch the instances with"
default = {
eu-central-1 = "ami-fa2df395"
eu-central-1 = "ami-337be65c"
}
}

0 comments on commit 71332d2

Please sign in to comment.