Skip to content

Commit

Permalink
Merge pull request #399 from doktornotor/patch-3
Browse files Browse the repository at this point in the history
  • Loading branch information
sbeaver-netgate committed Aug 22, 2017
2 parents 280bea3 + f5418e6 commit bfd511f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion net-mgmt/pfSense-pkg-Telegraf/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# $FreeBSD$

PORTNAME= pfSense-pkg-Telegraf
PORTVERSION= 0.2
PORTVERSION= 0.3
CATEGORIES= net-mgmt
MASTER_SITES= # empty
DISTFILES= # empty
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ EOD;
$cfg .= "\tusername = \"" . $telegraf_conf['influx_user'] . "\"\n";
}
if (!empty($telegraf_conf['influx_pass'])) {
$cfg .= "\tpassword = \"" . $telegraf_conf['influx_pass'] . "\"\n";
$cfg .= "\tpassword = \"" . base64_decode($telegraf_conf['influx_pass']) . "\"\n";
}
$conffile = "/usr/local/etc/telegraf.conf";
file_put_contents($conffile, $cfg);
Expand Down

0 comments on commit bfd511f

Please sign in to comment.