canonical / charmcraft

Collaborate, build and publish charmed operators for Kubernetes, Linux and Windows.
Apache License 2.0
66 stars 71 forks source link

Init output issue #1259

Closed dstathis closed 1 year ago

dstathis commented 1 year ago

Bug Description

When you run charmcraft init --profile machine, the output instructs you to edit config.yaml but it does not exist.

To Reproduce

Run charmcraft init --profile machine.

Environment

$ charmcraft version
2.4.1

charmcraft.yaml

-

Relevant log output

dylan@protostar:~/repos/prometheus-snmp-exporter$ charmcraft init --profile machine
Charmed operator package file and directory tree initialised.                                                                

Now edit the following package files to provide fundamental charm metadata and other information:                            

metadata.yaml                                                                                                                
config.yaml                                                                                                                  
src/charm.py                                                                                                                 
README.md

dylan@protostar:~/repos/prometheus-snmp-exporter$ cat config.yaml
cat: config.yaml: No such file or directory
lengau commented 1 year ago

Thanks for the report! This was fixed in #1149 and will be included in our next stable release.