Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
# Codenvy, S.A. - initial API and implementation
#

che.openshift.api.endpoint=https://api.codenvy.openshift.com
#che.openshift.api.endpoint=https://api.codenvy.openshift.com
10 changes: 10 additions & 0 deletions dockerfiles/init/addon/modules/addon/manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,15 @@
ensure => "present",
content => template("addon/openshift.properties.erb"),
mode => "644",
} ->
file { "/opt/che/config/plugin-conf":
ensure => "directory",
mode => "755",
} ->
# creating ws-agent.properties
file { "/opt/che/config/plugin-conf/ws-agent.properties":
ensure => "present",
content => template("addon/ws-agent.properties.erb"),
mode => "644",
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# ###################################
# This file is managed by puppet
# PLEASE DON'T MODIFY BY HAND
# ###################################

che.openshift.api.endpoint=<%= scope.lookupvar('addon::che_openshift_api_endpoint') %>