Skip to content

Instantly share code, notes, and snippets.

@amfarrell
Last active August 29, 2015 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amfarrell/d2dc0421927223f4ca42 to your computer and use it in GitHub Desktop.
Save amfarrell/d2dc0421927223f4ca42 to your computer and use it in GitHub Desktop.
sudo strace -f /opt/anaconda/bin/salt-call state.sls logstash --timeout=60 --out=yaml --state_output=mixed -l debug --pillar-root='opt/anaconda/srv/pillar' 2> ~/t
cat /home/ubuntu/t | grep elasticsearch
stat("/opt/anaconda/var/cache/salt/minion/files/base/elasticsearch", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
stat("/opt/anaconda/var/cache/salt/minion/files/base/elasticsearch", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
lstat("/opt/anaconda/var/cache/salt/minion/files/base/elasticsearch", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/opt/anaconda/var/cache/salt/minion/files/base/elasticsearch", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
stat("/opt/anaconda/var/cache/salt/minion/files/base/elasticsearch/settings.sls", {st_mode=S_IFREG|0600, st_size=1059, ...}) = 0
stat("/opt/anaconda/var/cache/salt/minion/files/base/elasticsearch/init.sls", {st_mode=S_IFREG|0600, st_size=32, ...}) = 0
stat("/opt/anaconda/var/cache/salt/minion/files/base/elasticsearch/base.sls", {st_mode=S_IFREG|0600, st_size=1256, ...}) = 0
stat("/opt/anaconda/var/cache/salt/minion/files/base/elasticsearch/settings.sls", {st_mode=S_IFREG|0600, st_size=1059, ...}) = 0
stat("/opt/anaconda/var/cache/salt/minion/files/base/elasticsearch/init.sls", {st_mode=S_IFREG|0600, st_size=32, ...}) = 0
stat("/opt/anaconda/var/cache/salt/minion/files/base/elasticsearch/base.sls", {st_mode=S_IFREG|0600, st_size=1256, ...}) = 0
write(1, "- Specified SLS 'elasticsearch' "..., 83) = 83
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment