You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by jo...@apache.org on 2014/08/27 16:05:03 UTC
[22/35] git commit: AMBARI-6010. "No such service ambari-agent" when
trying to use service cmd on agent on SUSE (dlysnichenko)
AMBARI-6010. "No such service ambari-agent" when trying to use service cmd on agent on SUSE (dlysnichenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/fb9d884b
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/fb9d884b
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/fb9d884b
Branch: refs/heads/branch-alerts-dev
Commit: fb9d884be4ea4257831d591cd0e4f19c87321e69
Parents: e984e9b
Author: Lisnichenko Dmitro <dl...@hortonworks.com>
Authored: Tue Aug 26 21:26:28 2014 +0300
Committer: Lisnichenko Dmitro <dl...@hortonworks.com>
Committed: Tue Aug 26 21:26:28 2014 +0300
----------------------------------------------------------------------
ambari-agent/pom.xml | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/fb9d884b/ambari-agent/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-agent/pom.xml b/ambari-agent/pom.xml
index ebf30fa..a487aa7 100644
--- a/ambari-agent/pom.xml
+++ b/ambari-agent/pom.xml
@@ -49,6 +49,7 @@
<ambari.server.module>../ambari-server</ambari.server.module>
<target.cache.dir>${project.build.directory}/cache/</target.cache.dir>
<resource.keeper.script>${ambari.server.module}/src/main/python/ambari_server/resourceFilesKeeper.py</resource.keeper.script>
+ <init.d.dir>/etc/rc.d/init.d</init.d.dir>
</properties>
<build>
<plugins>
@@ -349,7 +350,7 @@
<groupname>root</groupname>
</mapping>
<mapping>
- <directory>/etc/rc.d/init.d</directory>
+ <directory>${init.d.dir}</directory>
<filemode>755</filemode>
<username>root</username>
<groupname>root</groupname>
@@ -666,4 +667,12 @@
</extension>
</extensions>
</build>
+ <profiles>
+ <profile>
+ <id>suse11</id>
+ <properties>
+ <init.d.dir>/etc/init.d</init.d.dir>
+ </properties>
+ </profile>
+ </profiles>
</project>