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
WSGISocketPrefix /var/run/httpd | |
<VirtualHost *:80> | |
ServerName graphite.test.com | |
DocumentRoot /opt/graphite/webapp | |
WSGIDaemonProcess graphite processes=5 threads=5 display-name='%{GROUP}' inactivity-timeout=120 | |
WSGIProcessGroup graphite | |
WSGIApplicationGroup %{GLOBAL} |
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=true sfn describe tc3-dr | |
ERROR: Miasma::Error::ApiError::RequestError: Forbidden | |
/Users/craigs/.rvm/gems/ruby-2.0.0-p643/gems/miasma-0.2.30/lib/miasma/types/api.rb:114:in `block in request' | |
/Users/craigs/.rvm/gems/ruby-2.0.0-p643/gems/bogo-0.1.30/lib/bogo/retry.rb:65:in `call' | |
/Users/craigs/.rvm/gems/ruby-2.0.0-p643/gems/bogo-0.1.30/lib/bogo/retry.rb:65:in `run!' | |
/Users/craigs/.rvm/gems/ruby-2.0.0-p643/gems/miasma-0.2.30/lib/miasma/types/api.rb:136:in `retryable_request' | |
/Users/craigs/.rvm/gems/ruby-2.0.0-p643/gems/miasma-0.2.30/lib/miasma/types/api.rb:111:in `request' | |
/Users/craigs/.rvm/gems/ruby-2.0.0-p643/gems/miasma-aws-0.1.26/lib/miasma-aws/api/sts.rb:31:in `assume_role' | |
/Users/craigs/.rvm/gems/ruby-2.0.0-p643/gems/miasma-aws-0.1.26/lib/miasma/contrib/aws.rb:474:in `sts_assume_role!' | |
/Users/craigs/.rvm/gems/ruby-2.0.0-p643/gems/miasma-aws-0.1.26/lib/miasma/contrib/aws.rb:405:in `custom_setup' |
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
-- | |
-- Author:: <%= @author_name %> / <%= @author_email %> | |
-- Cookbook Name:: smashrun | |
-- Templates:: <%= @basesql_template %> | |
-- | |
-- Copyright 2010, Smashrun, Inc. | |
-- | |
-- Licensed under the Apache License, Version 2.0 (the "License"); | |
-- you may not use this file except in compliance with the License. | |
-- You may obtain a copy of the License at |
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
-- | |
-- Author:: <%= @author_name %> / <%= @author_email %> | |
-- Cookbook Name:: smashrun | |
-- Templates:: <%= @basesql_template %> | |
-- | |
-- Copyright 2010, Smashrun, Inc. | |
-- | |
-- Licensed under the Apache License, Version 2.0 (the "License"); | |
-- you may not use this file except in compliance with the License. | |
-- You may obtain a copy of the License at |
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
-- | |
-- Author:: <%= @author_name %> / <%= @author_email %> | |
-- Cookbook Name:: smashrun | |
-- Templates:: <%= @basesql_template %> | |
-- | |
-- Copyright 2010, Smashrun, Inc. | |
-- | |
-- Licensed under the Apache License, Version 2.0 (the "License"); | |
-- you may not use this file except in compliance with the License. | |
-- You may obtain a copy of the License at |
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
-- | |
-- Author:: <%= @author_name %> / <%= @author_email %> | |
-- Cookbook Name:: windows | |
-- Templates:: <%= @basesql_template %> | |
-- | |
-- Copyright 2010, Smashrun, Inc. | |
-- | |
-- Licensed under the Apache License, Version 2.0 (the "License"); | |
-- you may not use this file except in compliance with the License. | |
-- You may obtain a copy of the License at |
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
:: chef template <%= @executesql_template %> | |
:: becomes "<%= @executesql_bat %>" on the server | |
:: generic execute sql wrapper - <%= @author_name %> / <%= @author_email %> | |
:: requires chef / internet connectivity to opsware git repo | |
:: initial version 2011:09:19 15:01:00 EST | |
:: pass SQL sa passwd as ARG1 | |
:: pass SQL script as ARG2 | |
:: pass SQL logfile as ARG3 |
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
# | |
# Cookbook Name:: smashrun | |
# Recipe:: postrestoredb.rb | |
# | |
# Copyright 2010, Smashrun, Inc. | |
# Author:: Steven Craig <[email protected]> | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at |
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
# | |
# Cookbook Name:: smashrun | |
# Attributes:: restoredb | |
# | |
# Copyright 2010, Smashrun, Inc. | |
# Author:: Steven Craig <[email protected]> | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at |
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
# | |
# Cookbook Name:: smashrun | |
# Recdbe:: restoredb | |
# | |
# Copyright 2010, Smashrun, Inc. | |
# Author:: Steven Craig <[email protected]> | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at |
NewerOlder