Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Merge pull request #37 from HubbleStack/develop
Browse files Browse the repository at this point in the history
Merge to master (prep for v2016.9.4)
  • Loading branch information
basepi authored Sep 15, 2016
2 parents 5eb842c + e5047df commit ed37e85
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,9 @@ the minions.
cd hubblestack-pulsar.git
mkdir -p /srv/salt/_beacons/
cp _beacons/pulsar.py /srv/salt/_beacons/
cp hubblestack_pulsar_config.yaml /srv/salt/
cp pillar.example /srv/pillar/hubblestack_pulsar.sls
mkdir /srv/salt/hubblestack_pulsar
cp hubblestack_pulsar/hubblestack_pulsar_config.yaml /srv/salt/hubblestack_pulsar
cp hubblestack_pulsar/pillar.example /srv/pillar/hubblestack_pulsar.sls
salt \* saltutil.sync_beacons
Target the copied ``hubblestack_pulsar.sls`` to selected minions.
Expand Down Expand Up @@ -177,13 +178,13 @@ Pulsar to be flexible.
beacons:
pulsar:
paths:
- /var/cache/salt/minion/files/base/hubblestack_pulsar_config.yaml
- /var/cache/salt/minion/files/base/hubblestack_pulsar/hubblestack_pulsar_config.yaml
schedule:
cache_nebula:
function: cp.cache_file
seconds: 86400
args:
- salt://hubblestack_pulsar_config.yaml
- salt://hubblestack_pulsar/hubblestack_pulsar_config.yaml
return_job: False
Expand Down
2 changes: 1 addition & 1 deletion _beacons/pulsar.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def beacon(config):
beacons:
pulsar:
paths:
- /var/cache/salt/minion/files/base/hubblestack_pulsar_config.yaml
- /var/cache/salt/minion/files/base/hubblestack_pulsar/hubblestack_pulsar_config.yaml
refresh_frequency: 60
verbose: False
Expand Down
4 changes: 2 additions & 2 deletions pillar.example → hubblestack_pulsar/pillar.example
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
beacons:
pulsar:
paths:
- /var/cache/salt/minion/files/base/hubblestack_pulsar_config.yaml
- /var/cache/salt/minion/files/base/hubblestack_pulsar/hubblestack_pulsar_config.yaml
disable_during_state_run: True

schedule:
cache_nebula:
function: cp.cache_file
seconds: 86400
args:
- salt://hubblestack_pulsar_config.yaml
- salt://hubblestack_pulsar/hubblestack_pulsar_config.yaml
return_job: False
File renamed without changes.

0 comments on commit ed37e85

Please sign in to comment.