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
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"path/filepath" | |
"gopkg.in/yaml.v2" | |
) | |
type Config struct { |
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
package main | |
import ( | |
//"flag" | |
"fmt" | |
"gopkg.in/yaml.v2" | |
"io/ioutil" | |
"os" | |
"path/filepath" | |
) |
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
{ | |
{ | |
"hostname": "hostname", # HostName string `yaml:"hostname"` | |
"ops_params": { OpsParams map[string]string `yaml:"ops_params"` | |
"environment": "environment", | |
"lifecycle": "lifecycle", | |
}, | |
"colo": "dc1", Colo string `yaml:"colo"` | |
"params": { Params `yaml:"params"` | |
"libvirt": { |
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
{ | |
"ci-vmhost": { | |
"Hostname": {}, | |
"OpsParams": null, | |
"HostName": "", | |
"Colo": "" | |
}, |
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
params: | |
libvirt: | |
guests: | |
test2: | |
cpus: 12 | |
disk: 390 | |
mem: 45 | |
type: kvm | |
test2: | |
cpus: 12 |
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
{ | |
#index results | |
"_meta" : { | |
"hostvars" : | |
data from cache | |
} | |
} |
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
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"github.com/MichaelTJones/walk" | |
flag "github.com/ogier/pflag" | |
"gopkg.in/yaml.v2" | |
"io/ioutil" | |
//"log" |
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
{ | |
{ | |
"infrastructure-shared": [ | |
"ops-tooling-vmhost1", | |
"ops-tooling-vmhost2" | |
] | |
}, | |
"_meta" : { | |
"hostvars" : { |
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
error[E0277]: the trait bound `(i32, i32, std::string::String, std::string::String, bool): diesel::Queryable<(diesel::types::Integer, diesel::types::Integer, diesel::types::Text, diesel::types::Text, diesel::types::Text, diesel::types::Text, diesel::types::Bool), diesel::pg::Pg>` is not satisfied | |
--> src/lib.rs:89:10 | |
| | |
89 | .get_result(&*conn) | |
| ^^^^^^^^^^ the trait `diesel::Queryable<(diesel::types::Integer, diesel::types::Integer, diesel::types::Text, diesel::types::Text, diesel::types::Text, diesel::types::Text, diesel::types::Bool), diesel::pg::Pg>` is not implemented for `(i32, i32, std::string::String, std::string::String, bool)` | |
| | |
= help: the following implementations were found: | |
<(A, B, C, D, E) as diesel::Queryable<(SA, SB, SC, SD, SE), DB>> | |
= note: required because of the requirements on the impl of `diesel::Queryable<(diesel::types::Integer, diesel::types::Integer, diesel::types::Text, diesel::types::Text, diesel::types::Text, diesel::types::Text, dies |
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
Compiling rocket_contrib v0.4.0-rc.1 (https://github.com/SergioBenitez/Rocket#59e27820) | |
error[E0277]: the trait bound `templates::fairing::context::notify::Error: std::convert::From<std::io::Error>` is not satisfied | |
--> /Users/rlewon/.cargo/git/checkouts/rocket-8bf16d9ca7e90bdc/59e2782/contrib/lib/src/templates/fairing.rs:58:31 | |
| | |
58 | watcher.watch(ctxt.root.canonicalize()?, RecursiveMode::Recursive)?; | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From<std::io::Error>` is not implemented for `templates::fairing::context::notify::Error` | |
| | |
= note: required by `std::convert::From::from` | |
error: aborting due to previous error |