Skip to content

Commit

Permalink
Fix error createfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mikolajs committed Oct 24, 2013
1 parent d0f9177 commit ecce5e6
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 7 deletions.
10 changes: 10 additions & 0 deletions ansible_commands.txt
@@ -0,0 +1,10 @@
#polecenia ansible

#pingowanie
ansible all -m ping

#uruchamianie komendy
ansible all -a "comand full" --user=administrator -K

#instalacja pakietu
ansible all -m apt -a "pkg=eclipse state=present" --user=administrator -K
2 changes: 1 addition & 1 deletion client-bin/install.sh
Expand Up @@ -30,7 +30,7 @@ cp pinger $BINARY_PATH
echo "#!/bin/sh" > $INITD_PATH
echo "#start pinger-ansible" >> $INITD_PATH
echo " " >> $INITD_PATH
echo "/usr/bin/pinger-ansible" >> $INITD_PATH
echo "/usr/bin/pinger-ansible &" >> $INITD_PATH
echo " " >> $INITD_PATH

ln -s $INITD_PATH /etc/rc5.d/S78pinger-ansible
Expand Down
47 changes: 43 additions & 4 deletions hosts
@@ -1,6 +1,45 @@

[ms-laptop]
127.0.0.1

[misiak]
127.0.0.1
[PC14]
10.0.0.13

[PC13]
10.0.0.11

[PC12]
10.0.0.18

[PC11]
10.0.0.9

[PC10]
10.0.0.8

[PC09]
10.0.0.10

[PC08]
10.0.0.26

[PC07]
10.0.0.12

[PC06]
10.0.0.7

[PC05]
10.0.0.5

[PC04]
10.0.0.17

[PC03]
10.0.0.4

[PC02]
10.0.0.3

[PC01]
10.0.0.2


2 changes: 1 addition & 1 deletion webapt/build.sbt
Expand Up @@ -5,7 +5,7 @@ organization := "pl.brosbit"

name := "webapt"

version := "0.1"
version := "0.1.1"

scalaVersion := "2.10.2"

Expand Down
2 changes: 1 addition & 1 deletion webapt/src/main/scala/pl/brosbit/MyService.scala
Expand Up @@ -23,7 +23,7 @@ class MyServiceActor extends Actor with MyService {
def receive = runRoute(myRoute)

override def saveData() = dbActor ! HostData.getAllHosts.toList
override def createFile() {dbActor ! "save"}
override def createFile() {HostData.createFile}
}

// this trait defines our service behavior independently from the service actor
Expand Down

0 comments on commit ecce5e6

Please sign in to comment.