Verified Commit 1235d66c authored by Luc Didry's avatar Luc Didry

Change pillar root to `peertube` instead of `hosts`

parent b29bc4c7
Pipeline #132229 passed with stages
in 43 seconds
......@@ -460,7 +460,7 @@ export default {
},
computed: {
yml: function() {
return yaml.safeDump({ hosts: { my_server: this.json } }, { sortKeys: true })
return yaml.safeDump({ peertube: { my_server: this.json } }, { sortKeys: true })
},
pillar: function() {
return window.URL.createObjectURL(
......@@ -508,7 +508,7 @@ export default {
axios.get('peertube.sls')
.then(response => {
this.loaded = true
this.json = yaml.safeLoad(response.data).hosts.my_server
this.json = yaml.safeLoad(response.data).peertube.my_server
})
}
}
......
hosts:
peertube:
my_server:
db_password: ''
apticron:
......
{% set settings = pillar['hosts'][grains['id']] %}
{% set settings = pillar['peertube'][grains['id']] %}
##################
## Dependencies ##
##################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment