This file contains 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
--- !ruby/object:Gem::Specification | |
name: puppet | |
version: !ruby/object:Gem::Version | |
version: 0.25.3 | |
platform: ruby | |
authors: | |
- Reductive Labs | |
autorequire: | |
bindir: bin | |
cert_chain: [] |
This file contains 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
# script/console | |
include IssuesHelper | |
include CustomFieldsHelper | |
# All issues and projects | |
File.open('output-file.csv','w') do |f| | |
f.puts issues_to_csv(Issue.all) | |
end | |
# the "puppet" project |
This file contains 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
set background=dark | |
set showmatch | |
set showmode | |
set showcmd | |
set ruler | |
set title | |
set wildmenu | |
set esckeys | |
set ignorecase | |
set smartcase |
This file contains 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
ralsh file /etc/hosts |
This file contains 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
ralsh file /etc/hosts |
This file contains 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 { '/etc/hosts': | |
type => 'file', | |
ctime => 'Thu Mar 03 07:23:11 +1100 2011', | |
ensure => 'file', | |
content => '{md5}69fd72bb330ebe4211aad6f5aba7bd67', | |
group => '0', | |
owner => '0', | |
mode => '644', | |
mtime => 'Thu Mar 03 07:23:11 +1100 2011' | |
} |
This file contains 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
ralsh file /etc/hosts | |
file { '/etc/hosts': | |
type => 'file', | |
ctime => 'Thu Mar 03 07:23:11 +1100 2011', | |
ensure => 'file', | |
content => '{md5}69fd72bb330ebe4211aad6f5aba7bd67', | |
group => '0', | |
owner => '0', | |
mode => '644', | |
mtime => 'Thu Mar 03 07:23:11 +1100 2011' |
This file contains 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 OnDestroyMiddleware | |
def initialize(app, env) | |
@app = app | |
end | |
def call(env) | |
env["config"].vm.provisioners.each do |provisioner| | |
env.ui.info "Attempting to remove client #{provisioner.config.node_name}" | |
`knife client show #{provisioner.config.node_name}` | |
if $?.to_i == 0 |
This file contains 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
%w(rubygems pp sequel fileutils yaml active_support/inflector).each{|g| require g} | |
module WordPress | |
def self.import(database, user, password, table_prefix = "wp", host = 'localhost') | |
db = Sequel.mysql(database, :user => user, :password => password, :host => host, :encoding => 'utf8') | |
%w(_posts _drafts images/posts/featured).each{|folder| FileUtils.mkdir_p folder} | |
query = <<-EOS |
This file contains 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
jamtur01/bunraku | |
jamtur01/puppet-rundeck | |
jamtur01/puppet-datadog-agent | |
jamtur01/puppet-irc | |
jamtur01/puppet-datadog | |
jamtur01/puppet-boxcar | |
jamtur01/puppet-github-face | |
jamtur01/puppet-campfire | |
jamtur01/puppet-noah |
OlderNewer