Milimetric has uploaded a new change for review. https://gerrit.wikimedia.org/r/304833
Change subject: Remove newline from rendered password ...................................................................... Remove newline from rendered password Change-Id: Ie401ccbb7f029f8191dce32b638784d32cb1466f --- M modules/role/manifests/analytics_cluster/mysql_password.pp 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/33/304833/1 diff --git a/modules/role/manifests/analytics_cluster/mysql_password.pp b/modules/role/manifests/analytics_cluster/mysql_password.pp index 01fcbf1..61e2d08 100644 --- a/modules/role/manifests/analytics_cluster/mysql_password.pp +++ b/modules/role/manifests/analytics_cluster/mysql_password.pp @@ -15,7 +15,7 @@ $path = '/user/hdfs/mysql-analytics-research-client-pw.txt' exec { 'hdfs_put_mysql-analytics-research-client-pw.txt': - command => "/bin/echo ${password} | /usr/bin/hdfs dfs -put - ${path} && /usr/bin/hdfs dfs -chmod 600 ${path}", + command => "/bin/echo -n "${password}" | /usr/bin/hdfs dfs -put - ${path} && /usr/bin/hdfs dfs -chmod 600 ${path}", unless => "/usr/bin/hdfs dfs -test -e ${path}", user => 'hdfs', } -- To view, visit https://gerrit.wikimedia.org/r/304833 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie401ccbb7f029f8191dce32b638784d32cb1466f Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Milimetric <dandree...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits