root@saltmaster:/srv# salt 'api*' state.apply test=True dev-server.on-my.network: ---------- ID: /etc/hosts Function: file.comment Result: None Comment: File /etc/hosts is set to be updated Started: 16:09:10.954681 Duration: 8.716 ms Changes: ---------- /etc/hosts: updated ---------- ID: uncomment-hosts Function: file.uncomment Name: /etc/hosts Result: True Comment: Pattern already uncommented Started: 16:09:10.963553 Duration: 0.934 ms Changes: ---------- ID: vim Function: pkg.installed Result: True Comment: All specified packages are already installed Started: 16:09:12.093691 Duration: 388.777 ms Changes: ---------- ID: date > /tmp/date Function: cmd.run Result: None Comment: Command "date > /tmp/date" would have been executed Started: 16:09:12.483759 Duration: 0.668 ms Changes: ---------- ID: moe Function: user.present Result: None Comment: User moe set to be added Started: 16:09:12.485102 Duration: 0.929 ms Changes: ---------- ID: larry Function: user.present Result: None Comment: User larry set to be added Started: 16:09:12.486166 Duration: 0.821 ms Changes: ---------- ID: currly Function: user.present Result: None Comment: User currly set to be added Started: 16:09:12.487116 Duration: 0.849 ms Changes: ---------- ID: foo Function: group.present Result: None Comment: Group foo set to be added Started: 16:09:12.488411 Duration: 0.455 ms Changes: ---------- ID: bar Function: group.present Result: None Comment: Group bar set to be added Started: 16:09:12.488994 Duration: 0.417 ms Changes: ---------- ID: baz Function: group.present Result: None Comment: Group baz set to be added Started: 16:09:12.489533 Duration: 0.413 ms Changes: ---------- ID: jdoe Function: user.present Result: False Comment: The following group(s) are not present: wheel,storage Started: 16:09:12.490071 Duration: 1.186 ms Changes: ---------- ID: date > /tmp/croncheck Function: cron.present Result: None Comment: Cron date > /tmp/croncheck is set to be added Started: 16:09:12.492399 Duration: 84.793 ms Changes: ---------- ID: lspci > /tmp/lspcicron Function: cron.present Result: None Comment: Cron lspci > /tmp/lspcicron is set to be added Started: 16:09:12.577512 Duration: 98.781 ms Changes: ---------- ID: httpd Function: pkg.installed Name: apache2 Result: None Comment: The following packages would be installed/updated: apache2 Started: 16:09:12.676543 Duration: 40.307 ms Changes: ---------- ID: httpd Function: service.running Name: apache2 Result: None Comment: Service apache2 not present; if created in this state run, it would have been started Started: 16:09:12.718086 Duration: 25.461 ms Changes: ---------- ID: date > /tmp/started_apache Function: cmd.wait Result: True Comment: Started: 16:09:12.744181 Duration: 0.597 ms Changes: ---------- ID: /saltsrc Function: file.recurse Result: False Comment: Recurse failed: none of the specified sources were found Started: 16:09:12.744910 Duration: 20.51 ms Changes: ---------- ID: addon Function: file.recurse Name: /saltsrc Result: None Comment: #### /saltsrc/added #### The file /saltsrc/added is set to be changed #### /saltsrc #### The following files will be changed: /saltsrc: directory - new Started: 16:09:12.765642 Duration: 23.23 ms Changes: ---------- ID: /root/update_minion.sh Function: file.managed Result: None Comment: The file /root/update_minion.sh is set to be changed Started: 16:09:12.789033 Duration: 25.625 ms Changes: ---------- newfile: /root/update_minion.sh ---------- ID: /root/salt-0.9.5 Function: file.managed Result: False Comment: Failed to cache http://pypi.python.org/packages/source/s/salt/salt-0.9.5.tar.gz: Error: HTTP 403: SSL is required reading http://pypi.python.org/packages/source/s/salt/salt-0.9.5.tar.gz Started: 16:09:12.814823 Duration: 31.144 ms Changes: Invalid Changes data: [False, u'Failed to cache http://pypi.python.org/packages/source/s/salt/salt-0.9.5.tar.gz: Error: HTTP 403: SSL is required reading http://pypi.python.org/packages/source/s/salt/salt-0.9.5.tar.gz'] ---------- ID: /root/salt-0.9.5.line_hash Function: file.managed Result: False Comment: Failed to cache http://pypi.python.org/packages/source/s/salt/salt-0.9.5.tar.gz: Error: HTTP 403: SSL is required reading http://pypi.python.org/packages/source/s/salt/salt-0.9.5.tar.gz Started: 16:09:12.846223 Duration: 19.426 ms Changes: Invalid Changes data: [False, u'Failed to cache http://pypi.python.org/packages/source/s/salt/salt-0.9.5.tar.gz: Error: HTTP 403: SSL is required reading http://pypi.python.org/packages/source/s/salt/salt-0.9.5.tar.gz'] ---------- ID: /root/py_render Function: file.managed Result: None Comment: The file /root/py_render is set to be changed Started: 16:09:12.865880 Duration: 15.239 ms Changes: ---------- newfile: /root/py_render ---------- ID: openssh Function: pkg.installed Result: None Comment: The following packages would be installed/updated: openssh Started: 16:09:12.881277 Duration: 27.25 ms Changes: ---------- ID: AAAAB3NzaC1kc3MAAACBAL0sQ9fJ5bYTEyYvlRBsJdDOo49CNfhlWHWXQRqul6rwL4KIuPrhY7hBw0tV7UNC7J9IZRNO4iGod9C+OYutuWGJ2x5YNf7P4uGhH9AhBQGQ4LKOLxhDyT1OrDKXVFw3wgY3rHiJYAbd1PXNuclJHOKL27QZCRFjWSEaSrUOoczvAAAAFQD9d4jp2dCJSIseSkk4Lez3LqFcqQAAAIAmovHIVSrbLbXAXQE8eyPoL9x5C+x2GRpEcA7AeMH6bGx/xw6NtnQZVMcmZIre5Elrw3OKgxcDNomjYFNHuOYaQLBBMosyO++tJe1KTAr3A2zGj2xbWO9JhEzu8xvSdF8jRu0N5SRXPpzSyU4o1WGIPLVZSeSq1VFTHRT4lXB7PQAAAIBXUz6ZO0bregF5xtJRuxUN583HlfQkXvxLqHAGY8WSEVlTnuG/x75wolBDbVzeTlxWxgxhafj7P6Ncdv25Wz9wvc6ko/puww0b3rcLNqK+XCNJlsM/7lB8Q26iK5mRZzNsGeGwGTyzNIMBekGYQ5MRdIcPv5dBIP/1M6fQDEsAXQ== Function: ssh_auth.present Result: None Comment: Key AAAAB3NzaC1kc3MAAACBAL0sQ9fJ5bYTEyYvlRBsJdDOo49CNfhlWHWXQRqul6rwL4KIuPrhY7hBw0tV7UNC7J9IZRNO4iGod9C+OYutuWGJ2x5YNf7P4uGhH9AhBQGQ4LKOLxhDyT1OrDKXVFw3wgY3rHiJYAbd1PXNuclJHOKL27QZCRFjWSEaSrUOoczvAAAAFQD9d4jp2dCJSIseSkk4Lez3LqFcqQAAAIAmovHIVSrbLbXAXQE8eyPoL9x5C+x2GRpEcA7AeMH6bGx/xw6NtnQZVMcmZIre5Elrw3OKgxcDNomjYFNHuOYaQLBBMosyO++tJe1KTAr3A2zGj2xbWO9JhEzu8xvSdF8jRu0N5SRXPpzSyU4o1WGIPLVZSeSq1VFTHRT4lXB7PQAAAIBXUz6ZO0bregF5xtJRuxUN583HlfQkXvxLqHAGY8WSEVlTnuG/x75wolBDbVzeTlxWxgxhafj7P6Ncdv25Wz9wvc6ko/puww0b3rcLNqK+XCNJlsM/7lB8Q26iK5mRZzNsGeGwGTyzNIMBekGYQ5MRdIcPv5dBIP/1M6fQDEsAXQ== for user root is set to be added Started: 16:09:12.909103 Duration: 1.293 ms Changes: ---------- ID: /bin/cheeseandbiscuits Function: file.symlink Result: None Comment: Symlink /bin/cheeseandbiscuits to /bin/sh is set for creation Started: 16:09:12.910528 Duration: 0.817 ms Changes: ---------- new: /bin/cheeseandbiscuits ---------- ID: /etc/testfile Function: file.managed Result: None Comment: The file /etc/testfile is set to be changed Started: 16:09:12.911470 Duration: 22.472 ms Changes: ---------- newfile: /etc/testfile ---------- ID: /cheese/spam/bacon Function: file.directory Result: None Comment: The following files will be changed: /cheese/spam/bacon: directory - new Started: 16:09:12.934165 Duration: 0.768 ms Changes: ---------- /cheese/spam/bacon: ---------- directory: new ---------- ID: /etc/resolv.conf Function: file.append Result: None Comment: File /etc/resolv.conf is set to be updated Started: 16:09:12.935059 Duration: 2.801 ms Changes: ---------- diff: --- +++ @@ -2,3 +2,4 @@ # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN nameserver 172.31.0.2 search us-west-2.compute.internal +# test append ---------- ID: eggs.spam Function: host.present Result: None Comment: Host eggs.spam (192.168.42.42) needs to be added/updated Started: 16:09:12.938306 Duration: 0.498 ms Changes: ---------- ID: psmisc Function: pkg.installed Result: True Comment: All specified packages are already installed Started: 16:09:12.938929 Duration: 18.145 ms Changes: ---------- ID: python-pkgs Function: pkg.installed Name: python-mako Result: True Comment: All specified packages are already installed Started: 16:09:12.957225 Duration: 19.352 ms Changes: ---------- ID: python-pkgs Function: pkg.installed Name: python-twisted Result: None Comment: The following packages would be installed/updated: python-twisted Started: 16:09:12.976741 Duration: 26.23 ms Changes: ---------- ID: python-pkgs Function: pkg.installed Name: python-twill Result: None Comment: The following packages would be installed/updated: python-twill Started: 16:09:13.003141 Duration: 26.4 ms Changes: ---------- ID: python-pkgs Function: pkg.installed Name: python-typepad Result: None Comment: The following packages would be installed/updated: python-typepad Started: 16:09:13.029712 Duration: 26.664 ms Changes: ---------- ID: ldap Function: pkg.installed Name: openldap-servers Result: None Comment: The following packages would be installed/updated: openldap-servers Started: 16:09:13.056553 Duration: 26.854 ms Changes: ---------- ID: ldap Function: pkg.installed Name: openldap-clients Result: None Comment: The following packages would be installed/updated: openldap-clients Started: 16:09:13.083577 Duration: 26.608 ms Changes: ---------- ID: ldap Function: file.managed Name: /etc/ldap/ldap.conf Result: None Comment: The file /etc/ldap/ldap.conf is set to be changed Started: 16:09:13.111156 Duration: 23.608 ms Changes: ---------- diff: --- +++ @@ -11,7 +11,6 @@ #SIZELIMIT 12 #TIMELIMIT 15 #DEREF never - -# TLS certificates (needed for GnuTLS) -TLS_CACERT /etc/ssl/certs/ca-certificates.crt - +# +ldaps://ldap01.domain.com/ ldaps://p-chi-ldap02.domain.com/ +dc=domain,dc=com ---------- ID: sedfile Function: file.sed Name: /etc/testfile Result: False Comment: State 'file.sed' was not found in SLS 'files' Reason: 'file.sed' is not available. Changes: ---------- ID: /etc/test-file3 Function: file.managed Result: False Comment: One or more requisite failed: files.sedfile Started: 16:09:13.853983 Duration: 0.011 ms Changes: ---------- ID: wp512 Function: kmod.present Result: None Comment: Kernel module wp512 is set to be loaded Started: 16:09:13.854065 Duration: 14.969 ms Changes: ---------- ID: vm.swappiness Function: sysctl.present Result: None Comment: Sysctl option vm.swappiness might be changed, we failed to check config file at /etc/sysctl.d/99-salt.conf. The file is either unreadable, or missing. Started: 16:09:13.869252 Duration: 20.476 ms Changes: Summary for apidev.rxmg.network ------------- Succeeded: 35 (unchanged=30, changed=10) Failed: 6 ------------- Total states run: 41 Total run time: 1.074 s ERROR: Minions returned with non-zero exit code