conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "Update data deployed in staging grantnav\n" }, { "from": "human", "value": "# grantnav live\ngrantnav:\n allowedhosts: '.live.threesixtygiving.uk0.bigv.io,.threesixtygiving.org'\n server_size: large\n deploy_mode: list\n deploys:\n new:\n datadate: '2017...
saltstack
chosen
[ { "from": "system", "value": "Deploy a new iteration of the GrantNav code\n" }, { "from": "human", "value": "# grantnav live\ngrantnav:\n allowedhosts: '.live.threesixtygiving.uk0.bigv.io,.threesixtygiving.org'\n server_size: large\n deploy_mode: list\n deploys:\n new:\n datadate: '2...
saltstack
chosen
[ { "from": "system", "value": "Remove merged GrantNav dev branches\n" }, { "from": "human", "value": "# grantnav development\ngrantnav:\n allowedhosts: '.default.threesixtygiving.uk0.bigv.io'\n server_size: small\n branches:\n - master\n - iteration08\n - 387-sum-currencies\n - 356...
saltstack
chosen
[ { "from": "system", "value": "Install python-gnupg-ng with system packaged pip\n" }, { "from": "human", "value": "include:\n - pip\n\n\npython-gnupg-ng:\n pkg.installed:\n - name: gnupg\n\n pip.installed:\n - name: gnupg\n - require:\n - pkg: python-gnupg...
saltstack
chosen
[ { "from": "system", "value": "Add another 360 cove branch dev deploy\n" }, { "from": "human", "value": "cove:\n prefixmap: '360=^/?'\n allowedhosts: '.threesixtygiving.org,.threesixtygiving.uk0.bigv.io'\n https: 'no'\n app: cove_360\nextra_cove_branches: #[] # remove the [] (empty list) if y...
saltstack
chosen
[ { "from": "system", "value": "Allow users to keep passwords.\n" }, { "from": "human", "value": "{% for user, args in pillar['users'].iteritems() %}\n# the user\n{{ user }}:\n user.present:\n - home: /home/{{ user }}\n - shell: {{ args.get('shell', '/bin/bash') }}\n - password: \"!\"\n ...
saltstack
chosen
[ { "from": "system", "value": "Make package ID unique across python, nbviewer states\n" }, { "from": "human", "value": "# All the build essentials to install python with up to date setuptools, pip\npackages:\n pkg:\n - installed\n - names:\n - build-essential\n - wget\n - cu...
saltstack
chosen
[ { "from": "system", "value": "Fix `snmp` state to work without internet properly\n" }, { "from": "human", "value": "# Global snmpd configuration for the node.\n\n###############################################################################\n# <<<\n{% if grains['os'] in [ 'RedHat', 'CentOS', 'F...
saltstack
chosen
[ { "from": "system", "value": "Add BlockIO weight from grains\n" }, { "from": "human", "value": "{# Defaults to 50% of all CPU available -#}\n{% set default_cpuquota = '%s%%' % (50.0 * grains['num_cpus']) -%}\n{% set cpuquota = salt['grains.get']('jenkins:cpuquota', default_cpuquota) -%}\n\nstop_...
saltstack
chosen
[ { "from": "system", "value": "Fix reqs so everything runs smooth\n" }, { "from": "human", "value": "include:\n - apache\n\nrootco.de-web:\n git.latest:\n - name: https://github.com/sysrich/rootco.de-web.git\n - target: /srv/www/source\n - require:\n - pkg: apache2\n\njekyll_site:...
saltstack
chosen
[ { "from": "system", "value": "[NodeJS] Use ARM archive for raspberrypi.\n" }, { "from": "human", "value": "node:\n source: path\n" }, { "from": "gpt", "value": "node:\n archive: https://nodejs.org/dist/v5.1.0/node-v5.1.0-linux-armv7l.tar.gz\n checksum: c7bbb8c51bdaf9b46daffbebdc8...
saltstack
chosen
[ { "from": "system", "value": "Fix syntax error, OCW logrotate config\n" }, { "from": "human", "value": "logrotate:\n zeoclient_event:\n name: /usr/local/Plone/zeocluster/var/client1/event.log\n options:\n - rotate 3\n - monthly\n - copytruncate\n - notifempty\n - ...
saltstack
chosen
[ { "from": "system", "value": "Install libgtk-3-dev for GUI projects\n" }, { "from": "human", "value": "packages:\n - calibre\n - gimp\n - gparted\n - htop\n - libreoffice\n - sword-text-kjv\n - texstudio\n - tilix\n - tmux\n - transmission\n - vlc\n - xiphos\n # general development\...
saltstack
chosen
[ { "from": "system", "value": "Use local grains instead of publish on master minion\n" }, { "from": "human", "value": "{% set jenkins = pillar.get('jenkins', {}) -%}\n{% set ip_addrs = salt['publish.publish']('roles:jenkins-master', 'network.ip_addrs', expr_form='grain') -%}\n{% set master_ip = i...
saltstack
chosen
[ { "from": "system", "value": "Make sure postgres is running before we try to set its locale\n" }, { "from": "human", "value": "db-packages:\n pkg:\n - installed\n - names:\n - postgresql-contrib-9.1\n - postgresql-server-dev-9.1\n - postgresql-client-9.1\n - libpq-dev\...
saltstack
chosen
[ { "from": "system", "value": "Revert \"add pavucontrol for sound in youtube in firefox\"\n\nThis reverts commit cad8cab3e047767240cc8a0b27cc4d5a9e64174f.\n" }, { "from": "human", "value": "##########\n# PACMAN FOR DEICHMAN\n# BASED ON UBUNTU TRUSTU SERVER 64bit\n##########\n\ninstallpkgs:\n pkg...
saltstack
chosen
[ { "from": "system", "value": "Set BODS CoVE dev branch to '16-oneof-validation'\n\nhttps://github.com/OpenDataServices/opendataservices-deploy/issues/67#issuecomment-475141534\n" }, { "from": "human", "value": "# Values used only on the Cove BODS server\ndefault_branch: 'master'\ncove:\n app: c...
saltstack
chosen
[ { "from": "system", "value": "Update distribution name for java installation\n" }, { "from": "human", "value": "#\n# Install Java Runtime Environment - OpenJDK version 8\n#\n\nca-certificates-java:\n pkg.latest:\n - fromrepo: jessie-backports\n - refresh: False\n\njava:\n pkg.installed:\...
saltstack
chosen
[ { "from": "system", "value": "Upgrade setuptools before upgrading pip.\n" }, { "from": "human", "value": "python-pkgs:\n pkg:\n - installed\n - names:\n - python-pip\n - python-dev\n - build-essential\n - python-imaging\n\npython-headers:\n pkg:\n - installed\n ...
saltstack
chosen
[ { "from": "system", "value": "Move the openvpn.routing state to be on everything but the vpn\n" }, { "from": "human", "value": "base:\n '*':\n - base.sanity\n - groups\n - firewall\n - users\n - sudoers\n - backup.client\n - auto-security\n\n 'roles:backup-server':\n - ...
saltstack
chosen
[ { "from": "system", "value": "Disable samba service by default\n\nIt seems to have negative impact if it's running and at the same time\nNVM is using shared filesystem with NFS.\n" }, { "from": "human", "value": "#\n# Setup samba for reversed option of sharing. This is optional.\n#\n\ninstall-sm...
saltstack
chosen
[ { "from": "system", "value": "Order needs to be strings?\n" }, { "from": "human", "value": "include:\n - pkgs.system.python-pip\n\n\n{#- Ubuntu Lucid has way too old pip package, we'll need to upgrade \"by hand\", salt can't do it for us #}\n{% if grains['os'] == 'Ubuntu' and grains['osrelease'...
saltstack
chosen
[ { "from": "system", "value": "Update releasever to osmajorrelease for copr repo state\n" }, { "from": "human", "value": "{% set os = salt['grains.get']('os', '') %}\n{% set os_family = salt['grains.get']('os_family', '') %}\n{% set os_major_release = salt['grains.get']('osmajorrelease', '') %}\n...
saltstack
chosen
[ { "from": "system", "value": "Add a dependency on autoconf-2.13\n" }, { "from": "human", "value": "{% if grains['kernel'] != 'Darwin' %}\nFIX enable multiverse:\n pkgrepo.absent:\n - name: deb http://archive.ubuntu.com/ubuntu trusty multiverse\n\nenable multiverse:\n pkgrepo.managed:\n -...
saltstack
chosen
[ { "from": "system", "value": "Fix download URL for Elasticsearch\n" }, { "from": "human", "value": "{% set elasticsearch_version = salt['pillar.get']('elasticsearch:version', false) -%}\n{%- if elasticsearch_version %}\nelasticsearch:\n pkg.installed:\n - sources:\n {%- if elasticsearch...
saltstack
chosen
[ { "from": "system", "value": "Make db connection via localhost\n" }, { "from": "human", "value": "run_tracking_db_airflow:\n postgres_database.present:\n - name: airflow\n - owner: butler_admin\n - tablespace: run_dbspace\n - user: postgres\n\nrun_tracking_db_celery:\n postgres_dat...
saltstack
chosen
[ { "from": "system", "value": "Add note about permissions for pushing files to ocds docs dev\n" }, { "from": "human", "value": "# This is the dev sls for ocds-docs which doesn't include reverse proxying,\n#\n# The docs on this server are built and copied it to travis.\n# https://github.com/open-c...
saltstack
chosen
[ { "from": "system", "value": "Change overview image to use alpine docker nginx\n" }, { "from": "human", "value": "{% set image = 'nginx' %}\n{% set tag = '1.9.3' %}\n\n{% include 'docker-pull.sls-fragment' %}\n\n/var/www:\n file.directory\n\n/var/www/overview:\n file.directory:\n - user: r...
saltstack
chosen
[ { "from": "system", "value": "Install elasticsearch if a version is specified\n" }, { "from": "human", "value": "mysql:\n pkg.installed:\n - pkgs:\n - mysql-client-5.5\n - mysql-server-5.5\n" }, { "from": "gpt", "value": "mysql:\n pkg.installed:\n - pkgs:\n - m...
saltstack
chosen
[ { "from": "system", "value": "Add fake Github Homebrew Token for Travis\n\nWe recently added a new homebrew nightly builder, which pushes to the\n`servo/homebrew-servo` repository to make new binary nightlies\navailable via Homebrew. This requires a Github token to push to the\nrepository.\n\nHowever, the o...
saltstack
chosen
[ { "from": "system", "value": "Install logging package for R.\n" }, { "from": "human", "value": "install_R:\n pkg.installed:\n - name: R\n \ninstall_bioc_dependencies:\n pkg.installed: \n - pkgs: \n - libcurl-devel \n - libxml2-devel \n - openssl-devel\n \n \ninsta...
saltstack
chosen
[ { "from": "system", "value": "Add a service entry for downloads\n" }, { "from": "human", "value": "include:\n - nginx\n\n\n/etc/nginx/sites.d/downloads-backend.conf:\n file.managed:\n - source: salt://downloads/config/nginx.downloads-backend.conf\n - user: root\n - group: root\n - ...
saltstack
chosen
[ { "from": "system", "value": "Change ownership of git repo\n" }, { "from": "human", "value": "salt-service-disabled:\n service.disabled:\n - name: salt-minion\nsalt-service-dead:\n service.dead:\n - name: salt-minion\n\nsalt-minion-config:\n file.managed:\n - name: /etc/salt/minion\n...
saltstack
chosen
[ { "from": "system", "value": "Rename log fowarding container to lf_container\n" }, { "from": "human", "value": "##########\n# LOG FORWARDING CONTAINER\n##########\n\nlog_container_stop_if_old:\n cmd.run:\n - name: docker stop log_container || true\n - unless: docker inspect --format \"{{ ...
saltstack
chosen
[ { "from": "system", "value": "Use first rather than [0] in Jinja templates\n\nWorks better with python 3\n" }, { "from": "human", "value": "{% set salted = salt['pillar.get']('zsh:salted', grains['userhome'] + \"/.salted\") %}\n\nCMake completions:\n file.managed:\n - name: {{salted}}/comple...
saltstack
chosen
[ { "from": "system", "value": "Make sqlite3 available for Homu debugging\n" }, { "from": "human", "value": "{% from tpldir ~ '/map.jinja' import homu %}\n\npython3:\n pkg.installed:\n - pkgs:\n - python3\n\nhomu:\n virtualenv.managed:\n - name: /home/servo/homu/_venv\n - venv_bin:...
saltstack
chosen
[ { "from": "system", "value": "Update BODS CoVE dev default branch to file-upload-permissions\n\nThis sets the FILE_UPLOAD_PERMISSIONS setting, which was previously\nedited directly on the dev server.\nhttps://github.com/openownership/cove-bods/pull/17\n" }, { "from": "human", "value": "# Values ...
saltstack
chosen
[ { "from": "system", "value": "Prepare to split into profile branches\n" }, { "from": "human", "value": "#\n\n{% set load_bootstrap_target_envs = salt['config.get']('this_system_keys:load_bootstrap_target_envs') %}\n\ninclude:\n\n{% for project_name in load_bootstrap_target_envs.keys() %}\n\n{% f...
saltstack
chosen
[ { "from": "system", "value": "Install latest Nginx from the stable PPA.\n" }, { "from": "human", "value": "nginx:\n pkg:\n - installed\n service:\n - running\n - enable: True\n\n/etc/nginx/nginx.conf:\n file.sed:\n - before: \"(# )?server_names_hash_bucket_size .+;\"\n - after:...
saltstack
chosen
[ { "from": "system", "value": "Add jinja to ssh sls test file\n" }, { "from": "human", "value": "ssh-file-test:\n file.managed:\n - name: /tmp/test\n - contents: 'test'\n" }, { "from": "gpt", "value": "{% set jinja = 'test' %}\nssh-file-test:\n file.managed:\n - name: /tmp/...
saltstack
chosen
[ { "from": "system", "value": "Change default Plack port from 5000 => 8082\n" }, { "from": "human", "value": "koha:\n saltfiles: salt://koha/files\n filerepo: http://datatest.deichman.no/saltfiles/koha/\n koha-image-tag: 9168d6cfcefa630655eb4e019d3cafc700a69345\n opac:\n binding: 0.0.0.0\n...
saltstack
chosen
[ { "from": "system", "value": "Make sure that logstash is in the vpn\n" }, { "from": "human", "value": "# Copyright 2012-2013 Hewlett-Packard Development Company, L.P.\n# All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n# not use this fil...
saltstack
chosen
[ { "from": "system", "value": "Fix module name in \"require\"\n" }, { "from": "human", "value": "ensure_package_prerequisite_installations:\n pkg.installed:\n - pkgs:\n - debian-keyring\n - debian-archive-keyring\n - apt-transport-https\n - ca-certificates\n ...
saltstack
chosen
[ { "from": "system", "value": "Use Consul as DNS server for Grafana\n" }, { "from": "human", "value": "{% set grafana_data_dir = salt['pillar.get']('grafana:data_dir', '/var/lib/grafana/data') %}\n{% set grafana_plugin_dir = salt['pillar.get']('grafana:data_dir', '/var/lib/grafana/plugins') %}\n{...
saltstack
chosen
[ { "from": "system", "value": "Remove unused context in state.\n" }, { "from": "human", "value": "##########\n# KOHA Sites Config\n##########\n\n# koha-sites.conf includes port settings and MARC framework used in all new instances\n/etc/koha/koha-sites.conf:\n file.managed:\n - source: {{ pil...
saltstack
chosen
[ { "from": "system", "value": "Fix ownership of airflow config file.\n" }, { "from": "human", "value": "upgrade_pip:\n cmd.run:\n - name: pip install -U pip\n \ninstall_numpy:\n pip.installed: \n - name: numpy\n - upgrade: True\n \n \ninstall_airflow:\n pip.installed: \n - nam...
saltstack
chosen
[ { "from": "system", "value": "Use expilcit service id and service tags for mongo service registration\n" }, { "from": "human", "value": "download_mongo_image:\n dockerng.image_present:\n - name: 'mongo:latest'\n - require:\n - pip: docker_python_api\n\nrun_mongo_container:\n dockern...
saltstack
chosen
[ { "from": "system", "value": "Upgrade pip after installing from apt python-pip.\n" }, { "from": "human", "value": "python-pkgs:\n pkg:\n - installed\n - names:\n - python-pip\n - python-dev\n - build-essential\n - python-imaging\n\npython-headers:\n pkg:\n - instal...
saltstack
chosen
[ { "from": "system", "value": "Fix name of grain used for OCW environment in pillar file\n" }, { "from": "human", "value": "{% set ENVIRONMENT = salt.grains.get('environment') %}\n{% set ROLES = salt.grains.get('roles') %}\n\nocw:\n db_username: __vault__::secret-open-courseware/{{ ENVIRONMENT }...
saltstack
chosen
[ { "from": "system", "value": "Use grain matching to cut down duplication.\n" }, { "from": "human", "value": "base:\n '*':\n - iptables\n - logcheck\n - logrotate\n - monit\n - motd\n - ntp\n - packages\n - postfix\n - salt.common\n - salt.minion\n - ssh\n - s...
saltstack
chosen
[ { "from": "system", "value": "Exclude netdata folder from inotify\n" }, { "from": "human", "value": "beacons:\n inotify:\n - files:\n /lib:\n recurse: True\n auto_add: True\n /bin:\n recurse: True\n auto_add: True\n /sbin:\n r...
saltstack
chosen
[ { "from": "system", "value": "Check for spotify client id/secret\n" }, { "from": "human", "value": "#!py\n\ndef run():\n \"\"\" Sanity check the mopidy pillar to ensure that all required fields\n are present.\n \"\"\"\n mopidy = __pillar__.get('mopidy', {})\n if not mopidy:\n ...
saltstack
chosen
[ { "from": "system", "value": "Update the perms so ES deamon can read files but not update them\n" }, { "from": "human", "value": "{% from \"elasticsearch/map.jinja\" import elasticsearch with context %}\ninclude:\n - java\n{% set es_file='elasticsearch-0.90.10.deb' %}\n\n\n/usr/src/packages/{{e...
saltstack
chosen
[ { "from": "system", "value": "Remove default rabbitmq user and vhost.\n" }, { "from": "human", "value": "rabbitmq:\n pkg:\n - name: rabbitmq-server\n - installed\n service:\n - running\n - enable: True" }, { "from": "gpt", "value": "rabbitmq:\n pkg:\n - name: rabbit...
saltstack
chosen
[ { "from": "system", "value": "Fix homebrew analytics directory for brew 1.0\n" }, { "from": "human", "value": "/etc/sysctl.conf:\n file.managed:\n - user: root\n - group: wheel\n - mode: 644\n - source: salt://{{ tpldir }}/files/sysctl.conf\n\n/etc/profile:\n file.managed:\n - u...
saltstack
chosen
[ { "from": "system", "value": "Add `settings.xml` deployment for Maven build host\n" }, { "from": "human", "value": "# Maven installation.\n\n###############################################################################\n# <<<\n{% if grains['os'] in [ 'RedHat', 'CentOS', 'Fedora' ] %}\n\ninstal...
saltstack
chosen
[ { "from": "system", "value": "Include stunnel4 instead of stunnel\n" }, { "from": "human", "value": "postgresql:\n pkg.installed:\n - pkgs:\n - postgresql-client-9.3\n - pgbouncer\n - stunnel\n\n\n/var/run/stunnel:\n file.directory:\n - user: root\n - group: root\n -...
saltstack
chosen
[ { "from": "system", "value": "Unify pillar key name for postgresql DB\n" }, { "from": "human", "value": "\n###############################################################################\n#\n\n# Import properties.\n{% set properties_path = profile_root.replace('.', '/') + '/properties.yaml' %}\n...
saltstack
chosen
[ { "from": "system", "value": "Add Java environment setup for Salt minion\n" }, { "from": "human", "value": "# Configure `salt_minion_role` role (Salt minion).\n\n{% if 'salt_minion_role' in pillar['system_host_roles'] %}\n\n{% if grains['id'] in pillar['system_host_roles']['salt_minion_role']['a...
saltstack
chosen
[ { "from": "system", "value": "Update ecs service placeholder file\n" }, { "from": "human", "value": "#anatomy of an ecs service.\n# elb is required for managing location of container in cluster, although consul can provide provides the same service via DNS/consul agent\n# elb is required for loa...
saltstack
chosen
[ { "from": "system", "value": "Add option to configure Prometheus alerts\n" }, { "from": "human", "value": "{% set prom_config = salt['pillar.get']('prometheus:configuration', {}) %}\n{% set prom_data_dir = salt['pillar.get']('prometheus:data_dir', '/var/lib/prometheus') %}\n{% set prom_internal_...
saltstack
chosen
[ { "from": "system", "value": "Update the require statements and ensure that the latest RabbitMQ is installed.\n" }, { "from": "human", "value": "rabbitmq-server:\n pkgrepo.managed:\n - name: deb http://www.rabbitmq.com/debian/ testing main\n - key_url: http://www.rabbitmq.com/rabbitmq-sig...
saltstack
chosen
[ { "from": "system", "value": "Use the right (existent) user function.\n" }, { "from": "human", "value": "#set up a jenkins user for the sole purpose of allowing ssh for an ssh-tunnel to redis from jenkins slaves\nredis_jenkins:\n user.managed:\n - name: jenkins\n\n{{ pillar['pubkeys']['jenki...
saltstack
chosen
[ { "from": "system", "value": "Update db hosts salt states to use redis formula\n" }, { "from": "human", "value": "base:\n '*':\n - core\n 'db':\n - postgres\n - core.redis\n 'docker':\n - rails\n - docker\n - worker.docker\n - worker.service\n 'core':\n - rails\n -...
saltstack
chosen
[ { "from": "system", "value": "Use 'live-ocds' branch for live OCDS CoVE\n" }, { "from": "human", "value": "# Values used only on the Cove OCDS server\ndefault_branch: 'live'\ncove:\n piwik:\n url: '//mon.opendataservices.coop/piwik/'\n site_id: '5'\n allowedhosts: '.default.opendataservi...
saltstack
chosen
[ { "from": "system", "value": "Use grains to receive correct lsb version\n" }, { "from": "human", "value": "# vim: ft=yaml softtabstop=2 tabstop=2 shiftwidth=2 expandtab autoindent\n\ngogs-repo:\n pkgrepo.managed:\n - humanname: Gogs Repository\n - name: deb https://deb.packager.io/gh/pkgr...
saltstack
chosen
[ { "from": "system", "value": "Use pillar to set nbviewer git repo, rev\n" }, { "from": "human", "value": "# nbviewer binary dependencies\npackages:\n pkg:\n - installed\n - names:\n - git\n - libzmq-dev\n - sqlite3\n - libsqlite3-dev\n - pandoc\n - libevent-d...
saltstack
chosen
[ { "from": "system", "value": "Install LibreOffice core for document conversion\n" }, { "from": "human", "value": "{% set workflow = pillar.get('workflow', None) %}\n{% if workflow %}\n\n{# java and tomcat installed using 'java/init.sls' #}\n\n/usr/share/tomcat7/lib/postgresql-9.4.1212.jre7.jar:\...
saltstack
chosen
[ { "from": "system", "value": "Revert \"Try a non-redirecting owncloud repo key_url\"\n\nThis reverts commit 11d718570797f7f05229414208bab9807b266f15.\n\nTurned out this wasn't the problem, but the key not being updated\nwithout the repo being removed.\n" }, { "from": "human", "value": "owncloud-...
saltstack
chosen
[ { "from": "system", "value": "Fix if environment is not included in pillar\n" }, { "from": "human", "value": "# -*- coding: utf-8 -*-\n# vim: ft=sls\n\n{% from \"template/map.jinja\" import template with context %}\n\ninclude:\n - template.install\n\ntemplate-file:\n file.touch:\n - name: {...
saltstack
chosen
[ { "from": "system", "value": "Fix tmux file for multiple users: states need unique ids\n" }, { "from": "human", "value": "include:\n - users\n\ntmux.package:\n pkg.installed:\n - pkgs:\n - tmux\n\n{% for user, details in pillar.get('users', {}).items() %}\n{% if 'users' in details['g...
saltstack
chosen
[ { "from": "system", "value": "Create parent directory if needed.\n" }, { "from": "human", "value": "supervisor:\n pip.installed:\n - name: supervisor==3.0\n - require:\n - pkg: python-pip\n pkg.removed:\n - name: supervisor\n\nsupervisor_service:\n service:\n - name: supervis...
saltstack
chosen
[ { "from": "system", "value": "Upgrade avahi to latest version\n" }, { "from": "human", "value": "{% if grains.get('use_avahi') and grains.get('avahi_reflector') %}\n\nreflector_configuration:\n file.replace:\n - name: /etc/avahi/avahi-daemon.conf\n - pattern: \"#enable-reflector=no\"\n ...
saltstack
chosen
[ { "from": "system", "value": "Order is not a requisite\n" }, { "from": "human", "value": "include:\n - pkgs.system.python-pip\n\n\n{#- Ubuntu Lucid has way too old pip package, we'll need to upgrade \"by hand\", salt can't do it for us #}\n{% if grains['os'] == 'Ubuntu' and grains['osrelease']....
saltstack
chosen
[ { "from": "system", "value": "Stop managing /var/lib/etcd in salt\n\nThis dir is created by the etcd rpm, and permissions\nare maintained by etcd when it is running\n\nThe salt and etcd disagree an what these permissions are\ncausing extra \"changed\" entries. As etcd is changing\nthem to what it needs, and...
saltstack
chosen
[ { "from": "system", "value": "Make cAdvisor port configurable via Pillar\n" }, { "from": "human", "value": "{% set cadvisor_port = 8080 %}\n\n/usr/local/sbin/cadvisor:\n file.managed:\n - source: salt://mwms/monitoring/files/cadvisor\n - mode: 755\n\n/etc/supervisor/conf.d/cadvisor.conf:\...
saltstack
chosen
[ { "from": "system", "value": "Update GrantNav to use Django security patch\n" }, { "from": "human", "value": "# grantnav live\ngrantnav:\n allowedhosts: '.live.threesixtygiving.uk0.bigv.io,.threesixtygiving.org'\n server_size: large\n deploy_mode: list\n deploys:\n new:\n datadate: '...
saltstack
chosen
[ { "from": "system", "value": "Add environment variable to the chromedriver function\n" }, { "from": "human", "value": "#\n# Install Chromedriver dependencies\n#\n\nchromedriver-dependencies:\n pkg.installed:\n - pkgs:\n - unzip\n - gnupg\n - libnss3-dev\n - ca-certificate...
saltstack
chosen
[ { "from": "system", "value": "Install the default /etc/apt/sources.list before anything else\n" }, { "from": "human", "value": "niceties:\n pkg.installed:\n - pkgs:\n - htop\n - traceroute\n\ntime-sync:\n pkg.installed:\n - pkgs:\n - ntp\n - ntpdate\n\nntp:\n service...
saltstack
chosen
[ { "from": "system", "value": "Set bootstrap branch to `develop`\n" }, { "from": "human", "value": "\n###############################################################################\n#\n\n{% set master_minion_id = salt['config.get']('this_system_keys:master_minion_id') %}\n{% set default_username...
saltstack
chosen
[ { "from": "system", "value": "Remove biglottery temporarily from Grantnav data\n\nhttps://opendataservices.plan.io/issues/6266\n" }, { "from": "human", "value": "# grantnav live\ngrantnav:\n allowedhosts: '.live.threesixtygiving.uk0.bigv.io,.threesixtygiving.org'\n deploy_mode: list\n deploys...
saltstack
chosen
[ { "from": "system", "value": "Make sure java is installed before we start elasticsearch.\n" }, { "from": "human", "value": "include:\n - java\n\nelasticsearch:\n pkg:\n - installed\n - sources: \n - elasticsearch: http://download.elasticsearch.org/elasticsearch/elasticsearch/elastic...
saltstack
chosen
[ { "from": "system", "value": "Update default vagrant version to 2.1.1\n" }, { "from": "human", "value": "{% set version_spec = '1.8.1 sha256=ed0e1ae0f35aecd47e0b3dfb486a230984a08ceda3b371486add4d42714a693d' %}\n{% set version, version_hash = version_spec.split() %}\n\n\nvagrant:\n file.manage...
saltstack
chosen
[ { "from": "system", "value": "Add PHP states for getting php mail set up\n\nNick needs this to send email from cuttingedgetreepros\n" }, { "from": "human", "value": "curl:\n pkg.installed:\n - pkgs:\n - curl\n - libcurl4-openssl-dev\n\nphp5-cli:\n pkg.installed...
saltstack
chosen
[ { "from": "system", "value": "Update example data imports to require services." }, { "from": "human", "value": "get-data:\n cmd.run:\n - name: wget http://rdspecialties.com/logs/access.log -O /opt/example-access.log\n - creates: /opt/example-access.log\n\ninsert-data:\n cmd.run:\n - n...
saltstack
chosen
[ { "from": "system", "value": "Handle Homebrew renaming `mobile-shell` to `mosh`\n\nHomebrew left in an alias for `mobile-shell` so the `mosh` package\nactually installs correctly, but Salt's pkg.installed state then tries\nto verify the installation by checking the installed packages.\nThat list only shows ...
saltstack
chosen
[ { "from": "system", "value": "Include salt grains provisioning unit to core role\n" }, { "from": "human", "value": "# -------------------------------------------------------------\n# Salt — Units for every server\n# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n# Project...
saltstack
chosen
[ { "from": "system", "value": "Use the correct format for the bigquery table\n" }, { "from": "human", "value": "linehaul:\n port: 48175\n bigquery_table: the-psf:pypi.downloads\n" }, { "from": "gpt", "value": "linehaul:\n port: 48175\n bigquery_table: the-psf:pypi:downloads\n" }...
saltstack
chosen
[ { "from": "system", "value": "Update yarn version to match value in package.json\n" }, { "from": "human", "value": "ensure_yarn_is_installed_for_odlvideo:\n npm.installed:\n - name: 'yarn@1.13.0'\n - user: root\n\ninstall_node_dependencies:\n cmd.run:\n - name: yarn install\n - cwd...
saltstack
chosen
[ { "from": "system", "value": "Remove old 360 cove branches\n" }, { "from": "human", "value": "cove:\n allowedhosts: '.threesixtygiving.org,.threesixtygiving.uk0.bigv.io'\n https: 'no'\n app: cove_360\nextra_cove_branches: #[] # remove the [] (empty list) if you re-add some values below\n - n...
saltstack
chosen
[ { "from": "system", "value": "Upgrade Vault to version 1.3.1\n" }, { "from": "human", "value": "vault:\n overrides:\n version: 1.2.3\n keybase_users:\n - renaissancedev\n - shaidar\n - markbreedlove\n secret_shares: 3\n secret_threshold: 2\n config:\n backend:...
saltstack
chosen
[ { "from": "system", "value": "Fix local repo url and remove gpg key\n" }, { "from": "human", "value": "##########\n# KOHA-COMMON\n##########\n\nlocal-apt-repo-priority:\n file.managed:\n - name: /etc/apt/preferences.d/local-apt-repo\n - source: salt://koha/files/local-apt-repo.tmpl\n\ndei...
saltstack
chosen
[ { "from": "system", "value": "Set the diamond client to running\n" }, { "from": "human", "value": "diamond-depends:\n pkg.installed:\n - pkgs:\n - python-configobj\n - python-psutil\n\n\ndiamond:\n pkg.installed:\n - sources:\n - python-diamond: salt://monitoring/client/pa...
saltstack
chosen
[ { "from": "system", "value": "BUG: Make sure UI directories have the right ownership.\n\nA root owned ~/.config was causing LXDE to fail because it\ncould not write the default config files.\n" }, { "from": "human", "value": "include:\n - users\n\n### Packages\nuser_packages:\n pkg.installed:\...
saltstack
chosen
[ { "from": "system", "value": "Change default hostname to raspberrypi\n" }, { "from": "human", "value": "local_domain: moio\nhostname: rpi\n{%- set dnsdomainname = \"michelebologna.net\" %}\n" }, { "from": "gpt", "value": "local_domain: moio\nhostname: raspberrypi\n{%- set dnsdomainna...
saltstack
chosen
[ { "from": "system", "value": "Create tables for run tracking db" }, { "from": "human", "value": "base:\n '*':\n - consul\n - dnsmasq\n - collectd\n - elastic.filebeat\n - elastic.packetbeat\n - ntp\n 'G@roles:consul-bootstrap':\n - consul.bootstrap\n 'G@roles:consul-serve...
saltstack
chosen
[ { "from": "system", "value": "Update rabbitmq user to have management tag.\n" }, { "from": "human", "value": "install_erlang:\n pkg.installed:\n - name: erlang\n \ninstall_rabbitmq:\n pkg.installed: \n - sources: \n - rabbitmq: https://www.rabbitmq.com/releases/rabbitmq-server/v3...
saltstack
chosen
[ { "from": "system", "value": "Move opendataservices.coop website to dev3 and live2\n" }, { "from": "human", "value": "# top.sls defines which states should be installed onto which servers\n# and is used by the state.highstate command (see README)\n\nbase:\n # Install our core sls onto all serve...
saltstack
chosen
[ { "from": "system", "value": "Use Node 6 by default\n" }, { "from": "human", "value": "node:\n install_from_ppa: true\n ppa:\n repository_url: https://deb.nodesource.com/node_5.x\nnpm:\n config:\n prefix: /opt/node\npython:\n pypy3:\n version: v5.2.0-alpha1\n binary_sha256: f5e66...
saltstack
chosen
[ { "from": "system", "value": "Enable multiverse repo and pre-agree to EULA.\n\nThis fixes the install of msttcorefonts.\n" }, { "from": "human", "value": "cmake:\n pkg.installed\n\ngit:\n pkg.installed\n\nvirtualenv:\n pip.installed\n\nghp-import:\n pip.installed\n\n{% if grains[\"kernel\"] ...
saltstack
chosen