Bug 2218: Fix command for `juju run-action` 85/12985/2
authorDaniel Arndt <daniel.arndt@canonical.com>
Tue, 21 Feb 2023 15:48:27 +0000 (11:48 -0400)
committerDaniel Arndt <daniel.arndt@canonical.com>
Tue, 21 Feb 2023 19:18:29 +0000 (15:18 -0400)
Change-Id: Ife2e8e9f532f3c67c7e2f71d3f77d3e4e7dc5257
Signed-off-by: Daniel Arndt <daniel.arndt@canonical.com>
installers/charm/osm-lcm/config.yaml
installers/charm/osm-mon/config.yaml
installers/charm/osm-nbi/config.yaml
installers/charm/osm-pol/config.yaml

index ac15a0e..e539f7b 100644 (file)
@@ -54,14 +54,14 @@ options:
     type: boolean
     description: |
       Great for OSM Developers! (Not recommended for production deployments)
     type: boolean
     description: |
       Great for OSM Developers! (Not recommended for production deployments)
-        
+
       This action activates the Debug Mode, which sets up the container to be ready for debugging.
       As part of the setup, SSH is enabled and a VSCode workspace file is automatically populated.
 
       After enabling the debug-mode, execute the following command to get the information you need
       to start debugging:
       This action activates the Debug Mode, which sets up the container to be ready for debugging.
       As part of the setup, SSH is enabled and a VSCode workspace file is automatically populated.
 
       After enabling the debug-mode, execute the following command to get the information you need
       to start debugging:
-        `juju run-action get-debug-mode-information <unit name> --wait`
-      
+        `juju run-action <unit name> get-debug-mode-information --wait`
+
       The previous command returns the command you need to execute, and the SSH password that was set.
 
       See also:
       The previous command returns the command you need to execute, and the SSH password that was set.
 
       See also:
@@ -79,7 +79,7 @@ options:
         $ git clone "https://osm.etsi.org/gerrit/osm/LCM" /home/ubuntu/LCM
         $ juju config lcm lcm-hostpath=/home/ubuntu/LCM
 
         $ git clone "https://osm.etsi.org/gerrit/osm/LCM" /home/ubuntu/LCM
         $ juju config lcm lcm-hostpath=/home/ubuntu/LCM
 
-      This configuration only applies if option `debug-mode` is set to true. 
+      This configuration only applies if option `debug-mode` is set to true.
   n2vc-hostpath:
     type: string
     description: |
   n2vc-hostpath:
     type: string
     description: |
@@ -101,4 +101,4 @@ options:
         $ git clone "https://osm.etsi.org/gerrit/osm/common" /home/ubuntu/common
         $ juju config lcm common-hostpath=/home/ubuntu/common
 
         $ git clone "https://osm.etsi.org/gerrit/osm/common" /home/ubuntu/common
         $ juju config lcm common-hostpath=/home/ubuntu/common
 
-      This configuration only applies if option `debug-mode` is set to true. 
+      This configuration only applies if option `debug-mode` is set to true.
index 0163151..cb2eb99 100644 (file)
@@ -96,7 +96,7 @@ options:
 
       After enabling the debug-mode, execute the following command to get the information you need
       to start debugging:
 
       After enabling the debug-mode, execute the following command to get the information you need
       to start debugging:
-        `juju run-action get-debug-mode-information <unit name> --wait`
+        `juju run-action <unit name> get-debug-mode-information --wait`
 
       The previous command returns the command you need to execute, and the SSH password that was set.
 
 
       The previous command returns the command you need to execute, and the SSH password that was set.
 
index cd049ec..85e637a 100644 (file)
@@ -72,14 +72,14 @@ options:
     type: boolean
     description: |
       Great for OSM Developers! (Not recommended for production deployments)
     type: boolean
     description: |
       Great for OSM Developers! (Not recommended for production deployments)
-        
+
       This action activates the Debug Mode, which sets up the container to be ready for debugging.
       As part of the setup, SSH is enabled and a VSCode workspace file is automatically populated.
 
       After enabling the debug-mode, execute the following command to get the information you need
       to start debugging:
       This action activates the Debug Mode, which sets up the container to be ready for debugging.
       As part of the setup, SSH is enabled and a VSCode workspace file is automatically populated.
 
       After enabling the debug-mode, execute the following command to get the information you need
       to start debugging:
