Skip to content

Instantly share code, notes, and snippets.

@kylegato
Created April 18, 2014 16:50
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 kylegato/3a852656fa217670b71f to your computer and use it in GitHub Desktop.
Save kylegato/3a852656fa217670b71f to your computer and use it in GitHub Desktop.
[root@salt /usr/local/etc/salt/states]# salt 'cron.la.*' state.sls openldap-client -t 360 -v test=True
Executing job with jid 20140418095008491790
-------------------------------------------
cron.la:
Data failed to compile:
----------
No matching sls found for 'openldap-client' in env 'base'
[root@salt /usr/local/etc/salt/states]# salt 'bd0.br0.*' state.sls openldap-client -t 360 -v test=True
Executing job with jid 20140418095020351765
-------------------------------------------
bd0.br0.la:
----------
State: - file
Name: /etc/nsswitch.conf
Function: managed
Result: None
Comment: The following values are set to be changed:
diff: ---
+++
@@ -1,6 +1,6 @@
#
# nsswitch.conf(5) - name service switch configuration file
-# $FreeBSD: release/10.0.0/etc/nsswitch.conf 224765 2011-08-10 20:52:02Z dougb $
+# $FreeBSD: release/9.1.0/etc/nsswitch.conf 224765 2011-08-10 20:52:02Z dougb $
#
group: files cache ldap
group_compat: nis
Changes:
Summary
------------
Succeeded: 0
Failed: 0
Not Run: 1
------------
Total: 1
[root@salt /usr/local/etc/salt/states]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment