Skip to content

Commit 961cd26

Browse files
committed
Remove charmstore from examples
1 parent 5c72197 commit 961cd26

19 files changed

Lines changed: 22 additions & 25 deletions

examples/add_machine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ async def main():
4444

4545
# deploy charm to the lxd container
4646
application = await model.deploy(
47-
'cs:ubuntu-10',
47+
'ch:ubuntu',
4848
application_name='ubuntu',
4949
series='xenial',
5050
channel='stable',

examples/add_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ async def main():
2929

3030
print('Deploying ubuntu')
3131
application = await model.deploy(
32-
'cs:ubuntu-10',
32+
'ch:ubuntu',
3333
application_name='ubuntu',
3434
series='trusty',
3535
channel='stable',

examples/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ async def main():
2222
await model.connect()
2323

2424
ubuntu_app = await model.deploy(
25-
'cs:mysql',
25+
'ch:mysql',
2626
application_name='mysql',
2727
series='trusty',
2828
channel='stable',

examples/credential.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ async def main(cloud_name, credential_name):
2222

2323
# verify we can deploy
2424
print('Deploying ubuntu')
25-
app = await model.deploy('cs:ubuntu-10')
25+
app = await model.deploy('ch:ubuntu')
2626

2727
print('Waiting for active')
2828
await model.block_until(

examples/crossmodel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ async def main():
2929

3030
print('Deploying mysql')
3131
application = await offering_model.deploy(
32-
'cs:mysql',
32+
'ch:mysql',
3333
application_name='mysql',
3434
series='trusty',
3535
channel='stable',

examples/crossmodel_bundle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ async def main():
3232

3333
print('Deploying mysql')
3434
application_1 = await offering_model.deploy(
35-
'cs:mysql-58',
35+
'ch:mysql',
3636
application_name='mysql',
3737
series='xenial',
3838
channel='stable',

examples/crossmodel_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ async def main():
3737

3838
print('Deploying mysql')
3939
application = await offering_model.deploy(
40-
'cs:mysql',
40+
'ch:mysql',
4141
application_name='mysql',
4242
series='trusty',
4343
channel='stable',

examples/crossmodel_relation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ async def main():
3232

3333
print('Deploying mysql')
3434
application_1 = await offering_model.deploy(
35-
'cs:mysql-58',
35+
'ch:mysql',
3636
application_name='mysql',
3737
series='xenial',
3838
channel='stable',
@@ -55,7 +55,7 @@ async def main():
5555

5656
print('Deploying wordpress')
5757
application_2 = await consuming_model.deploy(
58-
'cs:trusty/wordpress-5',
58+
'ch:trusty/wordpress',
5959
application_name='wordpress',
6060
series='xenial',
6161
channel='stable',

examples/debug-log.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ async def main():
2020
)
2121

2222
application = await model.deploy(
23-
'cs:ubuntu-10',
23+
'ch:ubuntu',
2424
application_name='ubuntu',
2525
series='trusty',
2626
channel='stable',

examples/deploy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ async def main():
1919
try:
2020
print('Deploying ubuntu')
2121
application = await model.deploy(
22-
'cs:ubuntu-10',
22+
'ch:ubuntu',
2323
application_name='ubuntu',
2424
series='trusty',
2525
channel='stable',

0 commit comments

Comments
 (0)