-        `juju run-action get-debug-mode-information <unit name> --wait`
-      
+        `juju run-action <unit name> get-debug-mode-information --wait`
+
       The previous command returns the command you need to execute, and the SSH password that was set.
 
       See also:
       The previous command returns the command you need to execute, and the SSH password that was set.
 
       See also:
@@ -96,7 +96,7 @@ options:
         $ git clone "https://osm.etsi.org/gerrit/osm/NBI" /home/ubuntu/NBI
         $ juju config nbi nbi-hostpath=/home/ubuntu/NBI
 
         $ git clone "https://osm.etsi.org/gerrit/osm/NBI" /home/ubuntu/NBI
         $ juju config nbi nbi-hostpath=/home/ubuntu/NBI
 
-      This configuration only applies if option `debug-mode` is set to true. 
+      This configuration only applies if option `debug-mode` is set to true.
 
   common-hostpath:
     type: string
 
   common-hostpath:
     type: string
@@ -108,4 +108,4 @@ options:
         $ git clone "https://osm.etsi.org/gerrit/osm/common" /home/ubuntu/common
         $ juju config nbi common-hostpath=/home/ubuntu/common
 
         $ git clone "https://osm.etsi.org/gerrit/osm/common" /home/ubuntu/common
         $ juju config nbi common-hostpath=/home/ubuntu/common
 
-      This configuration only applies if option `debug-mode` is set to true. 
+      This configuration only applies if option `debug-mode` is set to true.
index df275c9..a92100d 100644 (file)
@@ -41,7 +41,7 @@ options:
     description: |
       Mysql URI with the following format:
         mysql://<user>:<password>@<mysql_host>:<mysql_port>/<database>
     description: |
       Mysql URI with the following format:
         mysql://<user>:<password>@<mysql_host>:<mysql_port>/<database>
-      
+
       This should be removed after the mysql-integrator charm is made.
 
       If provided, this config will override the mysql relation.
       This should be removed after the mysql-integrator charm is made.
 
       If provided, this config will override the mysql relation.
@@ -51,21 +51,21 @@ options:
     type: boolean
     description: |
       Great for OSM Developers! (Not recommended for production deployments)
     type: boolean
     description: |
       Great for OSM Developers! (Not recommended for production deployments)
-        
+
       This action activates the Debug Mode, which sets up the container to be ready for debugging.
       As part of the setup, SSH is enabled and a VSCode workspace file is automatically populated.
 
       After enabling the debug-mode, execute the following command to get the information you need
       to start debugging:
       This action activates the Debug Mode, which sets up the container to be ready for debugging.
       As part of the setup, SSH is enabled and a VSCode workspace file is automatically populated.
 
       After enabling the debug-mode, execute the following command to get the information you need
       to start debugging:
-        `juju run-action get-debug-mode-information <unit name> --wait`
-      
+        `juju run-action <unit name> get-debug-mode-information --wait`
+
       The previous command returns the command you need to execute, and the SSH password that was set.
 
       See also:
         - https://charmhub.io/osm-pol/configure#pol-hostpath
         - https://charmhub.io/osm-pol/configure#common-hostpath
     default: false
       The previous command returns the command you need to execute, and the SSH password that was set.
 
       See also:
         - https://charmhub.io/osm-pol/configure#pol-hostpath
         - https://charmhub.io/osm-pol/configure#common-hostpath
     default: false
-  
+
   pol-hostpath:
     type: string
     description: |
   pol-hostpath:
     type: string
     description: |
@@ -76,7 +76,7 @@ options:
         $ git clone "https://osm.etsi.org/gerrit/osm/POL" /home/ubuntu/POL
         $ juju config pol pol-hostpath=/home/ubuntu/POL
 
         $ git clone "https://osm.etsi.org/gerrit/osm/POL" /home/ubuntu/POL
         $ juju config pol pol-hostpath=/home/ubuntu/POL
 
-      This configuration only applies if option `debug-mode` is set to true. 
+      This configuration only applies if option `debug-mode` is set to true.
 
   common-hostpath:
     type: string
 
   common-hostpath:
     type: string
@@ -88,4 +88,4 @@ options:
         $ git clone "https://osm.etsi.org/gerrit/osm/common" /home/ubuntu/common
         $ juju config pol common-hostpath=/home/ubuntu/common
 
         $ git clone "https://osm.etsi.org/gerrit/osm/common" /home/ubuntu/common
         $ juju config pol common-hostpath=/home/ubuntu/common
 
-      This configuration only applies if option `debug-mode` is set to true. 
+      This configuration only applies if option `debug-mode` is set to true.