Repository: ambari Updated Branches: refs/heads/trunk 84d5786e0 -> c34090aea
AMBARI-6010. "No such service ambari-agent" when trying to use service cmd on agent on SUSE (aonishuk) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/c34090ae Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/c34090ae Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/c34090ae Branch: refs/heads/trunk Commit: c34090aeae5fe368d8e59a3871f6344c005e91b9 Parents: 84d5786 Author: Andrew Onishuk <[email protected]> Authored: Wed Jun 4 14:53:54 2014 +0300 Committer: Andrew Onishuk <[email protected]> Committed: Wed Jun 4 14:53:54 2014 +0300 ---------------------------------------------------------------------- ambari-agent/pom.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/c34090ae/ambari-agent/pom.xml ---------------------------------------------------------------------- diff --git a/ambari-agent/pom.xml b/ambari-agent/pom.xml index da88261..fa59a24 100644 --- a/ambari-agent/pom.xml +++ b/ambari-agent/pom.xml @@ -342,6 +342,17 @@ </sources> </mapping> <mapping> + <directory>/etc/init.d</directory> + <filemode>755</filemode> + <username>root</username> + <groupname>root</groupname> + <sources> + <softlinkSource> + <location>/etc/rc.d/init.d/ambari-agent</location> + </softlinkSource> + </sources> + </mapping> + <mapping> <directory>/var/lib/${project.artifactId}/data</directory> <filemode>755</filemode> <username>root</username>
