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
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags origin master:master | |
Pushing to http://gitlab01.vm.super-visions.com/root/puppetlabs-mysql.git | |
POST git-receive-pack (424 bytes) | |
remote: /usr/local/rvm/gems/ruby-1.9.3-p448@global/gems/bundler-1.5.2/lib/bundler/dsl.rb:33:in `eval_gemfile': Gemfile syntax error: (Bundler::GemfileError) | |
remote: /home/git/gitlab/Gemfile:20: syntax error, unexpected ':', expecting $end | |
remote: gem "mysql2", group: :mysql | |
remote: ^ | |
remote: from /usr/local/rvm/gems/ruby-1.9.3-p448@global/gems/bundler-1.5.2/lib/bundler/dsl.rb:9:in `evaluate' | |
remote: from /usr/local/rvm/gems/ruby-1.9.3-p448@global/gems/bundler-1.5.2/lib/bundler/definition.rb:26:in `build' | |
remote: from /usr/local/rvm/gems/ruby-1.9.3-p448@global/gems/bundler-1.5.2/lib/bundler.rb:152:in `definition' |
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
-bash-4.1$ puppet apply -e 'notify{"$::architecture":}' | |
Notice: Compiled catalog for gitlab01.vm.super-visions.com in environment production in 0.02 seconds | |
Notice: x86_64 | |
Notice: /Stage[main]/Main/Notify[x86_64]/message: defined 'message' as 'x86_64' | |
Notice: Finished catalog run in 0.03 seconds |
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
$users = { | |
'gitlab_user@localhost' => { | |
ensure => 'present', | |
password_hash => mysql_password('changeme'), | |
}, | |
} | |
$grants = { | |
'gitlab_user@localhost/gitlab_db.*' => { | |
ensure => 'present', |
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
Debug: Exec[install gitlab](provider=posix): Executing check 'bundle check' | |
Debug: Executing 'bundle check' | |
Debug: /Stage[main]/Gitlab::Install/Exec[install gitlab]/unless: Gemfile syntax error: | |
Debug: /Stage[main]/Gitlab::Install/Exec[install gitlab]/unless: /home/git/gitlab/Gemfile:20: syntax error, unexpected ':', expecting $end | |
Debug: /Stage[main]/Gitlab::Install/Exec[install gitlab]/unless: gem "mysql2", group: :mysql | |
Debug: /Stage[main]/Gitlab::Install/Exec[install gitlab]/unless: ^ | |
Debug: Exec[install gitlab](provider=posix): Executing 'bundle install --without development aws test postgres --deployment' | |
Debug: Executing 'bundle install --without development aws test postgres --deployment' | |
Notice: /Stage[main]/Gitlab::Install/Exec[install gitlab]/returns: Gemfile syntax error: | |
Notice: /Stage[main]/Gitlab::Install/Exec[install gitlab]/returns: /home/git/gitlab/Gemfile:20: syntax error, unexpected ':', expecting $end |
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
packages: | |
fuse: | |
ensure: present | |
git: | |
ensure: present |
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
line => "${headline} | |
${web_service['name']} | |
${web_service['port']}" |
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
# from http://puppetlabs.com/blog/facter-part-1-facter-101 | |
Facter.add("cache_folder_created") do | |
setcode do | |
File.exists?('/data/cache') | |
end | |
end - See more at: http://puppetlabs.com/blog/facter-part-1-facter-101#sthash.2wNn33Mx.dpuf |
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
# a config.ru, for use with every rack-compatible webserver. | |
# SSL needs to be handled outside this, though. | |
# if puppet is not in your RUBYLIB: | |
# $LOAD_PATH.unshift('/opt/puppet/lib') | |
$0 = "master" | |
# if you want debugging: | |
# ARGV << "--debug" |
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 : | |
hostname = 'pt01' | |
fqdn = 'pt01.vm.some.where' | |
ip_addr = '10.10.10.101' | |
Vagrant.configure("2") do |config| | |
# All Vagrant configuration is done here. The most common configuration |
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
require 'win32/registry' | |
Win32::Registry::HKEY_LOCAL_MACHINE.open('Software\Microsoft\Windows\CurrentVersion\Uninstall') do |reg| | |
reg.each_key do |key1,key2| | |
k = reg.open(key1) | |
# puts key1 | |
# puts k["DisplayName"] rescue "?" | |
# puts k["DisplayVersion"] rescue "?" | |
# puts k["Publisher"] rescue "?" | |
# puts k["URLInfoAbout"] rescue "?" |