This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{- if and .Values.connect.enabled .Values.monitoring.enabled -}} | |
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: connect-dashboard | |
labels: | |
grafana-dashboard: "true" | |
app: {{ template "name" . }} | |
release: {{ .Release.Name }} | |
heritage: {{ .Release.Service }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# non tls zk service | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: my-cluster-zookeeper-plain | |
labels: | |
app: my-cluster-zookeeper-plain | |
spec: | |
selector: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Veewee::Definition.declare({ | |
:cpu_count => '1', | |
:memory_size=> '256', | |
:disk_size => '10140', :disk_format => 'VDI', :hostiocache => 'off', | |
:os_type_id => 'Debian_64', | |
:iso_file => "debian-7.6.0-amd64-netinst.iso", | |
:iso_src => "http://mirror.i3d.net/pub/debian-cd/7.6.0/amd64/iso-cd/debian-7.6.0-amd64-netinst.iso", | |
:iso_md5 => "8a3c2ad7fd7a9c4c7e9bcb5cae38c135", | |
:iso_download_timeout => "1000", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
node_defaults = { | |
:domain => 'dev', | |
:memory => 384, | |
} | |
single = {:ip => '172.16.11.30', :memory => 1024, :cpus => 2} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
puppetmaster = {:node_name => 'pm', :ip => '172.16.0.250', :memory => 1024, :cpus => 2} | |
nodes = { | |
'node10' => {:ip => '172.16.11.10'}, | |
'node11' => {:ip => '172.16.11.11'}, | |
'node12' => {:ip => '172.16.11.12', :memory => 1024, :cpus => 2}, | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I want to use a YAML/Hiera definition of resources as a `template` to create multiple instances of it | |
For example, having an nginx conf for drupal like below, I would like to create multiple sites using it | |
I understand i need to paremetrize some stuff also. | |
Is it possible? | |
--- | |
### SAMPLE NGINX VHOST CONFIG FOR DRUPAL | |
nginx::nginx_vhosts: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
file { $logdir: | |
ensure => 'directory', | |
owner => 'root' , | |
group => 'root', | |
mode => '0775' | |
} | |
apt::key { "php-repo-${$version}-key": | |
key => 'E9C74FEEA2098A6E' | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# Every Vagrant virtual environment requires a box to build off of. | |
config.vm.box = "debian-70rc1-x64-vbox4210" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# Every Vagrant virtual environment requires a box to build off of. | |
config.vm.box = "lamp-profiler" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
. | |
├── Puppetfile | |
├── Puppetfile.lock | |
├── Vagrantfile | |
├── files | |
│ ├── ca.pem | |
│ ├── logformats.conf | |
│ ├── lumberjack.conf | |
│ ├── lumberjack_0.3.1_amd64.deb | |
│ ├── metrics.batanga.com.key |
NewerOlder