Skip to content

Commit

Permalink
Merge pull request #21 from Comcast/feature/switchToYaml
Browse files Browse the repository at this point in the history
Feature/switch to yaml
  • Loading branch information
njharter committed Jul 2, 2018
2 parents 96ec02d + 55b67cb commit 0634180
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 17 deletions.
15 changes: 0 additions & 15 deletions etc/petasos/petasos.json

This file was deleted.

13 changes: 13 additions & 0 deletions etc/petasos/petasos.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
primary:
address: ":6000"
health:
address: ":6001"
pprof:
address: ":6002"

log:
file : "petasos.log"
level : "DEBUG"
maxSize : 50
maxBackup : 3
4 changes: 2 additions & 2 deletions petasos.spec
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ popd
# Install Configuration
%{__install} -d %{buildroot}%{_sysconfdir}/%{name}
%{__install} -p etc/%{name}/%{name}.env.example %{buildroot}%{_sysconfdir}/%{name}/%{name}.env.example
%{__install} -p etc/%{name}/%{name}.json %{buildroot}%{_sysconfdir}/%{name}/%{name}.json
%{__install} -p etc/%{name}/%{name}.yaml %{buildroot}%{_sysconfdir}/%{name}/%{name}.yaml
%{__install} -p etc/%{name}/supervisord.conf %{buildroot}%{_sysconfdir}/%{name}/supervisord.conf

# Create Logging Location
Expand All @@ -63,7 +63,7 @@ popd
# Configuration
%dir %{_sysconfdir}/%{name}
%config %attr(644, petasos, petasos) %{_sysconfdir}/%{name}/%{name}.env.example
%config %attr(644, petasos, petasos) %{_sysconfdir}/%{name}/%{name}.json
%config %attr(644, petasos, petasos) %{_sysconfdir}/%{name}/%{name}.yaml
%config %attr(644, petasos, petasos) %{_sysconfdir}/%{name}/supervisord.conf

# Logging Location
Expand Down

0 comments on commit 0634180

Please sign in to comment.