Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module 'ruamel.yaml.compat' has no attribute 'text_type' #10

Closed
ArjanSchouten opened this issue Sep 10, 2021 · 0 comments
Closed

module 'ruamel.yaml.compat' has no attribute 'text_type' #10

ArjanSchouten opened this issue Sep 10, 2021 · 0 comments

Comments

@ArjanSchouten
Copy link

I want to use yglu with a yaml file which contains a '|'. However, yglu fails with the following error:
module 'ruamel.yaml.compat' has no attribute 'text_type'

Yaml file:

---
applications:
  - name: data-flow-server
    host: data-flow-server
    memory: 2G
    disk_quota: 2G
    instances: 1
    routes:
      - route: !? ('{0}-{1}.{2}').format($env.ENV_VAR, $env.ANOTHER_ENV_VAR, $env.OTHER_ENV_VAR)
    path: somepath
    env:
      SPRING_APPLICATION_NAME: data-flow-server
      SPRING_PROFILES_ACTIVE: cloud
      JBP_CONFIG_SPRING_AUTO_RECONFIGURATION: '{enabled: false}'
      SPRING_CLOUD_SKIPPER_CLIENT_SERVER_URI: https://<skipper-host-name>/api
      SPRING_APPLICATION_JSON: |-
        {
           "maven" : {
               "remoteRepositories" : {
                  "repo1" : {
                    "url" : "https://repo.spring.io/libs-snapshot"
                  }
               }
           }
        }
services:
  - postgresSQL

Example taken from: https://dataflow.spring.io/docs/installation/cloudfoundry/cf-cli/

Is this something that can be fixed?

@lbovet lbovet closed this as completed in bb1fbdf Sep 11, 2021
lbovet added a commit that referenced this issue Sep 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant