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
| docker::image: | |
| ubuntu: {} |
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
| Vagrant.configure("2") do |config| | |
| config.vm.box = 'centos-65-x64-virtualbox-puppet' | |
| config.vm.box_url = 'http://puppet-vagrant-boxes.puppetlabs.com/centos-65-x64-virtualbox-puppet.box' | |
| config.vm.synced_folder "./hiera", "/hiera" | |
| config.vm.define :stditop do |config| | |
| config.vm.hostname = "fqdn.com" | |
| config.vm.network :private_network, ip: "192.168.11.171" |
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
| Notice: Finished catalog run in 7.24 seconds | |
| Changes: | |
| Total: 1 | |
| Events: | |
| Success: 1 | |
| Total: 1 | |
| Resources: | |
| Out of sync: 1 | |
| Changed: 1 | |
| Restarted: 1 |
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
| vm_config.vm.provision :shell, :path => "setup.sh" | |
| vm_config.vm.provision :puppet do |puppet| | |
| puppet.manifests_path = "../manifests" | |
| puppet.manifest_file = "init.pp" | |
| puppet.module_path = "../../../modules" | |
| puppet.options = "--verbose --debug" | |
| puppet.facter = { | |
| 'fqdn' => fqdn, | |
| 'ipaddr' => ipaddr, |
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
| <module>::a2enmod { [mod1, mod2, mod3]: } |
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
| begin | |
| require 'rubygems' | |
| require 'json' | |
| rescue LoadError => e | |
| require File.expand_path(File.join(File.dirname(__FILE__), 'vendor')) | |
| Vendor.load_vendored | |
| end | |
| users_hash = nil |
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
| puppetdb::java_args: | |
| '-Xmx': 512m | |
| '-Xms': '256m |
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
| class <company>::puppetdb::server::extra ( | |
| $memory_allocation = '192m' | |
| ) | |
| { | |
| # Restart the PuppetDB service if settings change | |
| Class[<company>::puppetdb::server::extra] ~> Class[puppetdb::server] | |
| file { '/etc/sysconfig/puppetdb': | |
| ensure => present, | |
| content => template('mobistar/sysconfig/puppetdb.erb') |
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
| # namei -om /home/git/gitlab/public | |
| f: /home/git/gitlab/public | |
| dr-xr-xr-x root root / | |
| drwxr-xr-x root root home | |
| drwxrwx--x git git git | |
| drwxrwxr-x git git gitlab | |
| drwxrwxrwx git git public |
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
| source 'https://rubygems.org' | |
| gem "puppet", "~> 3" | |
| gem "highline" | |
| gem "ruby-progressbar" | |
| gem "rake" |