Last active
December 18, 2015 03:49
-
-
Save bwhaley/5721421 to your computer and use it in GitHub Desktop.
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
# pip does not install carbon and graphite_web to the standard location, | |
# so 'pip freeze' does not list it and puppet attempts to install on each | |
# run. with this hack, the 'pip freeze' command lists them as expected | |
file { | |
"/usr/lib/python2.6/site-packages/carbon-${graphite_ver}-py2.6.egg-info": | |
ensure => directory, | |
mode => 755, | |
require => Package['carbon'], | |
; | |
"/usr/lib/python2.6/site-packages/carbon-${graphite_ver}-py2.6.egg-info/PKG-INFO": | |
content => template('graphite/PKG-INFO.carbon.erb'), | |
require => [Package['carbon'],File["/usr/lib/python2.6/site-packages/carbon-${graphite_ver}-py2.6.egg-info"]] | |
; | |
"/usr/lib/python2.6/site-packages/graphite_web-${graphite_ver}-py2.6.egg-info": | |
ensure => directory, | |
mode => 755, | |
require => Package['graphite-web'], | |
; | |
"/usr/lib/python2.6/site-packages/graphite_web-${graphite_ver}-py2.6.egg-info/PKG-INFO": | |
content => template('graphite/PKG-INFO.graphite_web.erb'), | |
require => [Package['graphite-web'],File["/usr/lib/python2.6/site-packages/graphite_web-${graphite_ver}-py2.6.egg-info"]] | |
; | |
} |
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
Metadata-Version: 1.0 | |
Name: carbon | |
Version: <%=graphite_ver%> | |
Summary: Backend data caching and persistence daemon for Graphite | |
Home-page: https://launchpad.net/graphite | |
Author: Chris Davis | |
Author-email: chrismd@gmail.com | |
License: Apache Software License 2.0 | |
Description: UNKNOWN | |
Platform: UNKNOWN |
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
Metadata-Version: 1.0 | |
Name: graphite-web | |
Version: <%=graphite_ver%> | |
Summary: Enterprise scalable realtime graphing | |
Home-page: https://launchpad.net/graphite | |
Author: Chris Davis | |
Author-email: chrismd@gmail.com | |
License: Apache Software License 2.0 | |
Description: UNKNOWN | |
Platform: UNKNOWN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment