This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| If you have 2-3 huge pdf (or epub or other formats, read below) files to compare , then it is possible to combine the power of: | |
| calibre (to convert your source to text) | |
| meld (to visually search for the differences between the text files) | |
| parallel (to use all your system cores to speed up) | |
| Below script accept as input any of the following file formats: MOBI, LIT, PRC, EPUB, ODT, HTML, CBR, CBZ, RTF, TXT, PDF and LRS. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| install_gstreamer: | |
| pkg.installed: | |
| - pkgs: | |
| - gstreamer0.10 | |
| - gstreamer0.10-dev | |
| - gstreamer0.10-whatever |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| app_1: | |
| nginx_url: http://my-awesome-site.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| base_ec2_private: | |
| provider: my-ec2-us-east-private-ips | |
| image: ami-018c9568 | |
| size: Micro Instance | |
| ssh_username: ubuntu | |
| base_ec2_public: | |
| provider: my-ec2-us-east-public-ips | |
| image: ami-018c9568 | |
| size: Micro Instance |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://github.com/saltstack/salt.git: | |
| git.latest: | |
| {% if salt['pillar.get']('git:env') == 'dev' %} | |
| - rev: acbdf23098ff | |
| {% else %} | |
| - rev: acbdfdf232jkjd9 | |
| {% endif %} | |
| - target: /tmp/salt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_npm_repo: | |
| pkgrepo: | |
| - managed | |
| - ppa: chris-lea/node.js | |
| - name: nodejs | |
| install_nodejs: | |
| pkg: | |
| - installed | |
| - name: nodejs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # basically delete all signs of previous id and data | |
| # and start over | |
| /etc/init.d/salt-minion stop | |
| rm -Rf /var/cache/salt/minion | |
| rm /etc/salt/minion_id | |
| rm -Rf /etc/salt/pki |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "rootDir": "{{ salt['pillar.get']('aptly:rootdir') }}", | |
| "downloadConcurrency": 4, | |
| "architectures": [], | |
| "dependencyFollowSuggests": false, | |
| "dependencyFollowRecommends": false, | |
| "dependencyFollowAllVariants": false, | |
| "dependencyFollowSource": false, | |
| "gpgDisableSign": false, | |
| "gpgDisableVerify": false, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /etc/mysql/my.cnf: | |
| file.managed: | |
| - source: salt://database/config_files/master/my.cnf | |
| - user: root | |
| - group: root | |
| - mode: 644 | |
| - template: jinja | |
| - defaults: | |
| innodb_buffer_pool_size: {{ pillar.db_config.innodb_buffer_pool_size }} | |
| join_buffer_size: {{ pillar.db_config.join_buffer_size }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| my_package: | |
| pkg: | |
| - installed | |
| - name: awesome_software | |
| awesome_software_service: | |
| service: | |
| - running | |
| - enable: True |
NewerOlder