Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- user@salt-master:~$ salt 'target' cmd.run 'bash -c "source /etc/my_aliases && alias && my_services"'
- target:
- alias my_services='ls /etc/init | grep my-service | grep "\-all" | cut -d "." -f 1'
- bash: my_services: command not found
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement