Christian Mague 7 rokov pred
rodič
commit
88bd1b6600
2 zmenil súbory, kde vykonal 8 pridanie a 1 odobranie
  1. 6 1
      Vagrantfile
  2. 2 0
      puppet/ext/data/common.yaml

+ 6 - 1
Vagrantfile

@@ -13,7 +13,7 @@ Vagrant.configure("2") do |config|
 
 
   config.vm.provision "shell" do |s|
-    s.inline = "cd /tmp &&/usr/bin/apt-get -y install unzip wget && /usr/bin/wget https://apt.puppetlabs.com/puppet-release-xenial.deb && /usr/bin/dpkg -i puppet-release-xenial.deb && /usr/bin/apt update && /usr/bin/apt -y install puppet-agent"
+    s.inline = "cd /tmp &&/usr/bin/apt-get -y install unzip wget && /usr/bin/wget -q https://apt.puppetlabs.com/puppet-release-xenial.deb -O /tmp/puppet-release-xenial.deb && /usr/bin/dpkg -i /tmp/puppet-release-xenial.deb && /usr/bin/apt update && /usr/bin/apt -y install puppet-agent"
   end
 
   config.vm.provision :puppet do |puppet|
@@ -24,4 +24,9 @@ Vagrant.configure("2") do |config|
     puppet.manifest_file     = "site.pp"
   end
 
+  config.vm.provision "shell" do |s|
+    s.inline = "wget -q 'https://bintray.com/kong/kong-community-edition-deb/download_file?file_path=dists/kong-community-edition-0.13.0.xenial.all.deb' -O /tmp/kong.deb && sudo dpkg -i /tmp/kong.deb ; wget -q 'https://github.com/prometheus/statsd_exporter/releases/download/v0.6.0/statsd_exporter-0.6.0.linux-amd64.tar.gz' -O /tmp/statsd_exporter.tar.gz; tar -zxvf /tmp/statsd_exporter.tar.gz"
+  end
+
+
 end

+ 2 - 0
puppet/ext/data/common.yaml

@@ -13,3 +13,5 @@ ec2base_packages:
   - bind9utils
   - prometheus
   - prometheus-node-exporter
+  - grafana
+  - postgresql-server-dev-9.5