Skip to content

Commit

Permalink
fix(snmp/macros.jinja): apply suggestions
Browse files Browse the repository at this point in the history
Co-authored-by: Imran Iqbal <[email protected]>
  • Loading branch information
2 people authored and Beau Bilyeu committed Feb 9, 2022
1 parent 8ba2f52 commit 4ca9591
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions snmp/macros.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
{%- endfor -%}
{% endmacro -%}

{%- macro v3_createUser_string(user) -%}
{% macro v3_createUser_string(user) -%}
{% set seclevel = user.get('securitylevel', 'auth') -%}
{% set authproto = user.get('authproto', 'SHA') -%}
{% set privproto = user.get('privproto', 'AES') %}
{% set privpass = user.get('privpassphrase', '') %}
{% set privproto = user.get('privproto', 'AES') -%}
{% set privpass = user.get('privpassphrase', '') -%}
createUser {{ user.username }} {{ authproto }} {{ user.authpassphrase }} {{ privproto }} {{ privpass }}
{%- endmacro -%}
{%- endmacro %}

0 comments on commit 4ca9591

Please sign in to comment.