Skip to content

Commit 76237e9

Browse files
author
tkrah
committed
Add method get_template_kinds()
1 parent e163482 commit 76237e9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

foreman/foreman.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
SMART_PROXY = 'smart_proxy'
5858
SUBNETS = 'subnets'
5959
SUBNET = 'subnet'
60+
TEMPLATE_KINDS = 'template_kinds'
6061
USERS = 'users'
6162
USER = 'user'
6263

@@ -686,6 +687,9 @@ def update_subnet(self, id, data):
686687
def delete_subnet(self, id):
687688
return self.delete_resource(resource_type=SUBNETS, resource_id=id)
688689

690+
def get_template_kinds(self):
691+
return self.get_resources(resource_type=TEMPLATE_KINDS)
692+
689693
def get_users(self):
690694
return self.get_resources(resource_type=USERS)
691695

0 commit comments

Comments
 (0)