You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
Alexandre Mclean
alexandrem
Software engineer, cloud administrator and open source enthusiast.
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
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
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
writing to template {1399232203 1399318603 [{test.metric2 ReadMetric("test.metric2")} {derivative(test.metric1) functions.ProcessDerivative(
ReadMetric("test.metric1"))}]}
executing: go run executor-5577006791947779410.go data.go
stdout:
sterr: # command-line-arguments
./executor-5577006791947779410.go:21: cannot use config (type "_/root/go/src/github.com/graphite-ng/graphite-ng/config".Main) as type "github.com/graphite-ng/graphite-ng/config".Main in function argument
./executor-5577006791947779410.go:30: cannot use ReadMetric("test.metric2") (type "github.com/graphite-ng/graphite-ng/chains".ChainEl) as type "_/root/go/src/github.com/graphite-ng/graphite-ng/chains".ChainEl in assignment
./executor-5577006791947779410.go:34: cannot use dep_el (type "_/root/go/src/github.com/graphite-ng/graphite-ng/chains".ChainEl) as type "github.com/graphite-ng/graphite-ng/chains".ChainEl in function argument
./executor-5577006791947779410.go:40: cannot use functions.ProcessDerivative(ReadMetric("test.metric1")) (type "githu
#Why?
Current version of Ansible (1.7.1) does not merge hashes in the include_vars task even if told so via hash_behaviour = merge in your ansible.cfg. ansible/ansible#9116
This action plugin will merge hashes no matter how you have configured your hash_behaviour.
#Compatibility
Tested on Ansible 1.9.0.1
#Updates
Now works both for explicit inventory hosts and aliases (e.g ansible_ssh_host)
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
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
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
This is not official documentation/tooling, use with caution
This generate the Kubernetes definitions of the cattle-cluster-agent Deployment and cattle-node-agent DaemonSet, in case it's accidentally removed/server-url was changed/certficates were changed. It is supposed to run on every cluster Rancher manages. If you have custom clusters created in Rancher, see Kubeconfig for Custom clusters created in Rancher how to obtain the kubeconfig to directly talk to the Kubernetes API (as usually it doesn't work via Rancher anymore). For other clusters, use the tools provided by the provider to get the kubeconfig.
IMPORTANT: You get the cluster/node agents definitions from Rancher, and you apply them to the cluster that is created/managed so you need to switch kubeconfig to point to that cluster before applying them.
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