diff options
-rw-r--r-- | interface-definitions/salt-minion.xml | 2 | ||||
-rwxr-xr-x | src/conf_mode/salt-minion.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/interface-definitions/salt-minion.xml b/interface-definitions/salt-minion.xml index 97e24f7..04ce045 100644 --- a/interface-definitions/salt-minion.xml +++ b/interface-definitions/salt-minion.xml @@ -60,7 +60,7 @@ <multi/> </properties> </leafNode> - <leafNode name="ID"> + <leafNode name="id"> <properties> <help>Explicitly declare the id for this minion to use.</help> </properties> diff --git a/src/conf_mode/salt-minion.py b/src/conf_mode/salt-minion.py index 1ee0659..303ddae 100755 --- a/src/conf_mode/salt-minion.py +++ b/src/conf_mode/salt-minion.py @@ -128,8 +128,8 @@ def get_config(): master = conf.return_values('master') salt['master'] = master - if conf.exists('ID'): - salt['salt_id'] = conf.return_value('ID') + if conf.exists('id'): + salt['salt_id'] = conf.return_value('id') if conf.exists('user'): salt['user'] = conf.return_value('user') |