diff --git a/CHANGELOG.md b/CHANGELOG.md index 1afb75c..e116b6c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## 0.2.7 + +* Bugfix v3user encpass variable was not taken into account + ## 0.2.6 * Added **snmpd::extend** diff --git a/manifests/v3user.pp b/manifests/v3user.pp index f654327..296a848 100644 --- a/manifests/v3user.pp +++ b/manifests/v3user.pp @@ -24,7 +24,7 @@ } exec { "create snmpdv3 user ${username}": - command => "/usr/local/bin/puppet_net-snmp-create-v3-user ${ro_flag} -A ${authpass} -a ${auth_algorithm} -X ${authpass} -x ${enc_algorithm} ${username}", + command => "/usr/local/bin/puppet_net-snmp-create-v3-user ${ro_flag} -A ${authpass} -a ${auth_algorithm} -X ${encpass} -x ${enc_algorithm} ${username}", # unless => "grep '${username}' ${snmpd::params::net_snmpd_persistent_datafile}", unless => "snmpwalk -v3 -l authPriv -u nttrmmon -a SHA -A \"${authpass}\" -x AES -X \"${authpass}\" 127.0.0.1 .1.3.6.1.6.3.15.1.2.2.1.3 -t 1 -r 1", path => '/usr/sbin:/usr/bin:/sbin:/bin', diff --git a/metadata.json b/metadata.json index 9402fad..3253e50 100644 --- a/metadata.json +++ b/metadata.json @@ -1,6 +1,6 @@ { "name": "eyp-snmpd", - "version": "0.2.6", + "version": "0.2.7", "author": "eyp", "summary": "SNMP agent management", "license": "Apache-2.0",