You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by "Chamila de Alwis (JIRA)" <ji...@apache.org> on 2014/08/18 06:31:18 UTC
[jira] [Created] (STRATOS-749) Redundant and unused variables in
puppet3-agent/init.sh
Chamila de Alwis created STRATOS-749:
----------------------------------------
Summary: Redundant and unused variables in puppet3-agent/init.sh
Key: STRATOS-749
URL: https://issues.apache.org/jira/browse/STRATOS-749
Project: Stratos
Issue Type: Improvement
Reporter: Chamila de Alwis
Priority: Minor
Following variables seem to be unused after declaration.
Line 38: PUPPETD=`which puppet` is declared and used subsequently in PUPPETAGENT and COMMAND. However when actually running the puppet agent at line 126 PUPPET is declared again and used to construct the puppet agent command.
The method read_master() is also not used in the script.
These can be removed for clarity since they are declared again when puppet agent command is actually used.
--
This message was sent by Atlassian JIRA
(v6.2#6252)