Add unsaved modifications

This commit is contained in:
TeoV
2020-02-12 17:55:40 +02:00
committed by Dan Christian Bogos
parent 39e271c6ac
commit d24252f41e
3 changed files with 4 additions and 8 deletions

View File

@@ -158,7 +158,6 @@ func (da *DNSAgent) handleMessage(w dns.ResponseWriter, req *dns.Msg) {
dnsWriteMsg(w, rply)
return
}
fmt.Println(utils.ToJSON(rply))
if err = dnsWriteMsg(w, rply); err != nil { // failed sending, most probably content issue
rply = new(dns.Msg)
rply.SetReply(req)

View File

@@ -194,7 +194,7 @@
- name: Download the tar.gz for the last commit
become: yes
shell: wget https://github.com/cgrates/cgrates/archive/{{ gitVersion.stdout_lines[0] }}.tar.gz
shell: wget https://github.com/cgrates/cgrates/archive/v0.10/{{ gitVersion.stdout_lines[0] }}.tar.gz
args:
chdir: cgr_build/SOURCES
@@ -261,10 +261,8 @@
- name: Move the new package to /var/packages/rpm
become: yes
shell: "sudo mv /tmp/{{ item }} /var/packages/rpm/v0.10/"
with_items: "{{ hostvars['yum']['rmpFileName']['stdout_lines'] }}"
shell: "sudo mv /tmp/{{ hostvars['yum']['rmpFileName']['stdout_lines'][0] }} /var/packages/rpm/v0.10/"
- name: Create the new symlink cgrates_current.rpm
become: yes
shell: "sudo ln -s /var/packages/rpm/v0.10/{{ item }} /var/packages/rpm/v0.10/cgrates_current.rpm"
with_items: "{{ hostvars['yum']['rmpFileName']['stdout_lines'] }}"
shell: "sudo ln -s /var/packages/rpm/v0.10/{{ hostvars['yum']['rmpFileName']['stdout_lines'][0] }} /var/packages/rpm/v0.10/cgrates_current.rpm"

View File

@@ -100,8 +100,7 @@ Run the following commands:
::
wget http://pkg.cgrates.org/rpm/v0.10/cgrates_current.rpm
sudo rpm -i cgrates_current.rpm
sudo rpm -i http://pkg.cgrates.org/rpm/v0.10/cgrates_current.rpm
As a side note on http://pkg.cgrates.org one can find an entire archive of CGRateS packages.