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
| # This script allows Powershell Session Users to access services remotely | |
| # Get Powershell Session Users SID | |
| $objUser = New-Object System.Security.Principal.NTAccount("Powershell Session Users") | |
| $strSID = $objUser.Translate([System.Security.Principal.SecurityIdentifier]) | |
| # Get Current ACL for scmanager | |
| $strOldACL = sc.exe sdshow scmanager | Out-String | |
| # Find the ACL for interactive users |
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
| class Chef::Recipe::ShibbolethIdP | |
| def self.get_keystore_password(node) | |
| begin | |
| if Chef::Config[:solo] | |
| begin | |
| shibboleth_idp_data_bag = Chef::DataBagItem.load("shibboleth","idp")['local'] | |
| keystore_password = shibboleth_idp_data_bag['keystore_password'] | |
| rescue |
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
| ROBOCOPY %WORKSPACE%\project \\server\share$\project /S /E /COPY:DAT /PURGE /MIR /R:1000000 /W:30 | |
| IF ERRORLEVEL 8 GOTO sub_fail | |
| IF ERRORLEVEL 4 GOTO sub_housekeeping | |
| IF ERRORLEVEL 1 GOTO sub_ok | |
| GOTO :eof | |
| :sub_fail | |
| ECHO Something failed | |
| GOTO :eof |
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
| ## | |
| # Host Database | |
| # | |
| # localhost is used to configure the loopback interface | |
| # when the system is booting. Do not change this entry. | |
| ## | |
| 127.0.0.1 localhost | |
| 255.255.255.255 broadcasthost | |
| ::1 localhost | |
| fe80::1%lo0 localhost |
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
| [2013-01-04T17:13:25+00:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: ark[mysql-connector-java] (/tmp/vagrant-chef-1/chef-solo-1/cookbooks/mysql_connector/providers/j.rb line 21) had an error: Mixlib::ShellOut::ShellCommandFailed: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/mixlib-shellout-1.1.0/lib/mixlib/shellout.rb:248:in `invalid!': Expected process to exit with [0], but received '2' | |
| ---- Begin output of tar -xzf '/tmp/vagrant-chef-1/mysql-connector-java.tar.gz' -C '/usr/share/tomcat6/lib' mysql-connector-java-5.1.21-bin.jar; ---- | |
| STDOUT: | |
| STDERR: tar: mysql-connector-java-5.1.21-bin.jar: Not found in archive | |
| tar: Exiting with failure status due to previous errors | |
| ---- End output of tar -xzf '/tmp/vagrant-chef-1/mysql-connector-java.tar.gz' -C '/usr/share/tomcat6/lib' mysql-connector-java-5.1.21-bin.jar; ---- | |
| Ran tar -xzf '/tmp/vagrant-chef-1/mysql-connector-java.tar.gz' -C '/usr/share/tomcat6/lib' mysql-connector-java-5.1.21-bin.jar; returned 2 |
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
| input { | |
| tcp { | |
| type => "iis_advanced_full" | |
| port => 3333 | |
| } | |
| } | |
| filter { | |
| grok { | |
| type => "iis_advanced_full" |
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
| # | |
| # Cookbook Name:: fw1 | |
| # Recipe:: default | |
| # | |
| # Copyright 2012, Courtney Wilburn, John Piotrowski | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # |
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
| # | |
| # Cookbook Name:: mura | |
| # Recipe:: default | |
| # | |
| # Copyright 2012, Nathan Mische | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # |
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
| # | |
| # Cookbook Name:: coldfusion902 | |
| # Providers:: config | |
| # | |
| # Copyright 2012, Nathan Mische | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # |
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
| # irule_select_pool_member | |
| # | |
| # v1.0 - 7 June 2012 - nmische | |
| # Rewritten from v0.2 at: https://devcentral.f5.com/wiki/irules.Select_pool_member_based_on_HTTP_query_string_parameter.ashx | |
| # | |
| # Purpose: | |
| # Allows wharton wired clients to select a pool member based on a parameter set in the HTTP query string. | |
| # | |
| # Notes: | |
| # Only works with pools with up to 9 members. Uses event command to disable all events so may not be safe to use with other iRules. |